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:ItemInfo"

From A Tale in the Desert
Jump to navigationJump to search
(Damnit, mediawiki doesn't like blank defaults.)
Line 18: Line 18:
  
 
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' or 'consumes', as appropriate. For example:
 +
 +
<nowiki>
 +
  Boards are made from [[consumes::Wood]] on a [[requires::Wood Plane]] or a [[requires::Carpentry Shop]].
 +
  This requires the [[requires::Carpentry]] skill.
 +
</nowiki>
 +
 +
To have an auto-generated list of anything that requires this item added to the bottom of the item page, include the <nowiki>{{ItemUses}}</nowiki> template.
 
</noinclude>
 
</noinclude>

Revision as of 20:27, 19 December 2008

PinkBox.png
Bulk {{{bulk}}}
Weight {{{weight}}}



Usage

{{Template:ItemInfo|weight=1|bulk=1|image=PinkBox.png|description=A pink box}}

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

   Boards are made from [[consumes::Wood]] on a [[requires::Wood Plane]] or a [[requires::Carpentry Shop]].
   This requires the [[requires::Carpentry]] skill.
 

To have an auto-generated list of anything that requires this item added to the bottom of the item page, include the {{ItemUses}} template.