|
|
Ligne 1 : |
Ligne 1 : |
− | <noinclude>{{heavily used template}}</noinclude><!--Explanation of Variables
| |
− | {1}:Degree(°)
| |
− | {2}:Minutes(')
| |
− | {3}:Seconds("),
| |
− | {4}:Latitude, e.g. N (North) or S (South)
| |
− | {5}:Degree (°)
| |
− | {6}:Minutes (')
| |
− | {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 = camera
| |
− | | 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 = {{{9|{{{attributes|}}}}}}
| |
− | | 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 = camera
| |
− | | lat = {{{1|}}}
| |
− | | lon = {{{2|}}}
| |
− | | attributes = {{{3|{{{attributes|}}}}}}
| |
− | | 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
| |
− | |template= [[Template:Location]]
| |
− | }}</includeonly><!--
| |
− | -->{{#ifeq:{{NAMESPACE}}|Category|{{#if:{{{Wikidata|{{{wikidata|}}} }}}||{{#if:{{#invoke:WikidataIB|pageId}}|[[Category:Categories with coordinates: no wikidata]]}}}}}}<!--
| |
− | --><noinclude>
| |
− |
| |
− | {{Documentation}}
| |
− | Modèle sous licence CC-BY-SA copié de https://commons.wikimedia.org/wiki/Template:Location
| |
− | </noinclude>
| |