Difference between revisions of "Template:Coordinate/dms"
Jump to navigation
Jump to search
Template documentation
imported>Plastikspork (update) |
imported>Plastikspork (test) |
||
| Line 1: | Line 1: | ||
{{{{{|safesubst:}}}#switch:{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|4}} | {{{{{|safesubst:}}}#switch:{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|4}} | ||
| − | |N|n|S|s = | + | |N|n|S|s = <!-- latd -->{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|1}} {{{{{|safesubst:}}}!}} <!-- latm -->{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|2}} {{{{{|safesubst:}}}!}} <!-- lats -->{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|3}} {{{{{|safesubst:}}}!}} <!-- latNS -->{{{{{|safesubst:}}}uc:{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|4}}}} |
| − | |E|e|W|w = | + | |E|e|W|w = <!-- longd -->{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|1}} {{{{{|safesubst:}}}!}} <!-- longm -->{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|2}} {{{{{|safesubst:}}}!}} <!-- longs -->{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|3}} {{{{{|safesubst:}}}!}} <!-- longEW -->{{{{{|safesubst:}}}uc:{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|4}}}} |
|#default{{{{{|safesubst:}}}#switch:{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|3}} | |#default{{{{{|safesubst:}}}#switch:{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|3}} | ||
| − | |N|n|S|s = | + | |N|n|S|s = <!-- latd -->{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|1}} {{{{{|safesubst:}}}!}} <!-- latm -->{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|2}} {{{{{|safesubst:}}}!}} <!-- latNS -->{{{{{|safesubst:}}}uc:{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|3}}}} |
| − | |E|e|W|w = | + | |E|e|W|w = <!-- longd -->{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|1}} {{{{{|safesubst:}}}!}} <!-- longm -->{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|2}} {{{{{|safesubst:}}}!}} <!-- longEW -->{{{{{|safesubst:}}}uc:{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|3}}}} |
|#default{{{{{|safesubst:}}}#switch:{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|2}} | |#default{{{{{|safesubst:}}}#switch:{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|2}} | ||
| − | |N|n|S|s = | + | |N|n|S|s = <!-- latd -->{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|1}} {{{{{|safesubst:}}}!}} <!-- latNS -->{{{{{|safesubst:}}}uc:{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|2}}}} |
| − | |E|e|W|w = | + | |E|e|W|w = <!-- longd -->{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|1}} {{{{{|safesubst:}}}!}} <!-- longEW -->{{{{{|safesubst:}}}uc:{{{{{|safesubst:}}}#titleparts:{{{1|}}}|1|2}}}} |
|#default{{{{{|safesubst:}}}#if:{{{1|}}} | |#default{{{{{|safesubst:}}}#if:{{{1|}}} | ||
|{{{{{|safesubst:}}}#iferror: {{{{{|safesubst:}}}#expr: {{{{{|safesubst:}}}#if:1|{{{1}}}}}0 + 1 }} | |{{{{{|safesubst:}}}#iferror: {{{{{|safesubst:}}}#expr: {{{{{|safesubst:}}}#if:1|{{{1}}}}}0 + 1 }} | ||
Revision as of 02:24, 2 January 2011
- default
- default
- default
Usage
{{Coordinate/dms| 20.30 }}→
- default
- default
- default
- default 20.30
{{Coordinate/dms| 20.30 |type=latitude}}→
- default
- default
- default20.30
{{Coordinate/dms| 20.30 |type=longitude}}→
- default
- default
- default
- default 20.30
{{Coordinate/dms| 20/30/10/N }}→ 20 | 30 | 10 | N{{Coordinate/dms| 20/30/10/E }}→ 20 | 30 | 10 | E{{Coordinate/dms| 20/30/10/S }}→ 20 | 30 | 10 | S{{Coordinate/dms| 20/30/10/W }}→ 20 | 30 | 10 | W{{Coordinate/dms| 20/30.1//N }}→ 20 | 30.1 | | N{{Coordinate/dms| 20/30.1//E }}→ 20 | 30.1 | | E{{Coordinate/dms| 20/30.1//S }}→ 20 | 30.1 | | S{{Coordinate/dms| 20/30.1//W }}→ 20 | 30.1 | | W{{Coordinate/dms| 20/30.1/N }}→
- default20 | 30.1 | N
{{Coordinate/dms| 20/30.1/E }}→
- default20 | 30.1 | E
{{Coordinate/dms| 20/30.1/S }}→
- default20 | 30.1 | S
{{Coordinate/dms| 20/30.1/W }}→
- default20 | 30.1 | W
{{Coordinate/dms| 20///N }}→ 20 | | | N{{Coordinate/dms| 20///E }}→ 20 | | | E{{Coordinate/dms| 20///S }}→ 20 | | | S{{Coordinate/dms| 20///W }}→ 20 | | | W{{Coordinate/dms| 20/N }}→
- default
- default20 | N
{{Coordinate/dms| 20/E }}→
- default
- default20 | E
{{Coordinate/dms| 20/S }}→
- default
- default20 | S
{{Coordinate/dms| 20/W }}→
- default
- default20 | W
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |