Template:Infobox building/doc: Difference between revisions
Appearance
imported>Sapador Remove outdated info. |
imported>Margotbean update |
||
| Line 6: | Line 6: | ||
<pre>{{Infobox building | <pre>{{Infobox building | ||
|name | |name = | ||
|image | |image = | ||
|cost | |description = | ||
|materials = | |cost = | ||
|animals | |materials = | ||
|capacity | |animals = | ||
|size | |capacity = | ||
|sizehv | |size = | ||
|sizehv = | |||
}}</pre> | }}</pre> | ||
==Parameters== | ==Parameters== | ||
<pre>{{Infobox building | <pre>{{Infobox building | ||
|name | |name = Location name | ||
|image | |image = The image name, minus the File: | ||
|cost | |description = The building description, if one exists. Automatically populated by Template:Description if omitted. | ||
|materials = Materials required for building construction | |cost = Cost of building construction (gold) | ||
|animals | |materials = Materials required for building construction | ||
|capacity | |animals = A list of the animals able to stay in this building, if applicable | ||
|size | |capacity = The maximum number of animals storable in this building | ||
|sizehv | |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) | |||
}}</pre> | }}</pre> | ||
Revision as of 18:41, 1 October 2018
Description
This template is used to provide an infobox for farm buildings.
Usage
This template can be used by entering the following onto a relevant page.
{{Infobox building
|name =
|image =
|description =
|cost =
|materials =
|animals =
|capacity =
|size =
|sizehv =
}}
Parameters
{{Infobox building
|name = Location name
|image = The image name, minus the File:
|description = The 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
|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)
}}