Template:Tag: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<h2>Tag</h2> | <h2>Tag</h2> | ||
;This item has the following | ;This item has the following tag(s) | ||
<p style="margin-left: 1.6em;">{{{tags|<Information Missing>}}}{{#if:{{{tags|}}}|<!--true-->{{#switch: {{{tags}}} | ScrapWood = <includeonly>[[Category:Tags/ScrapWood]]</includeonly> | Ore = <includeonly>[[Category:Tags/Ore]]</includeonly> | OreIron = <includeonly>[[Category:Tags/OreIron]]</includeonly> | Ingot = <includeonly>[[Category:Tags/Ingot]]</includeonly> | IngotIron = <includeonly>[[Category:Tags/IngotIron]]</includeonly> | Meat = <includeonly>[[Category:Tags/Meat]]</includeonly> | Berry = <includeonly>[[Category:Tags/Berry]]</includeonly> | Timber = <includeonly>[[Category:Tags/Timber]]</includeonly> | ProjectileCatapult = <includeonly>[[Category:Tags/ProjectileCatapult]]</includeonly> | Torch = <includeonly>[[Category:Tags/Torch]]</includeonly> | Flag = <includeonly>[[Category:Tags/Flag]]</includeonly> | Harvest = <includeonly>[[Category:Tags/Harvest]]</includeonly> | Dish = <includeonly>[[Category:Tags/Dish]]</includeonly> | Rope = <includeonly>[[Category:Tags/Rope]]</includeonly> | }}|<!--false--><includeonly>[[Category:Missing_information]]</includeonly>}}</p><noinclude> | <p style="margin-left: 1.6em;">{{{tags|<Information Missing>}}}{{#if:{{{tags|}}}|<!--true-->{{#switch: {{{tags}}} | ScrapWood = <includeonly>[[Category:Tags/ScrapWood]]</includeonly> | Ore = <includeonly>[[Category:Tags/Ore]]</includeonly> | OreIron = <includeonly>[[Category:Tags/OreIron]]</includeonly> | Ingot = <includeonly>[[Category:Tags/Ingot]]</includeonly> | IngotIron = <includeonly>[[Category:Tags/IngotIron]]</includeonly> | Meat = <includeonly>[[Category:Tags/Meat]]</includeonly> | Berry = <includeonly>[[Category:Tags/Berry]]</includeonly> | Timber = <includeonly>[[Category:Tags/Timber]]</includeonly> | ProjectileCatapult = <includeonly>[[Category:Tags/ProjectileCatapult]]</includeonly> | Torch = <includeonly>[[Category:Tags/Torch]]</includeonly> | Flag = <includeonly>[[Category:Tags/Flag]]</includeonly> | Harvest = <includeonly>[[Category:Tags/Harvest]]</includeonly> | Dish = <includeonly>[[Category:Tags/Dish]]</includeonly> | Rope = <includeonly>[[Category:Tags/Rope]]</includeonly> | }}|<!--false--><includeonly>[[Category:Missing_information]]</includeonly>}}</p><noinclude> | ||
Revision as of 16:31, 27 July 2017
Tag
- This item has the following tag(s)
<Information Missing>
Usage
The Tag template is meant to be used by items that have tags in their definitions.
{{Tag|tags=<tags?>}}
- The code above can be pasted into your page and edited.
- Items marked with a "?" will display <Information Missing> if they are not filled in.
- Template conditionally adds the following categories:
- Category:Missing_information
- Category:Tags/ScrapWood
- Category:Tags/Ore
- Category:Tags/OreIron
- Category:Tags/Ingot
- Category:Tags/IngotIron
- Category:Tags/Meat
- Category:Tags/Berry
- Category:Tags/Timber
- Category:Tags/ProjectileCatapult
- Category:Tags/Torch
- Category:Tags/Flag
- Category:Tags/Harvest
- Category:Tags/Dish
- Category:Tags/Rope