Template:Infobox Building2 Portable/doc (view source)
Revision as of 21:02, 7 April 2023
, 1 year agofixing inaccurate image ID
NotAracham (talk | contribs) (→Examples: Fixing last incorrect upgrade references, replacing nowiki code version) |
NotAracham (talk | contribs) (fixing inaccurate image ID) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 14:
|cost1=
|upkeep1=
|consumes1=
|produces1=
|occupancy1=
Line 28 ⟶ 29:
|cost2=
|upkeep2=
|consumes2=
|produces2=
|occupancy2=
Line 48 ⟶ 50:
* '''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 <nowiki>{{Icon|Gold}}</nowiki> to supply images
* '''consumes''' = Any resources produced by the building. Use [[Template:Icon]] as a base 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 [[Grocer|Grocers]])
Line 59 ⟶ 62:
{{Infobox_Building2_Portable
|name1=Market
|image1=[[File:
|category1=Amenities and Services
|tier1=1
Line 68 ⟶ 71:
}}
|upkeep1=N/A
|consumes1=None
|produces1={{Icon|Gold}}
|occupancy1=1x [[Grocer]]
Line 90 ⟶ 94:
}}
|upkeep2=N/A
|consumes2=None
|produces2={{Icon|Gold}}
|occupancy2=1-2x [[Grocer]]
Line 102 ⟶ 107:
{{Infobox_Building2_Portable
|name1=Market
|image1=[[File:
|category1=Amenities and Services
|tier1=1
Line 111 ⟶ 116:
}}
|upkeep1=N/A
|consumes1=None
|produces1={{Icon|Gold}}
|occupancy1=1x [[Grocer]]
Line 133 ⟶ 139:
}}
|upkeep2=N/A
|consumes2=None
|produces2={{Icon|Gold}}
|occupancy2=1-2x [[Grocer]]
Line 141 ⟶ 148:
}}
{{Clear}}
== PortableInfobox Documentation ==
* [https://www.mediawiki.org/wiki/Extension:PortableInfobox MediaWiki Extension Page]
* [https://portability.fandom.com/wiki/Portable_Infoboxes PortableInfobox Main Documentation (fandom)]
* [https://community.fandom.com/wiki/Help:Infoboxes#Examples Generalized Help Page with Examples (fandom)]
* [https://portability.fandom.com/wiki/Example_communities#Portable_Infoboxes Additional Implementation Examples (fandom)]
== See Also ==
* [[:Category:Portable Infoboxes]] - Holder category for all infoboxes using PortableInfobox
* [[Template:Infobox Building1 Portable]] - Template for buildings with no upgrade
* [[Template:Infobox Building4 Portable]] - Template for buildings with a baseline + three upgrades
* [[Template:Infobox Building5Tree Portable]] - Template for decorative trees
[[Category:Portable Building Infoboxes]]
|