Template:Location: Difference between revisions
Template page
More actions
→Brief syntax description: off topic and instruction creep, common sense is enough |
default to landmark scale. later redefinition overrides & move of microformat from Template:Coor dms |
||
| Line 13: | Line 13: | ||
! style="background: #ccccff; text-align: right; vertical-align: middle;" width="15%"|Location | ! style="background: #ccccff; text-align: right; vertical-align: middle;" width="15%"|Location | ||
| | | | ||
{{coor_dms|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8}}}|{{{9}}}}} (Map) | {{coor_dms|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8}}}|type:landmark_{{{9}}}}} (Map) <span class="geo" style="display: none">{{ #ifeq:{{{4}}}|S|-|}}{{ #ifeq:{{{4}}}|s|-|}}{{#expr: {{{1|0}}} + {{{2|0}}}/60.0 + {{{3|0}}}/3600.0 }};{{ #ifeq:{{{8}}}|W|-|}}{{ #ifeq:{{{8}}}|w|-|}}{{#expr: {{{5|0}}} + {{{6|0}}}/60.0 + {{{7|0}}}/3600.0 }}</span> | ||
|}<includeonly>[[Category:Media with locations]]</includeonly><noinclude> | |}<includeonly>[[Category:Media with locations]]</includeonly><noinclude> | ||
==Brief syntax description == | ==Brief syntax description == | ||
Revision as of 12:10, 25 June 2007
| Location |
Template:Coor dms (Map) |
|---|
Brief syntax description
| Syntax | {{Location|Degree|Minute|Second|Latitude|Degree|Minute|Second|Longitude|Information attributes}} |
| Example | {{Location|52|09|03.70|N|9|57|02.79|E|type:landmark_region:DE-NI_scale:5000}} |
This template will also output a Geo microformat.