Difference between revisions of "Template:Coord"

From Self-sufficiency
Jump to: navigation, search
m (1 revision)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|class="usermessage"
+
<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|}}}}}<!--
|-
+
-->{{#ifeq:{{{dim|XYZ}}}|XYZ||{{Coord/input/error2|msg=dim= should be dim:|sort_ch=D}}}}<!--
|{{tl|Coord}} is replaced on Commons, to encourage use of the {{t|Location}} templates. Please use instead:
+
-->{{#ifeq:{{{globe|XYZ}}}|XYZ||{{Coord/input/error2|msg=globe= should be globe:|sort_ch=G}}}}<!--
*For coordinates of the camera's location: {{t|Location}} or {{t|Location dec}}
+
-->{{#ifeq:{{{region|XYZ}}}|XYZ||{{Coord/input/error2|msg=region= should be region:|sort_ch=R}}}}<!--
*For coordinates of the object: {{t|Object location}} or {{t|Object location dec}}
+
-->{{#ifeq:{{{scale|XYZ}}}|XYZ||{{Coord/input/error2|msg=scale= should be scale:|sort_ch=S}}}}<!--
*For the '''rare occasions''' where inline coordinates are preferable, a clone of Coord is available at: {{t|inline coordinates}}
+
-->{{#ifeq:{{{source|XYZ}}}|XYZ||{{Coord/input/error2|msg=source= should be source:|sort_ch=s}}}}<!--
Camera location is preferred. '''Avoid using {{t|inline coordinates}} to identify camera locations. As a general rule, only use it for object locations when there are many objects to note, or the object is relatively unimportant to the image.'''
+
-->{{#ifeq:{{{type|XYZ}}}|XYZ||{{Coord/input/error2|msg=type= should be type:|sort_ch=T}}}}<!--
|}<includeonly>{{#switch:{{NAMESPACE}}|Category|File|Main=[[Category:Media with erroneous locations]]}}</includeonly>
+
--></includeonly><noinclude>{{Documentation}}</noinclude>
<noinclude>
+
[[Category:Geocoding templates]]
+
[[Category:Deprecated templates]]
+
</noinclude>
+

Latest revision as of 20:03, 1 July 2010