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
restrict Media using Location template with incorrect parameter to file and category namespace only
improve error checking
Line 26: Line 26:
  | lang      = {{#if:{{{lang|}}} | {{{lang|}}} |{{int:Lang}}}}
  | lang      = {{#if:{{{lang|}}} | {{{lang|}}} |{{int:Lang}}}}
  | bare      = {{{bare|}}}
  | bare      = {{{bare|}}}
  | 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}}
  | 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|}}}
  | namespace  = {{NAMESPACE}}
  | namespace  = {{NAMESPACE}}
Line 42: Line 42:
  | lang      = {{#if:{{{lang|}}} | {{{lang|}}} |{{int:Lang}}}}
  | lang      = {{#if:{{{lang|}}} | {{{lang|}}} |{{int:Lang}}}}
  | bare      = {{{bare|}}}
  | bare      = {{{bare|}}}
  | NoError    = {{IsNum|{{{1|}}}}} and {{IsNum|{{{2|}}}}} and {{#if:{{{NW|}}}{{{EW|}}}{{{type|}}}{{{region|}}}{{{article|}}}{{{display|}}}|0|1}}
  | error      = {{#expr:not ({{IsNum|{{{1|}}}}} and {{IsNum|{{{2|}}}}} }}
  | secondary  = {{{secondary|}}}
  | secondary  = {{{secondary|}}}
  | namespace  = {{NAMESPACE}}
  | namespace  = {{NAMESPACE}}

Revision as of 20:07, 28 December 2015

Error: Invalid parameters! (coordinates are missing or not numeric)

Template documentation[ create · purge ]
This documentation is transcluded from Template:Object location/doc.


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