The Wiki for Tale 5 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:BuildingInfo"
Khatzepsut (talk | contribs) (Created page with "__NOTOC__ <div class="buildinginfo" style="align:right; float:right; margin: 5px 0px 5px 5px; border-width:1px; border-style:solid;"> {| ! colspan="2"|[[Image:{{{image|PinkBox.pn...") |
|||
Line 4: | Line 4: | ||
! colspan="2"|[[Image:{{{image|PinkBox.png}}}]] | ! colspan="2"|[[Image:{{{image|PinkBox.png}}}]] | ||
|- | |- | ||
− | |Size || [[size::{{{size}}}]] | + | |Size || {{#switch:{{{size|N/A}}}|N/A=N/A|[[size::{{{size}}}]]}} |
|- | |- | ||
|Where || {{{where}}} | |Where || {{{where}}} |
Revision as of 13:42, 13 December 2010
Usage
{{Template:BuildingInfo|image=PinkBox.png|size=1x1|where=[[where::Compound]]|description=Some building}}
The description is stored as semantic markup, and displayed on listing pages that include the item.
In order to keep the automatically generated lists on item and skill/technology pages up-to-date, annotate the first usage of each item, skill or technology with 'requires' or 'produces', as appropriate. For example
Brick racks are built from 4 [[requires::boards]]. == Uses == * Turn 3 [[Mud]], 2 [[Straw]] and 1 [[Sand]] into 6 [[produces::Bricks]]. * Turn 5 [[Silt]] and 1 [[Sand]] into 6 [[produces:Firebricks]].
Note that the brick rack 'requires' boards for its construction, but it does NOT 'require' Mud, Straw or Sand, since they are used to produce bricks, not the brick rack itself.