Difference between revisions of "Template:Coord"

From Self-sufficiency
Jump to: navigation, search
(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}}}|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|}}}}}<!--
+
{|class="usermessage"
-->{{#ifeq:{{{dim|XYZ}}}|XYZ||{{Coord/input/error2|msg=dim= should be dim:|sort_ch=D}}}}<!--
+
|-
-->{{#ifeq:{{{globe|XYZ}}}|XYZ||{{Coord/input/error2|msg=globe= should be globe:|sort_ch=G}}}}<!--
+
|{{tl|Coord}} is replaced on Commons, to encourage use of the {{t|Location}} templates. Please use instead:
-->{{#ifeq:{{{region|XYZ}}}|XYZ||{{Coord/input/error2|msg=region= should be region:|sort_ch=R}}}}<!--
+
*For coordinates of the camera's location: {{t|Location}} or {{t|Location dec}}
-->{{#ifeq:{{{scale|XYZ}}}|XYZ||{{Coord/input/error2|msg=scale= should be scale:|sort_ch=S}}}}<!--
+
*For coordinates of the object: {{t|Object location}} or {{t|Object location dec}}
-->{{#ifeq:{{{source|XYZ}}}|XYZ||{{Coord/input/error2|msg=source= should be source:|sort_ch=s}}}}<!--
+
*For the '''rare occasions''' where inline coordinates are preferable, a clone of Coord is available at: {{t|inline coordinates}}
-->{{#ifeq:{{{type|XYZ}}}|XYZ||{{Coord/input/error2|msg=type= should be type:|sort_ch=T}}}}<!--
+
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.'''
--></includeonly><noinclude>{{Documentation}}</noinclude>
+
|}<includeonly>{{#switch:{{NAMESPACE}}|Category|File|Main=[[Category:Media with erroneous locations]]}}</includeonly>
 +
<noinclude>
 +
[[Category:Geocoding templates]]
 +
[[Category:Deprecated templates]]
 +
</noinclude>

Revision as of 05:06, 24 May 2010

{{Coord}} is replaced on Commons, to encourage use of the {{Location}} templates. Please use instead:

Camera location is preferred. Avoid using {{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.