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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(correction)
imported>WOSlinker
(fix code tag)
 
Line 15: Line 15:
 
* {{para|background}} background of label (default: <code>none</code>)
 
* {{para|background}} background of label (default: <code>none</code>)
 
* {{para|position}} position of label
 
* {{para|position}} position of label
** for latitude (horizontal line): <code>top-left</code>, <code>top-center</code>, <code>top-right</code> (default)</code>, <code>bottom-left</code>, <code>bottom-center</code>, <code>bottom-right</code>
+
** for latitude (horizontal line): <code>top-left</code>, <code>top-center</code>, <code>top-right</code> (default), <code>bottom-left</code>, <code>bottom-center</code>, <code>bottom-right</code>
** for longitude (vertical line): <code>top-left</code>, <code>top-right</code>, <code>center-left</code>, <code>center-right</code> (default)</code>, <code>bottom-left</code>, <code>bottom-right</code>
+
** for longitude (vertical line): <code>top-left</code>, <code>top-right</code>, <code>center-left</code>, <code>center-right</code> (default), <code>bottom-left</code>, <code>bottom-right</code>
  
 
== Supporting templates ==
 
== Supporting templates ==

Latest revision as of 12:08, 27 August 2019

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