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
No edit summary
adding use of fallback template
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
--></noinclude>
--></noinclude>
{{Location/{{#ifexist:Template:Location/{{int:Lang}}|{{int:Lang}}|en}}
{{Location/{{Fallback|Location}}
| mode = 2 <!-- mode=2 gives Object Location -->
| mode = 2 <!-- mode=2 gives Object Location -->
| lat  = {{ #ifeq:{{{4}}}|S|-|}}{{ #ifeq:{{{4}}}|s|-|}}{{#expr: {{{1|0}}} + {{{2|0}}}/60.0 + {{{3|0}}}/3600.0 }}
| lat  = {{ #ifeq:{{{4}}}|S|-|}}{{ #ifeq:{{{4}}}|s|-|}}{{#expr: {{{1|0}}} + {{{2|0}}}/60.0 + {{{3|0}}}/3600.0 }}

Revision as of 13:01, 13 March 2009

Template:Location/en Template:Location/lang

Brief syntax description

Syntax {{Object location|Degree|Minute|Second|Latitude|Degree|Minute|Second|Longitude|Information attributes}}
Example {{Object location|52|09|03.70|N|9|57|02.79|E|region:DE}}

Note this template is for the location of the main subject of the photograph (features, landmarks, structures etc) and can also be used to point to a nearby feature when giving the location of a plant or animal where an exact location is not appropriate (eg where you do not want to reveal the exact location of a rare plant). Additionally it may be appropriate to specify the location and heading of the camera taking the photograph - use {{Location}}. See Commons:Geocoding#Parameters for more information.

This template also outputs a Geo microformat.


Cookies help us deliver our services. By using our services, you agree to our use of cookies.