Template:Infobox Building: Difference between revisions
Jump to navigation
Jump to search
Improve template |
mNo edit summary |
||
| (12 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: | }}{{#set: | ||
| Type=building | | Type=building | ||
| Address={{{address|}}} | | Address={{#if:{{{address|}}}|{{{address}}}}} | ||
| City={{#if:{{{city|}}}|{{{city}}}}} | |||
| Municipality={{{municipality|}}} | | Municipality={{{municipality|}}} | ||
| Province={{{province|}}} | | Province={{{province|}}} | ||
| Line 44: | Line 45: | ||
}, | }, | ||
"closingdate": { | "closingdate": { | ||
" | "description": "The date that the building was closed.", | ||
"type": "date" | "type": "date", | ||
"suggested": true | |||
}, | }, | ||
"world": { | "world": { | ||
Latest revision as of 19:54, 9 November 2025
| {{{minimap}}} Minimap view of Infobox Building | |
This template is made for use as infobox for wiki pages talking about buildings.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| name | name | no description | Unknown | required |
| minimap | minimap | IFrame tag to https://bluemap.minionguyjpro.dedyn.io with flat mode and a certain position. | String | suggested |
| address | address | The address that the building is at. | Unknown | suggested |
| openingdate | openingdate | The date that the building was opened. | Date | suggested |
| closingdate | closingdate | The date that the building was closed. | Date | suggested |
| world | world | The world that the building is in. | Unknown | suggested |