Template:Coord: Difference between revisions

Jump to navigation Jump to search
imported>Plastikspork
(Per edit request)
imported>PrimeHunter
(Undid revision 361148908 by Plastikspork. Currently major format errors in many articles using Template:Geobox, reverting to test whether it fixes the problem)
Line 1: Line 1:
<includeonly>{{Coord/display/{{{display|inline}}}|{{Coord/input/{{#ifeq:{{{1|}}}||nolat|{{#ifeq:{{{4|}}}{{{5|}}}{{{6|}}}||dec|{{#if:{{#switch:{{{4}}}{{{8}}}|NE|NW|SE|SW=y}}|dms|{{#if:{{#switch:{{{3}}}{{{6}}}|NE|NW|SE|SW=y}}|dm|{{#if:{{#switch:{{{2}}}{{{4}}}|NE|NW|SE|SW=y}}|d|ERROR}}}}}}}}}}
<includeonly>{{Coord/display/{{{display|inline}}}|1={{Coord/input/{{#ifeq:{{{4|}}}||dec|{{#if:{{#switch:{{{4}}}{{{8}}}|NE|NW|SE|SW=y}}|dms|{{#if:{{#switch:{{{3}}}{{{6}}}|NE|NW|SE|SW=y}}|dm|{{#if:{{#switch:{{{2}}}{{{4}}}|NE|NW|SE|SW=y}}|d|ERROR}}}}}}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}|7={{{7|}}}|8={{{8|}}}|9={{{9|}}}|10={{{10|}}}|format={{{format|}}}|name={{{name|}}}}}{{{notes|}}}}}<!--  
|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}
-->{{#ifeq:{{{dim|XYZ}}}|XYZ||{{Coord/input/error2|msg=dim= should be dim:|sort_ch=D}}}}<!--  
|format={{{format|}}}
-->{{#ifeq:{{{globe|XYZ}}}|XYZ||{{Coord/input/error2|msg=globe= should be globe:|sort_ch=G}}}}<!--  
|name={{{name|}}}}}{{{notes|}}}}}<!--
-->{{#ifeq:{{{region|XYZ}}}|XYZ||{{Coord/input/error2|msg=region= should be region:|sort_ch=R}}}}<!--  
-->{{#ifeq:{{{dim|μ}}}|μ||{{Coord/input/error2|msg=dim= should be dim:|sort_ch=D}}}}<!--
-->{{#ifeq:{{{scale|XYZ}}}|XYZ||{{Coord/input/error2|msg=scale= should be scale:|sort_ch=S}}}}<!--  
-->{{#ifeq:{{{globe|μ}}}|μ||{{Coord/input/error2|msg=globe= should be globe:|sort_ch=G}}}}<!--
-->{{#ifeq:{{{source|XYZ}}}|XYZ||{{Coord/input/error2|msg=source= should be source:|sort_ch=s}}}}<!--  
-->{{#ifeq:{{{region|μ}}}|μ||{{Coord/input/error2|msg=region= should be region:|sort_ch=R}}}}<!--
-->{{#ifeq:{{{type|XYZ}}}|XYZ||{{Coord/input/error2|msg=type= should be type:|sort_ch=T}}}}<!--  
-->{{#ifeq:{{{scale|μ}}}|μ||{{Coord/input/error2|msg=scale= should be scale:|sort_ch=S}}}}<!--
--></includeonly><noinclude>{{Documentation}}</noinclude>
-->{{#ifeq:{{{source|μ}}}|μ||{{Coord/input/error2|msg=source= should be source:|sort_ch=s}}}}<!--
-->{{#ifeq:{{{type|μ}}}|μ||{{Coord/input/error2|msg=type= should be type:|sort_ch=T}}}}<!--
--></includeonly><noinclude>
{{Documentation}}
</noinclude>

Revision as of 23:11, 9 May 2010