Template:Tag: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#ifeq:{{{hideheading|}}}|true|<!--TRUE-->|<!--FALSE--><h2>Tag</h2> | {{#ifeq:{{{hideheading|}}}|true|<!--TRUE-->|<!--FALSE--><h2>[[:Category:Tag|Tag]]</h2> | ||
;This item has the following tag(s)}} | ;This item has the following tag(s)}} | ||
<p style="margin-left: 1.6em;">{{#if:{{{tag|}}}|<!--true-->{{#switch: {{{tag}}} <!-- | <p style="margin-left: 1.6em;">{{#if:{{{tag|}}}|<!--true-->{{#switch: {{{tag}}} <!-- | ||
Line 25: | Line 25: | ||
-->| HammerBuilding = [[:Category:Tag/HammerBuilding{{!}}HammerBuilding]]<includeonly>[[Category:Tag/HammerBuilding]]</includeonly> <!-- | -->| HammerBuilding = [[:Category:Tag/HammerBuilding{{!}}HammerBuilding]]<includeonly>[[Category:Tag/HammerBuilding]]</includeonly> <!-- | ||
-->| Schematic = [[:Category:Tag/Schematic{{!}}Schematic]]<includeonly>[[Category:Tag/Schematic]]</includeonly> <!-- | -->| Schematic = [[:Category:Tag/Schematic{{!}}Schematic]]<includeonly>[[Category:Tag/Schematic]]</includeonly> <!-- | ||
-->| ProjectileCatapult = [[:Category:Tag/ProjectileCatapult{{!}}ProjectileCatapult]]<includeonly>[[Category:Tag/ProjectileCatapult]]</includeonly> <!-- | -->| ProjectileCatapult = [[:Category:Tag/ProjectileCatapult{{!}}ProjectileCatapult]]<includeonly>[[Category:Tag/ProjectileCatapult]][[Category:Combat]]</includeonly> <!-- | ||
-->| Torch = [[:Category:Tag/Torch{{!}}Torch]]<includeonly>[[Category:Tag/Torch]]</includeonly> <!-- | -->| Torch = [[:Category:Tag/Torch{{!}}Torch]]<includeonly>[[Category:Tag/Torch]]</includeonly> <!-- | ||
-->| Flag = [[:Category:Tag/Flag{{!}}Flag]]<includeonly>[[Category:Tag/Flag]]</includeonly> <!-- | -->| Flag = [[:Category:Tag/Flag{{!}}Flag]]<includeonly>[[Category:Tag/Flag]]</includeonly> <!-- | ||
Line 36: | Line 36: | ||
-->| Vegetable = [[:Category:Tag/Vegetable{{!}}Vegetable]]<includeonly>[[Category:Tag/Vegetable]]</includeonly> <!-- | -->| Vegetable = [[:Category:Tag/Vegetable{{!}}Vegetable]]<includeonly>[[Category:Tag/Vegetable]]</includeonly> <!-- | ||
-->| Flavoring = [[:Category:Tag/Flavoring{{!}}Flavoring]]<includeonly>[[Category:Tag/Flavoring]]</includeonly> <!-- | -->| Flavoring = [[:Category:Tag/Flavoring{{!}}Flavoring]]<includeonly>[[Category:Tag/Flavoring]]</includeonly> <!-- | ||
-->| WeaponMelee = [[:Category:Tag/WeaponMelee{{!}}WeaponMelee]]<includeonly>[[Category:Tag/WeaponMelee]]</includeonly> <!-- | -->| WeaponMelee = [[:Category:Tag/WeaponMelee{{!}}WeaponMelee]]<includeonly>[[Category:Tag/WeaponMelee]][[Category:Combat]]</includeonly> <!-- | ||
-->| AxeCutting = [[:Category:Tag/AxeCutting{{!}}AxeCutting]]<includeonly>[[Category:Tag/AxeCutting]]</includeonly> <!-- | -->| AxeCutting = [[:Category:Tag/AxeCutting{{!}}AxeCutting]]<includeonly>[[Category:Tag/AxeCutting]]</includeonly> <!-- | ||
-->| Pickaxe = [[:Category:Tag/Pickaxe{{!}}Pickaxe]]<includeonly>[[Category:Tag/Pickaxe]]</includeonly> <!-- | -->| Pickaxe = [[:Category:Tag/Pickaxe{{!}}Pickaxe]]<includeonly>[[Category:Tag/Pickaxe]]</includeonly> <!-- | ||
-->| Shovel = [[:Category:Tag/Shovel{{!}}Shovel]]<includeonly>[[Category:Tag/Shovel]]</includeonly> <!-- | -->| Shovel = [[:Category:Tag/Shovel{{!}}Shovel]]<includeonly>[[Category:Tag/Shovel]]</includeonly> <!-- | ||
-->| WeaponRanged = [[:Category:Tag/WeaponRanged{{!}}WeaponRanged]]<includeonly>[[Category:Tag/WeaponRanged]]</includeonly> <!-- | -->| WeaponRanged = [[:Category:Tag/WeaponRanged{{!}}WeaponRanged]]<includeonly>[[Category:Tag/WeaponRanged]][[Category:Combat]]</includeonly> <!-- | ||
-->| WeaponShort = [[:Category:Tag/WeaponShort{{!}}WeaponShort]]<includeonly>[[Category:Tag/WeaponShort]][[Category:Combat]]</includeonly> <!-- | |||
-->| Plow = [[:Category:Tag/Plow{{!}}Plow]]<includeonly>[[Category:Tag/Plow]]</includeonly> <!-- | |||
-->| ToolLong = [[:Category:Tag/ToolLong{{!}}ToolLong]]<includeonly>[[Category:Tag/ToolLong]]</includeonly> <!-- | |||
-->| PlantMatter = [[:Category:Tag/PlantMatter{{!}}PlantMatter]]<includeonly>[[Category:Tag/PlantMatter]]</includeonly> <!-- | |||
-->| DustOre = [[:Category:Tag/DustOre{{!}}DustOre]]<includeonly>[[Category:Tag/DustOre]]</includeonly> <!-- | |||
-->| <Tag Not Recognized. New Tag?><includeonly>[[Category:Bad Tag]]</includeonly>}}<!-- | -->| <Tag Not Recognized. New Tag?><includeonly>[[Category:Bad Tag]]</includeonly>}}<!-- | ||
-->|<!--false--><Information Missing><includeonly>[[Category:Missing_information]]</includeonly>}}</p><noinclude><!-- | -->|<!--false--><Information Missing><includeonly>[[Category:Missing_information]]</includeonly>}}</p><noinclude><!-- | ||
Line 56: | Line 61: | ||
| valign="top" | | | valign="top" | | ||
[[:Category:Missing_information]]<br/> | [[:Category:Missing_information]]<br/> | ||
[[:Category:Combat]]<br/> | |||
[[:Category:tag/ScrapWood]]<br/> | [[:Category:tag/ScrapWood]]<br/> | ||
[[:Category:Tag/Log]]<br/> | [[:Category:Tag/Log]]<br/> | ||
Line 69: | Line 75: | ||
[[:Category:tag/IngotTin]]<br/> | [[:Category:tag/IngotTin]]<br/> | ||
[[:Category:tag/IngotBronze]]<br/> | [[:Category:tag/IngotBronze]]<br/> | ||
[[:Category:tag/IngotSteel]]<br/> | |||
| valign="top" | | | valign="top" | | ||
[[:Category:tag/IngotGold]]<br/> | [[:Category:tag/IngotGold]]<br/> | ||
[[:Category:tag/IngotSilver]]<br/> | [[:Category:tag/IngotSilver]]<br/> | ||
Line 84: | Line 90: | ||
[[:Category:tag/Flag]]<br/> | [[:Category:tag/Flag]]<br/> | ||
[[:Category:tag/Harvest]]<br/> | [[:Category:tag/Harvest]]<br/> | ||
[[:Category:Farming]]<br/> | [[:Category:Farming]]<br/> | ||
[[:Category:tag/Dish]]<br/> | [[:Category:tag/Dish]]<br/> | ||
[[:Category:tag/Rope]]<br/> | [[:Category:tag/Rope]]<br/> | ||
| valign="top" | | |||
[[:Category:tag/Map]]<br/> | [[:Category:tag/Map]]<br/> | ||
[[:Category:tag/SeedBag]]<br/> | [[:Category:tag/SeedBag]]<br/> | ||
Line 98: | Line 104: | ||
[[:Category:tag/Shovel]]<br/> | [[:Category:tag/Shovel]]<br/> | ||
[[:Category:tag/WeaponRanged]]<br/> | [[:Category:tag/WeaponRanged]]<br/> | ||
[[:Category:tag/WeaponShort]]<br/> | |||
[[:Category:tag/Plow]]<br/> | |||
[[:Category:tag/ToolLong]]<br/> | |||
[[:Category:tag/PlantMatter]]<br/> | |||
[[:Category:tag/DustOre]]<br/> | |||
|} | |} | ||
{{:Template Ordering}} | {{:Template Ordering}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 13:29, 16 July 2022
Tag
- This item has the following tag(s)
<Information Missing>
==Usage==
The Tag template is meant to be used by items that have tag in their definitions.
{{Tag|tag=<tag?>}}
- The code above can be pasted into your page and edited.
- To add additional tags, include the template again for each tag but use
|hideheading=true
- Items marked with a "?" will display <Information Missing> if they are not filled in.
- Template conditionally adds the following categories:
ORDERED TEMPLATE: This template is typically used on pages with other templates. It should be added in the order specified in Template Ordering.