Difference between revisions of "Template:Coord/input/dec"

From FamilyTree
Jump to navigation Jump to search
(Created page with "<includeonly>{{#ifeq:{{{2}}}||{{Coord/input/error2|msg=missing longitude (dec format)|sort_ch=#}}|{{Coord/link |dec-lat={{{1}}} |dec-long={{{2}}} |dms-lat={{coord/dec2dms|{...")
 
 
Line 1: Line 1:
&lt;includeonly&gt;{{#ifeq:{{{2}}}||{{Coord/input/error2|msg=missing longitude (dec format)|sort_ch=#}}|{{Coord/link
+
<includeonly>{{#ifeq:{{{2}}}||{{Coord/input/error2|msg=missing longitude (dec format)|sort_ch=#}}|{{Coord/link
 
|dec-lat={{{1}}}
 
|dec-lat={{{1}}}
 
|dec-long={{{2}}}
 
|dec-long={{{2}}}
Line 6: Line 6:
 
|param={{{1}}}_N_{{{2}}}_E_{{{3}}}
 
|param={{{1}}}_N_{{{2}}}_E_{{{3}}}
 
|default={{#if:{{{format|}}}|{{{format}}}|dec}}
 
|default={{#if:{{{format|}}}|{{{format}}}|dec}}
|name={{{name|}}}}}&lt;!--  
+
|name={{{name|}}}}}<!--  
--&gt;{{#ifexpr:0{{{1}}}&gt;90|{{Coord/input/error2|msg=latd&gt;90 (dec format)|sort_ch=&gt;}}}}&lt;!--  
+
-->{{#ifexpr:0{{{1}}}>90|{{Coord/input/error2|msg=latd>90 (dec format)|sort_ch=>}}}}<!--  
--&gt;{{#ifexpr:0{{{1}}}&lt;-90|{{Coord/input/error2|msg=latd&lt;-90 (dec format)|sort_ch=&lt;}}}}&lt;!--  
+
-->{{#ifexpr:0{{{1}}}<-90|{{Coord/input/error2|msg=latd<-90 (dec format)|sort_ch=<}}}}<!--  
--&gt;{{#ifexpr:0{{{2}}}&lt;360||{{Coord/input/error2|msg=longd&gt;=360 (dec format)|sort_ch=&gt;}}}}&lt;!--  
+
-->{{#ifexpr:0{{{2}}}<360||{{Coord/input/error2|msg=longd>=360 (dec format)|sort_ch=>}}}}<!--  
--&gt;{{#ifexpr:0{{{2}}}&gt;-360||{{Coord/input/error2|msg=longd&lt;=-360 (dec format)|sort_ch=&lt;}}}}&lt;!--  
+
-->{{#ifexpr:0{{{2}}}>-360||{{Coord/input/error2|msg=longd<=-360 (dec format)|sort_ch=<}}}}<!--  
--&gt;}}&lt;!--
+
-->}}<!--
--&gt;&lt;/includeonly&gt;&lt;noinclude&gt;
+
--></includeonly><noinclude>
 
{{documentation|Template:Coord/sub doc}}
 
{{documentation|Template:Coord/sub doc}}
 
[[Category:Coord template]]
 
[[Category:Coord template]]
&lt;/noinclude&gt;
+
</noinclude>

Latest revision as of 16:02, 10 October 2010

[create] 50px Template documentation