Template:Infobox building

From BadWolfMC Wiki
Revision as of 15:03, 9 April 2018 by Template>14mRh4X0r (Default map link Y coordinate to 64, replace #if chain with #switch)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Building When to use

Place this on any page suitable for the buildings category. It will add the page to the category, as well as producing the handy info box.

Please don't attempt to alter the code for this template unless you really know what you're doing, and you have community consensus.

Please only use this template for individual buildings - for settlements involving multiple buildings together, use Template:Infobox_settlement.

Usage

Copy the text below, paste it at the very top of the relevant article, and modify as appropriate:

{{Infobox building
|title        = AwesomeCastle Seven
|image        = Image.png
|caption      = View from the front
|owner        = Jim
|contributors = Bob, Mike
|category     = Castle
|underground  = No
|public       = Yes
|startdate    = 21 November 2010
|completedate = 17 January 2011
|n-s_size     = 40
|w-e_size     = 40
|height       = 20
|xcoord       = -1204
|ycoord       = 62
|zcoord       = 3028
|dimension    = Overworld
|nearestwarp  = AmpCity
}}

Or use this blank template:

{{Infobox building
|title        = 
|image        = 
|caption      = 
|owner        = 
|contributors = 
|category     = 
|underground  = 
|public       = 
|startdate    = 
|completedate = 
|n-s_size     = 
|w-e_size     = 
|height       = 
|xcoord       = 
|ycoord       = 
|zcoord       = 
|dimension    = 
|nearestwarp  = 
}}

Note: If you use this template and don't populate all fields, do not delete the unused fields - this will only make it difficult for future editors to fill in the additional information later.