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
Line 19: Line 19:
 
</code>
 
</code>
  
The description is stored as semantic markup, and displayed on listing pages that include the item
+
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', 'consumes' or 'produces', as appropriate. For example
 +
 
 +
<nowiki>
 +
  Brick racks are built from 4 [[requires:boards]].
 +
 +
  == Uses ==
 +
    * Turn 3 [[consumes::Mud]], 2 [[consumes::Straw]] and 1 [[consumes::Sand]] into 6 [[produces::Bricks]].
 +
    * Turn 5 [[consumes::Silt]] and 1 [[Sand]] into 6 [[produces:Firebricks]].
 +
</nowiki>
 
</noinclude>
 
</noinclude>

Revision as of 20:23, 19 December 2008

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', 'consumes' or 'produces', as appropriate. For example

   Brick racks are built from 4 [[requires:boards]].
 
   == Uses ==
    * Turn 3 [[consumes::Mud]], 2 [[consumes::Straw]] and 1 [[consumes::Sand]] into 6 [[produces::Bricks]].
    * Turn 5 [[consumes::Silt]] and 1 [[Sand]] into 6 [[produces:Firebricks]].