Modifications

Sauter à la navigation Sauter à la recherche
2 079 octets ajoutés ,  1 décembre 2017 à 01:03
m
1 révision importée
<!--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|}}}
| 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|}}}
| namespace = {{NAMESPACE}}
}}|<!--

== 3 parameter version ==

-->{{#invoke:Coordinates| LocationTemplateCore |
| globe = Earth
| mode = camera
| lat = {{{1|}}}
| lon = {{{2|}}}
| attributes = {{{3|}}}
| prec = {{{prec|}}}
| lang = {{#if:{{{lang|}}} | {{{lang|}}} |{{int:Lang}}}}
| bare = {{{bare|}}}
| error = {{#expr:not ({{IsNum|{{{1|}}}}} and {{IsNum|{{{2|}}}}}) }}
| secondary = {{{secondary|}}}
| namespace = {{NAMESPACE}}
}}}}<includeonly>{{#invoke:TemplatePar|check
|all= 1= 2=
|opt= secondary= lang= prec= bare= 3= 4= 5= 6= 7= 8= 9=
|cat= Media using Location template with incorrect parameter
|errNS=6 14
|template= [[Template:Location]]
}}</includeonly><noinclude>

{{Documentation}}

</noinclude>

Menu de navigation