Template:Coord: Difference between revisions
Jump to navigation
Jump to search
imported>Quarl («"coor" → "coord"») |
imported>Quarl (rm named geohack parameters) |
||
Line 4: | Line 4: | ||
|dms-long={{{dms-long|{{coor dec2dms|{{{2}}}|E|W|{{coor/prec dec|{{{1}}}|{{{2}}}}}}}}}} | |dms-long={{{dms-long|{{coor dec2dms|{{{2}}}|E|W|{{coor/prec dec|{{{1}}}|{{{2}}}}}}}}}} | ||
|dec-lat={{{1}}}|dec-long={{{2}}} | |dec-lat={{{1}}}|dec-long={{{2}}} | ||
|param={{{1}}}_N_{{{2}}}_E_ | |param={{{1}}}_N_{{{2}}}_E_{{{3|}}} | ||
}} | }} | ||
|{{#if:{{#switch:{{{4}}}{{{8}}}|NE|NW|SE|SW=y}} | |{{#if:{{#switch:{{{4}}}{{{8}}}|NE|NW|SE|SW=y}} | ||
Line 19: | Line 13: | ||
|dec-lat={{coor dms2dec|{{{4}}}|{{{1}}}|{{{2}}}|{{{3}}}}} | |dec-lat={{coor dms2dec|{{{4}}}|{{{1}}}|{{{2}}}|{{{3}}}}} | ||
|dec-long={{coor dms2dec|{{{8}}}|{{{5}}}|{{{6}}}|{{{7}}}}} | |dec-long={{coor dms2dec|{{{8}}}|{{{5}}}|{{{6}}}|{{{7}}}}} | ||
|param={{{1}}}_{{{2}}}_{{{3}}}_{{{4}}}_{{{5}}}_{{{6}}}_{{{7}}}_{{{8}}}_ | |param={{{1}}}_{{{2}}}_{{{3}}}_{{{4}}}_{{{5}}}_{{{6}}}_{{{7}}}_{{{8}}}_{{{9|}}} | ||
}} | }} | ||
|{{#if:{{#switch:{{{3}}}{{{6}}}|NE|NW|SE|SW=y}} | |{{#if:{{#switch:{{{3}}}{{{6}}}|NE|NW|SE|SW=y}} | ||
Line 34: | Line 22: | ||
|dec-lat={{coor dms2dec|{{{3}}}|{{{1}}}|{{{2}}}}} | |dec-lat={{coor dms2dec|{{{3}}}|{{{1}}}|{{{2}}}}} | ||
|dec-long={{coor dms2dec|{{{6}}}|{{{4}}}|{{{5}}}}} | |dec-long={{coor dms2dec|{{{6}}}|{{{4}}}|{{{5}}}}} | ||
|param={{{1}}}_{{{2}}}_{{{3}}}_{{{4}}}_{{{5}}}_{{{6}}}_ | |param={{{1}}}_{{{2}}}_{{{3}}}_{{{4}}}_{{{5}}}_{{{6}}}_{{{7|}}} | ||
}} | }} | ||
|{{#if:{{#switch:{{{2}}}{{{4}}}|NE|NW|SE|SW=y}} | |{{#if:{{#switch:{{{2}}}{{{4}}}|NE|NW|SE|SW=y}} | ||
Line 49: | Line 31: | ||
|dec-lat={{coor dms2dec|{{{2}}}|{{{1}}}}} | |dec-lat={{coor dms2dec|{{{2}}}|{{{1}}}}} | ||
|dec-long={{coor dms2dec|{{{4}}}|{{{3}}}}} | |dec-long={{coor dms2dec|{{{4}}}|{{{3}}}}} | ||
|param={{{1}}}_{{{2}}}_{{{3}}}_{{{4}}}_ | |param={{{1}}}_{{{2}}}_{{{3}}}_{{{4}}}_{{{5|}}} | ||
}} | }} | ||
|ERROR in {{coord}} invocation | |ERROR in {{coord}} invocation | ||
}} }} }} }}</includeonly><noinclude>{{template doc}}</noinclude> | }} }} }} }}</includeonly><noinclude>{{template doc}}</noinclude> |