Difference between revisions of "Template:Location dms"

From OrthodoxWiki Commons
Jump to: navigation, search
(New page: <!--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 (...)
 
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
 
{9}:Attribute-Parameters "type", "region" and "scale"(type:landmark_region:EG_scale:5000
 
{9}:Attribute-Parameters "type", "region" and "scale"(type:landmark_region:EG_scale:5000
 
-->
 
-->
 +
<!-- This code contains errros, they should be fixed by someone with advanced knowledge of Wiki
 +
 
{| cellpadding="3" class="toccolours vcard" width="100%" style="margin-top:-1px;"
 
{| cellpadding="3" class="toccolours vcard" width="100%" style="margin-top:-1px;"
 
! style="background-color:#ccccff; text-align:right; vertical-align: middle;" width="15%"|Camera location <span style="display:none" class="fn org">{{{name|{{PAGENAME}}}}}</span>
 
! style="background-color:#ccccff; text-align:right; vertical-align: middle;" width="15%"|Camera location <span style="display:none" class="fn org">{{{name|{{PAGENAME}}}}}</span>
Line 16: Line 18:
 
  |{{{category|[[Category:Media with erroneous locations]]}}}<span style="color:red;font-weight:bold">Error: Invalid parameters!</span><br />
 
  |{{{category|[[Category:Media with erroneous locations]]}}}<span style="color:red;font-weight:bold">Error: Invalid parameters!</span><br />
 
}}</includeonly>
 
}}</includeonly>
 +
-->
 +
 +
==Camera location==
 +
 
{{coor_dms|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8}}}|type:landmark_{{{9}}}}} <span class="geo" style="display: none">{{ #ifeq:{{{4}}}|S|-|}}{{ #ifeq:{{{4}}}|s|-|}}{{#expr: {{{1|0}}} + {{{2|0}}}/60.0 + {{{3|0}}}/3600.0 }};{{ #ifeq:{{{8}}}|W|-|}}{{ #ifeq:{{{8}}}|w|-|}}{{#expr: {{{5|0}}} + {{{6|0}}}/60.0 + {{{7|0}}}/3600.0 }}</span>
 
{{coor_dms|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8}}}|type:landmark_{{{9}}}}} <span class="geo" style="display: none">{{ #ifeq:{{{4}}}|S|-|}}{{ #ifeq:{{{4}}}|s|-|}}{{#expr: {{{1|0}}} + {{{2|0}}}/60.0 + {{{3|0}}}/3600.0 }};{{ #ifeq:{{{8}}}|W|-|}}{{ #ifeq:{{{8}}}|w|-|}}{{#expr: {{{5|0}}} + {{{6|0}}}/60.0 + {{{7|0}}}/3600.0 }}</span>
 
|{{Template:Commons:Geocoding visualized|{{ #ifeq:{{{4}}}|S|-|}}{{ #ifeq:{{{4}}}|s|-|}}{{#expr: {{{1|0}}} + {{{2|0}}}/60.0 + {{{3|0}}}/3600.0 }}|{{ #ifeq:{{{8}}}|W|-|}}{{ #ifeq:{{{8}}}|w|-|}}{{#expr: {{{5|0}}} + {{{6|0}}}/60.0 + {{{7|0}}}/3600.0 }}}}
 
|{{Template:Commons:Geocoding visualized|{{ #ifeq:{{{4}}}|S|-|}}{{ #ifeq:{{{4}}}|s|-|}}{{#expr: {{{1|0}}} + {{{2|0}}}/60.0 + {{{3|0}}}/3600.0 }}|{{ #ifeq:{{{8}}}|W|-|}}{{ #ifeq:{{{8}}}|w|-|}}{{#expr: {{{5|0}}} + {{{6|0}}}/60.0 + {{{7|0}}}/3600.0 }}}}
 
|<small>([[Commons:Geocoding|Info]])</small>
 
|<small>([[Commons:Geocoding|Info]])</small>
 
|}
 
|}

Latest revision as of 09:47, May 8, 2008