Jump to content

Template:Coord: Difference between revisions

Coordinates: 52°28′N 1°55′W / 52.467°N 1.917°W / 52.467; -1.917[1]
Permanently protected template
From Wikipedia, the free encyclopedia
Content deleted Content added
imported error reporting fixes by Stepheng3 from sandbox
m Changed protection settings for "Template:Coord": Only purpose is to call fully-protected module ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))
 
(30 intermediate revisions by 18 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Coordinates|coord}}</includeonly><noinclude>
<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|}}}}}}}<!--
{{Documentation}}
-->{{#ifeq:{{{dim|XYZ}}}|XYZ||{{Coord/input/error2|msg=dim= should be dim:|sort_ch=D}}}}<!--
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
-->{{#ifeq:{{{globe|XYZ}}}|XYZ||{{Coord/input/error2|msg=globe= should be globe:|sort_ch=G}}}}<!--
</noinclude>
-->{{#ifeq:{{{region|XYZ}}}|XYZ||{{Coord/input/error2|msg=region= should be region:|sort_ch=R}}}}<!--
-->{{#ifeq:{{{scale|XYZ}}}|XYZ||{{Coord/input/error2|msg=scale= should be scale:|sort_ch=S}}}}<!--
-->{{#ifeq:{{{source|XYZ}}}|XYZ||{{Coord/input/error2|msg=source= should be source:|sort_ch=s}}}}<!--
-->{{#ifeq:{{{type|XYZ}}}|XYZ||{{Coord/input/error2|msg=type= should be type:|sort_ch=T}}}}<!--
--></includeonly><noinclude>{{pp-template|small=yes}}{{template doc}}</noinclude>

Latest revision as of 08:14, 30 April 2023