Template:Object location: Difference between revisions
Template page
More actions
improve error checking |
add wikidata parameter (to be used latter) |
||
| Line 28: | Line 28: | ||
| 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}}) }} | | 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|}}} | | secondary = {{{secondary|}}} | ||
| wikidata = {{{Wikidata|{{{wikidata|}}} }}} | |||
| namespace = {{NAMESPACE}} | | namespace = {{NAMESPACE}} | ||
}}|<!-- | }}|<!-- | ||
| Line 44: | Line 45: | ||
| error = {{#expr:not ({{IsNum|{{{1|}}}}} and {{IsNum|{{{2|}}}}} }} | | error = {{#expr:not ({{IsNum|{{{1|}}}}} and {{IsNum|{{{2|}}}}} }} | ||
| secondary = {{{secondary|}}} | | secondary = {{{secondary|}}} | ||
| wikidata = {{{Wikidata|{{{wikidata|}}} }}} | |||
| namespace = {{NAMESPACE}} | | namespace = {{NAMESPACE}} | ||
}}}}<includeonly>{{#invoke:TemplatePar|check | }}}}<includeonly>{{#invoke:TemplatePar|check | ||
Revision as of 13:31, 29 April 2016
Error: Invalid parameters! (coordinates are missing or not numeric)
This documentation is transcluded from Template:Object location/doc.