Line 2: |
Line 2: |
| This template is used to provide an infobox for farm buildings. | | This template is used to provide an infobox for farm buildings. |
| | | |
− | ==Usage== | + | ==Use== |
− | This template can be used by entering the following onto a relevant page. | + | This template can be used by entering the following onto a relevant page. '''Do not use this on your user page. It is reserved for content pages.''' |
| | | |
| <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 = Location name | + | |name = Location name |
− | |image = The image name, minus the File: | + | |image = The image name, minus the File: |
− | |cost = Cost of building construction (gold) | + | |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 = A list of the animals able to stay in this building, if applicable | + | |materials = Materials required for building construction |
− | |capacity = The maximum number of animals storable in this building | + | |animals = A list of the animals able to stay 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) | + | |capacity = The maximum number of animals storable in this building |
− | |sizehv = The size of the building in format horizontal x vertical (optional) | + | |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> |
| | | |
| <includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | | <includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
− | <includeonly>[[de:Vorlage:{{PAGENAME}}]] | + | <includeonly>{{Addlanglinks}}</includeonly> |
− | [[es:Plantilla:{{PAGENAME}}]]
| |
− | [[ja:テンプレート:{{PAGENAME}}]]
| |
− | [[pt:Predefinição:{{PAGENAME}}]]
| |
− | [[ru:Шаблон:{{PAGENAME}}]]
| |
− | [[zh:Template:{{PAGENAME}}]]</includeonly>
| |