Template:Infobox Building4 Portable/doc

This template creates a Portable Infobox leveraging the extension sourced from MediaWiki, allowing for quick setup of an infobox side panel for a building with a baseline and three upgrades.

Using this template or one of its sister templates is highly recommended for standardization of building infobox templates.

Usage


Parameter list
Parameters used in this template's execution are as follows, with a suffixed 1 through 4 (e.g. name1, name2, name3, name4):


 * name = name displayed at top of infobox
 * image = Image to use in main Infobox pane, use parameters to set to 200px
 * category = The category the building belongs to (e.g. Amenities & Services, Food, Defense, etc.)
 * tier = The corresponding tier this building is found at in the build menu (1,2,3,4)
 * prereq = Any building/gamestate prerequisites for this building to be unlocked to build
 * size = Footprint of the building, formatted as SmallValue x BigValue (e.g. 2x3, 5x10)
 * cost = Resource cost to construct the building, use Template:InfoboxCost to format output
 * upkeep = Ongoing cost of building operation, in gold. Use to supply images
 * produces = Any resources produced by the building. Use Template:Icon as a base to supply images
 * occupancy = count of employable workers and class of workers, if any (e.g. 1-2x Grocers)
 * upgrade_name = name of building that will be upgraded to from current tier, if any
 * upgrade_cost = Resource cost to upgrade the building, use Template:InfoboxCost to format output
 * desirability = Any desirability impact of this building on Shelters (e.g. very negative, negative, neutral, positive, very positive)

Examples


PortableInfobox Documentation

 * MediaWiki Extension Page
 * PortableInfobox Main Documentation (fandom)
 * Generalized Help Page with Examples (fandom)
 * Additional Implementation Examples (fandom)