Template:Object location: Difference between revisions
Template page
More actions
version using internationalized template |
No edit summary |
||
| Line 17: | Line 17: | ||
| NoError = {{IsNum|{{{1|}}}}} and {{IsNum|{{{2|}}}}} and {{IsNum|{{{3|}}}}} and {{IsNum|{{{5|}}}}} and {{IsNum|{{{6|}}}}} and {{IsNum|{{{7|}}}}} and {{#ifeq:{{{4|}}}|N|1|{{#ifeq:{{{4|}}}|S|1|0}}}} and {{#ifeq:{{{8|}}}|E|1|{{#ifeq:{{{8|}}}|W|1|0}}}} | | NoError = {{IsNum|{{{1|}}}}} and {{IsNum|{{{2|}}}}} and {{IsNum|{{{3|}}}}} and {{IsNum|{{{5|}}}}} and {{IsNum|{{{6|}}}}} and {{IsNum|{{{7|}}}}} and {{#ifeq:{{{4|}}}|N|1|{{#ifeq:{{{4|}}}|S|1|0}}}} and {{#ifeq:{{{8|}}}|E|1|{{#ifeq:{{{8|}}}|W|1|0}}}} | ||
}}<noinclude> | }}<noinclude> | ||
{{Location/lang}} | |||
<!-- {{Documentation|template:location/doc}} --> | <!-- {{Documentation|template:location/doc}} --> | ||
[[Category:Geocoding templates|{{PAGENAME}}]] | [[Category:Geocoding templates|{{PAGENAME}}]] | ||
Revision as of 03:15, 10 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.