Template:Infobox Building: Difference between revisions

mNo edit summary
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 7: Line 7:


| label1  = Address
| label1  = Address
| data1   = {{#if:{{{address|}}}|{{{address}}}}}{{#if:{{{province|{{{municipality|}}}}}}|, {{{province|{{{municipality|}}}}}}}}{{#if:{{{island|}}}|, {{{island}}}}}
| data1 = {{#if:{{{address|}}}|{{{address}}}}}{{#if:{{{city|}}}|, [[{{{city}}}]]}}{{#if:{{{province|{{{municipality|}}}}}}|, [[{{{province|{{{municipality|}}}}}}|{{{province_display|{{{province|{{{municipality|}}}}}}}}}]]}}{{#if:{{{island|}}}|, [[{{{island}}}]]}}
| label2  = Opened
| label2  = Opened
| data2    = {{{openingdate}}}
| data2    = {{{openingdate|}}}
| label3  = Closed
| label3  = Closed
| data3    = {{{closingdate|}}}
| data3    = {{{closingdate|}}}
| label4  = World
| label4  = World
| data4    = {{{world}}}
| data4    = {{{world|}}}
}}{{#set:
}}{{#set:
  | Type=building
  | Type=building
  | Address={{#if:{{{address|}}}|{{{address}}}}}{{#if:{{{province|{{{municipality|}}}}}}|, {{{province|{{{municipality|}}}}}}}}{{#if:{{{island|}}}|, {{{island}}}}}
  | Address={{#if:{{{address|}}}|{{{address}}}}}
| City={{#if:{{{city|}}}|{{{city}}}}}
  | Municipality={{{municipality|}}}
  | Municipality={{{municipality|}}}
  | Province={{{province|}}}
  | Province={{{province|}}}
Line 44: Line 45:
},
},
"closingdate": {
"closingdate": {
"example": "The date that the building was closed.",
"description": "The date that the building was closed.",
"type": "date"
"type": "date",
            "suggested": true
},
},
"world": {
"world": {