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"
m |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
|Weight || [[weight::{{{weight}}}]] | |Weight || [[weight::{{{weight}}}]] | ||
|} | |} | ||
− | </div> | + | </div>[[description::{{{description}}}| ]]<noinclude> |
− | |||
− | [[description::{{{description}}}| ]] | ||
− | |||
− | <noinclude> | ||
==Usage== | ==Usage== | ||
<code> | <code> | ||
Line 20: | Line 16: | ||
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' as appropriate. For example: | + | 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' as appropriate. For example: <br> <br> <br> <br> <br> |
<nowiki> | <nowiki> | ||
− | Boards are made from [[requires::Wood]] on a [[requires::Wood Plane]] or a [[requires::Carpentry Shop]]. | + | Boards are made from [[requires::Wood]] on a [[requires::Wood Plane]] |
+ | or a [[requires::Carpentry Shop]]. | ||
This requires the [[requires::Carpentry]] skill. | This requires the [[requires::Carpentry]] skill. | ||
</nowiki> | </nowiki> | ||
To have an auto-generated list of anything that requires this item added to the bottom of the item page, include the <nowiki>{{RequiredBy}}</nowiki> template. To have an auto-generated list of anything that produces this item, include the <nowiki>{{ProducedBy}}</nowiki> template. | To have an auto-generated list of anything that requires this item added to the bottom of the item page, include the <nowiki>{{RequiredBy}}</nowiki> template. To have an auto-generated list of anything that produces this item, include the <nowiki>{{ProducedBy}}</nowiki> template. | ||
+ | [[Category: Template]] {{DEFAULTSORT:ItemInfo}} | ||
</noinclude> | </noinclude> |
Latest revision as of 10:40, 6 March 2009
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' as appropriate. For example:
Boards are made from [[requires::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 {{RequiredBy}} template. To have an auto-generated list of anything that produces this item, include the {{ProducedBy}} template.