The Wiki for Tale 4 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"

From A Tale in the Desert
Jump to navigationJump to search
(typo)
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
<div class="buildinginfo" style="align:right; float:right; margin: 5px 0px 5px 5px; border-width:1px; border-style:solid;">
 
<div class="buildinginfo" style="align:right; float:right; margin: 5px 0px 5px 5px; border-width:1px; border-style:solid;">
 
{|
 
{|
 
! colspan="2"|[[Image:{{{image|PinkBox.png}}}]]
 
! colspan="2"|[[Image:{{{image|PinkBox.png}}}]]
 +
|-
 +
|Size || [[size::{{{size}}}]]
 +
|-
 +
|Where || {{{where}}}
 
|}
 
|}
 
</div>
 
</div>
 +
 +
[[description::{{{description}}}| ]]
  
  
Line 9: Line 16:
 
==Usage==
 
==Usage==
 
<code>
 
<code>
<nowiki>{{Template:BuildingInfo|image=PinkBox.png}}</nowiki>
+
<nowiki>{{Template:BuildingInfo|image=PinkBox.png|size=1x1|where=[[where::Compound]]|description=Some building}}</nowiki>
 
</code>
 
</code>
 +
 +
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
 +
 +
<nowiki>
 +
  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]].
 +
</nowiki>
 +
 +
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.
 +
[[Category: Template]] {{DEFAULTSORT:B}}
 
</noinclude>
 
</noinclude>

Latest revision as of 03:54, 16 December 2009

PinkBox.png
Size {{{size}}}
Where {{{where}}}



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.