The Wiki for Tale 8 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.
If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.
Difference between revisions of "Template:Building"
Jump to navigation
Jump to search
m (Buildings without images will now be categorized under a "Buildings missing images" category) |
m (Fixed a mistake in the categorization of buildings missing images) |
||
Line 3: | Line 3: | ||
| ibname = {{{name|{{PAGENAME}}}}} | | ibname = {{{name|{{PAGENAME}}}}} | ||
| ibtype = Building | | ibtype = Building | ||
− | | image = {{#if: {{{image|}}} | {{{image|}}} | + | | image = {{#if: {{{image|}}} | {{{image|}}} }} |
| content = | | content = | ||
Line 25: | Line 25: | ||
}} | }} | ||
− | [[Category:Buildings]]</includeonly><noinclude> | + | [[Category:Buildings]] |
+ | {{#if: {{{image|}}} || [[Category:Buildings missing images|{{PAGENAME}}]]}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Infoboxes|Building]] | [[Category:Infoboxes|Building]] | ||
</noinclude> | </noinclude> |
Latest revision as of 23:56, 26 November 2018
Template documentation (for the above template, sometimes hidden or invisible)
{{Building}} is for use in any article about an in-game "building". All parameters are optional and can be left blank, though it is preferred to include as many as possible; if undefined, these optional parameters will not appear as part of the template. The recommended image size is a width of 250px so that it will completely fill the infobox without increasing its size.
Template
{{Building | name = | image = | location = | size = | requirements = | material1 = | qty1 = | material2 = | qty2 = ... }}
Usage
- name
- The name of the resource.
- image (optional)
- File name of an image for the resource. Should generally be a clean screenshot of the resource as it appears when dropped on the ground from a character's inventory. The recommended size is 250px but, if larger, the image should scale to fit the template.
- location (optional)
- The location or locations where the building can be constructed such as Compound, Outside, Small Construction Site, Medium Construction Site, etc.
- size (optional)
- The dimensions of the building when constructed inside a Compound.
- requirements (optional)
- A list of any skills or technologies required to construct a building.
Cost to Build Data
- materialn
- The name of the material required to construct the building. Each material required to construct the building should list a material parameter and corresponding qty parameter. Increment n for each such material and cost.
- qtyn
- The amount of material required to construct the building. Each material required to construct the building should list a material parameter and corresponding qty parameter. Increment n for each such material and cost.
Example
Carpentry Shop | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
(Building) | ||||||||||
Location | ||||||||||
Compound | ||||||||||
Size | ||||||||||
16 × 14 | ||||||||||
Requirements | ||||||||||
|
{{Building | name = Carpentry Shop | image = carpentry_shop.png | location = [[Compound]] | size = 16 × 14 | requirements = * [[Carpentry]] | material1 = [[Slate]] | qty1 = 8 | material2 = [[Rope]] | qty2 = 2 | material3 = [[Bricks]] | qty3 = 36 | material4 = [[Board]] | qty4 = 60 }}
Visit Template:Building/doc to edit this text! (How does this work?)