Difference between revisions of "Template:Infobox building/doc"
Jump to navigation
Jump to search
Samwalton9 (talk | contribs) (+size) |
Margotbean (talk | contribs) (update) |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
==Description== | ==Description== | ||
− | This template | + | This template displays an infobox for farm buildings. '''Do not use this on your user page. It is reserved for content pages.''' |
− | == | + | ==Parameters== |
− | + | {|class="wikitable sortable" | |
− | + | |- | |
− | + | !Parameter!!Notes | |
− | | | + | |- |
− | | | + | |name||Building name |
− | | | + | |- |
− | | | + | |image||Image name, minus <samp>File:</samp> |
− | | | + | |- |
− | | | + | |image2||Second image name, minus <samp>File:</samp> |
− | | | + | |- |
− | + | |description||Building description, if one exists. Automatically populated by [[Template:Description]] if omitted. | |
− | + | |- | |
− | + | |cost||Cost of building construction (gold) | |
− | < | + | |- |
− | | | + | |materials||Materials required for building construction |
− | | | + | |- |
− | |cost | + | |animals||A list of the animals able to stay in this building, if applicable |
− | |materials | + | |- |
− | |animals | + | |capacity||The maximum number of animals storable in this building, if applicable |
− | | | + | |- |
− | |size | + | |size||The size of the building (this requires that you know the name of the image used; some use width x height and some use height x width) |
− | } | + | |- |
+ | |sizehv||The size of the building in format horizontal x vertical (optional) | ||
+ | |- | ||
+ | |} | ||
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | <includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | ||
+ | <includeonly>{{Addlanglinks}}</includeonly> |
Latest revision as of 22:56, 21 July 2024
Description
This template displays an infobox for farm buildings. Do not use this on your user page. It is reserved for content pages.
Parameters
Parameter | Notes |
---|---|
name | Building name |
image | Image name, minus File: |
image2 | Second image name, minus File: |
description | Building description, if one exists. Automatically populated by Template:Description if omitted. |
cost | Cost of building construction (gold) |
materials | Materials required for building construction |
animals | A list of the animals able to stay in this building, if applicable |
capacity | The maximum number of animals storable in this building, if applicable |
size | The size of the building (this requires that you know the name of the image used; some use width x height and some use height x width) |
sizehv | The size of the building in format horizontal x vertical (optional) |