Jump to content

Template:Coord/doc: Difference between revisions

m
Text replacement - "|" to "|"
m (Text replacement - "|" to "|")
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:
Latitude and longitude may be specified (with appropriate precision) either in decimal notation or as degrees/minutes/seconds. By default, coordinates appear in the format used to specify them. However, the <code>format=</code> parameter can be used to force display in a particular format.  
Latitude and longitude may be specified (with appropriate precision) either in decimal notation or as degrees/minutes/seconds. By default, coordinates appear in the format used to specify them. However, the <code>format=</code> parameter can be used to force display in a particular format.  


The template displays the formatted coordinates with a {{Wpd|Hyperlink}} to <!--[[Tswiki:GeoHack|GeoHack]] -->[http://wiki.toolserver.org/view/GeoHack GeoHack]. GeoHack displays information customized to the location, including links to external mapping services. <!-- NOT IMPLEMENTED -- For {{Wpd|Terrestrial}} locations, a blue globe ([[Image:Erioll world.svg|18px]]) appears to the left of the hyperlink. Clicking on the globe activates the [[:meta:WikiMiniAtlas|WikiMiniAtlas]] (requires {{Wpd|JavaScript}}).  
The template displays the formatted coordinates with a {{Wpd|Hyperlink}} to <!--[[Tswiki:GeoHack|GeoHack]] -->[http://wiki.toolserver.org/view/GeoHack GeoHack]. GeoHack displays information customized to the location, including links to external mapping services. <!-- NOT IMPLEMENTED -- For {{Wpd|Terrestrial}} locations, a blue globe ([[Image:Erioll world.png|18px]]) appears to the left of the hyperlink. Clicking on the globe activates the [[:meta:WikiMiniAtlas|WikiMiniAtlas]] (requires {{Wpd|JavaScript}}).  
-->By default, coordinates appear "in line" with the adjacent text. However, the <code>display=</code> parameter can be used to move the coordinates up near the page title—or display them in both places at once.  
-->By default, coordinates appear "in line" with the adjacent text. However, the <code>display=</code> parameter can be used to move the coordinates up near the page title—or display them in both places at once.  


Line 44: Line 44:
{| class="wikitable FCK__ShowTableBorders"
{| class="wikitable FCK__ShowTableBorders"
|-
|-
| {{coord&#124;10.2&#124;N&#124;-20.3&#124;E&#124;'''type:'''city}}  
| {{coord|10.2|N|-20.3|E|'''type:'''city}}  
| Replaces {{coor d&#124;10.2&#124;N&#124;-20.3&#124;E&#124;city}}
| Replaces {{coor d|10.2|N|-20.3|E|city}}
|-
|-
| {{coord&#124;44.4&#124;-111.1&#124;'''type:city_region:US'''&#124;display=inline,title}}  
| {{coord|44.4|-111.1|'''type:city_region:US'''|display=inline,title}}  
| Replaces {{Geolinks-'''US-cityscale'''&#124;44.4&#124;-111.1}}
| Replaces {{Geolinks-'''US-cityscale'''|44.4|-111.1}}
|-
|-
| {{coord&#124;51.01234&#124;-1.56789&#124;'''type:landmark_region:GB'''&#124;display=inline,title}}  
| {{coord|51.01234|-1.56789|'''type:landmark_region:GB'''|display=inline,title}}  
| Replaces {{Geolinks-'''UK-buildingscale'''&#124;51.01234&#124;-1.56789}}
| Replaces {{Geolinks-'''UK-buildingscale'''|51.01234|-1.56789}}
|-
|-
| {{coord&#124;-35.5&#124;150.1&#124;'''type:landmark_region:AU'''&#124;display=inline,title}}  
| {{coord|-35.5|150.1|'''type:landmark_region:AU'''|display=inline,title}}  
| Replaces {{Mapit-'''AUS-suburbscale'''&#124;lat=-35.5&#124;long=150.1}}
| Replaces {{Mapit-'''AUS-suburbscale'''|lat=-35.5|long=150.1}}
|-
|-
| {{coord&#124;12&#124;34&#124;12&#124;N&#124;45&#124;33&#124;45&#124;W&#124;'''display=title'''}}  
| {{coord|12|34|12|N|45|33|45|W|'''display=title'''}}  
| Replaces {{'''CoorHeader'''&#124;12&#124;34&#124;12&#124;N&#124;45&#124;33&#124;45&#124;W}}
| Replaces {{'''CoorHeader'''|12|34|12|N|45|33|45|W}}
|}
|}
-->
-->
Approver, Batcheditor, Moderator, Patroller, Protector, Reviewer, Bots, Bureaucrats, editor, Interface administrators, pagecreator, pagedeleter, Page Ownership admin, Push subscription managers, smwadministrator, smwcurator, smweditor, Suppressors, Administrators, Upload Wizard campaign editors, Widget editors
795,753

edits