Template:Object location: Difference between revisions
Template page
More actions
files will be secondary and categories primary coordinates |
add {{#coordinates: only in category namespace for time beeing |
||
| Line 24: | Line 24: | ||
| NoError = {{IsNum|{{{1|}}}}} and {{IsNum|{{{2|}}}}} and {{IsNum|{{{3|}}}}} and {{IsNum|{{{5|}}}}} and {{IsNum|{{{6|}}}}} and {{IsNum|{{{7|}}}}} and {{#switch:{{{4|}}}{{{8|}}}|NE|NW|SE|SW=1 |#default=0}} and {{#if:{{{10|}}}{{{NW|}}}{{{EW|}}}{{{type|}}}{{{region|}}}{{{article|}}}{{{display|}}}|0|1}} | | NoError = {{IsNum|{{{1|}}}}} and {{IsNum|{{{2|}}}}} and {{IsNum|{{{3|}}}}} and {{IsNum|{{{5|}}}}} and {{IsNum|{{{6|}}}}} and {{IsNum|{{{7|}}}}} and {{#switch:{{{4|}}}{{{8|}}}|NE|NW|SE|SW=1 |#default=0}} and {{#if:{{{10|}}}{{{NW|}}}{{{EW|}}}{{{type|}}}{{{region|}}}{{{article|}}}{{{display|}}}|0|1}} | ||
| globe = Earth | | globe = Earth | ||
}}<includeonly>{{#coordinates:{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8}}}|class:object_{{{9|type:landmark}}} | }}<includeonly>{{#ifeq:{{NAMESPACE}}|File||{{#coordinates:{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8}}}|class:object_{{{9|type:landmark}}}}}}}</includeonly> |<!-- | ||
== 3 parameter version == | == 3 parameter version == | ||
| Line 35: | Line 35: | ||
| NoError = {{IsNum|{{{1|}}}}} and {{IsNum|{{{2|}}}}} and {{#if:{{{NW|}}}{{{EW|}}}{{{type|}}}{{{region|}}}{{{article|}}}{{{display|}}}|0|1}} | | NoError = {{IsNum|{{{1|}}}}} and {{IsNum|{{{2|}}}}} and {{#if:{{{NW|}}}{{{EW|}}}{{{type|}}}{{{region|}}}{{{article|}}}{{{display|}}}|0|1}} | ||
| globe = Earth | | globe = Earth | ||
}}<includeonly>{{#coordinates:{{{1}}}|{{{2}}}|class:object_{{{3|type:landmark}}} | }}<includeonly>{{#ifeq:{{NAMESPACE}}|File||{{#coordinates:{{{1}}}|{{{2}}}|class:object_{{{3|type:landmark}}}}}}}</includeonly> | ||
}}<noinclude> | }}<noinclude> | ||
Revision as of 15:08, 7 December 2013
This documentation is transcluded from Template:Object location/doc.