Difference between revisions of "Template:Location map-line/draw line"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(removed categories (parent already categorized))
imported>Zyxw
(move documentation to external /doc so it can be updated without editing template)
 
Line 16: Line 16:
 
</div></includeonly>
 
</div></includeonly>
 
<noinclude>
 
<noinclude>
{{Documentation |content=This template is used by {{tl|Location map-line}} to draw vertical and horizontal lines.}}
+
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 03:29, 29 November 2018


Template documentation[view] [edit] [history] [purge]

Usage

This template is used by {{Location map-line}} to draw a latitude (horizontal) or longitude (vertical) line.

Parameters

  • |1= name of map template (default: Earth)
  • |lat=, |lat_deg=, |lat_min=, |lat_sec=, |lat_dir= latitude of line displayed over map
  • |long=, |lon=, |lon_deg=, |lon_min=, |lon_sec=, |lon_dir= longitude of line displayed over map
  • |line_color= color of line displayed over map (default: red)
  • |line_style= style of line displayed over map (default: 1px solid)
  • |label= text displayed next to line
  • |label_size= size of label, e.g. 90, not 90% (default: 88)
  • |color= color of label (default: black)
  • |background= background of label (default: none)
  • |position= position of label
    • for latitude (horizontal line): top-left, top-center, top-right (default), bottom-left, bottom-center, bottom-right
    • for longitude (vertical line): top-left, top-right, center-left, center-right (default), bottom-left, bottom-right

Supporting templates