Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Object location: Difference between revisions

Template page
m Changed protection level for "Template:Object location": downgraded protection level per consensus ([Edit=Allow only template editors and administrators] (indefinite) [Move=Allow only template editors and administrators] (indefinite))
mNo edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!--Explanation of variables
<noinclude>{{Heavily used template}}</noinclude><!--
  {1}:Degree(°)
-->{{#invoke:Coordinates|LocationTemplateCore
  {2}:Minutes(')
|mode={{{mode|object}}}
  {3}:Seconds("),
}}<!--
  {4}:Latitude, e.g. N (North) or S (South)
--><includeonly>{{#invoke:TemplatePar|check
  {5}:Degree (°)
|template=[[Template:Object location]]
  {6}:Minutes (')
|opt=secondary= lang= prec= bare= globe= mode= lat= lon= 1= 2= 3= 4= 5= 6= 7= 8= 9= wikidata= Wikidata= attributes=
  {7}:Seconds (")
  {8}:Longitude, e.g. E (East) or W (West)
  {9}:Attribute-Parameters "type", "region" and "scale"(type:landmark_region:EG_scale:5000
OR
  {1}:Degree (decimal) of latitude , e.g. + (North) or - (South)
  {2}:Degree (decimal) of longitude, e.g. + (East) or - (West)
  {3}:Attribute-Parameters "type", "region" and "scale"(type:landmark_region:EG_scale:5000
-->{{#if: {{{4|}}} |<!--  
 
== 9 parameter version ==
 
-->{{#invoke:Coordinates| LocationTemplateCore |
| globe      = Earth
| mode       = object
| lat        = {{ #ifeq:{{uc:{{{4|}}}}}|S|-|}}{{#expr: {{{1|0}}} + {{{2|0}}}/60.0 + {{{3|0}}}/3600.0 }}
| lon        = {{ #ifeq:{{uc:{{{8|}}}}}|W|-|}}{{#expr: {{{5|0}}} + {{{6|0}}}/60.0 + {{{7|0}}}/3600.0 }}
| attributes = {{{attributes|{{{9|}}} }}}
| prec      = {{{prec|}}}
| lang      = {{#if:{{{lang|}}} | {{{lang|}}} |{{int:Lang}}}}
| bare      = {{{bare|}}}
| error      = {{#expr:not ({{IsNum|{{{1|}}}}} and {{IsNum|{{{2|}}}}} and {{IsNum|{{{3|}}}}} and {{IsNum|{{{5|}}}}} and {{IsNum|{{{6|}}}}} and {{IsNum|{{{7|}}}}} and {{#switch:{{uc:{{{4|}}}{{{8|}}}}}|NE|NW|SE|SW=1 |#default=0}}) }}
| secondary  = {{{secondary|}}}
| wikidata  = {{{Wikidata|{{{wikidata|}}} }}}
| namespace  = {{NAMESPACE}}
}}|<!--  
 
== 3 parameter version ==
 
-->{{#invoke:Coordinates| LocationTemplateCore |
| globe      = Earth
| mode      = object
| lat        = {{{1|}}}
| lon        = {{{2|}}}
| attributes = {{{attributes|{{{3|}}} }}}
| prec      = {{{prec|}}}
| lang      = {{#if:{{{lang|}}} | {{{lang|}}} |{{int:Lang}}}}
| bare      = {{{bare|}}}
| error      = {{#expr:not ({{IsNum|{{{1|}}}}} and {{IsNum|{{{2|}}}}} }}
| secondary  = {{{secondary|}}}
| wikidata  = {{{Wikidata|{{{wikidata|}}} }}}
| namespace  = {{NAMESPACE}}
}}}}<includeonly>{{#invoke:TemplatePar|check
|opt= secondary= lang= prec= bare= 1= 2= 3= 4= 5= 6= 7= 8= 9= wikidata= Wikidata= attributes=
|cat= Media using Location template with incorrect parameter
|errNS=6 14
|errNS=6 14
|template= [[Template:Object location]]
|cat=Media using Location template with incorrect parameter
}}</includeonly><!--
}}</includeonly><!--
-->{{#ifeq:{{NAMESPACE}}|Category|{{#if:{{{Wikidata|{{{wikidata|}}} }}}||{{#if:{{#invoke:WikidataIB|pageId}}|[[Category:Categories with coordinates: no wikidata]]}}}}}}<!-- 
--><noinclude>{{Documentation|Template:Location/doc}}</noinclude>
--><noinclude>
 
{{Documentation}}
 
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.