Template:Infobox Building: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| (14 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
| label1 = Address | | label1 = Address | ||
| data1 | | 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: | |||
| Type=building | |||
| Address={{#if:{{{address|}}}|{{{address}}}}} | |||
| City={{#if:{{{city|}}}|{{{city}}}}} | |||
| Municipality={{{municipality|}}} | |||
| Province={{{province|}}} | |||
| Island={{{island|}}} | |||
| World={{{world|}}} | |||
}} | }} | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"required": true | |||
}, | |||
"minimap": { | |||
"description": "IFrame tag to https://bluemap.minionguyjpro.dedyn.io with flat mode and a certain position.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"address": { | |||
"description": "The address that the building is at.", | |||
"suggested": true | |||
}, | |||
"openingdate": { | |||
"description": "The date that the building was opened.", | |||
"type": "date", | |||
"suggested": true | |||
}, | |||
"closingdate": { | |||
"description": "The date that the building was closed.", | |||
"type": "date", | |||
"suggested": true | |||
}, | |||
"world": { | |||
"description": "The world that the building is in.", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "This template is made for use as infobox for wiki pages talking about buildings.", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> | |||