Jump to content

Template:Location map-line/draw line/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

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

Parameters

[edit]
  • |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

[edit]