Template:Tag: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
(Created page with "<h2>Tag</h2> ;This item has the following tags <p style="margin-left: 1.6em;">{{{tags|<Information Missing>}}}{{#if:{{{tags|}}}|<!--true-->{{#ifeq:{{{tags}}}|ScrapWood|<!--tru...")
 
mNo edit summary
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
<h2>Tag</h2>
{{#ifeq:{{{hideheading|}}}|true|<!--TRUE-->|<!--FALSE--><h2>[[:Category:Tag|Tag]]</h2>
;This item has the following tags
;This item has the following tag(s)}}
<p style="margin-left: 1.6em;">{{{tags|<Information Missing>}}}{{#if:{{{tags|}}}|<!--true-->{{#ifeq:{{{tags}}}|ScrapWood|<!--true--><includeonly>[[Category:Tags/ScrapWood]]</includeonly>}}{{#ifeq:{{{tags}}}|Ore|<!--true--><includeonly>[[Category:Tags/Ore]]</includeonly>}}{{#ifeq:{{{tags}}}|OreIron|<!--true--><includeonly>[[Category:Tags/OreIron]]</includeonly>}}{{#ifeq:{{{tags}}}|Ingot|<!--true--><includeonly>[[Category:Tags/Ingot]]</includeonly>}}{{#ifeq:{{{tags}}}|IngotIron|<!--true--><includeonly>[[Category:Tags/IngotIron]]</includeonly>}}{{#ifeq:{{{tags}}}|Meat|<!--true--><includeonly>[[Category:Tags/Meat]]</includeonly>}}{{#ifeq:{{{tags}}}|Berry|<!--true--><includeonly>[[Category:Tags/Berry]]</includeonly>}}{{#ifeq:{{{tags}}}|Timber|<!--true--><includeonly>[[Category:Tags/Timber]]</includeonly>}}{{#ifeq:{{{tags}}}|ProjectileCatapult|<!--true--><includeonly>[[Category:Tags/ProjectileCatapult]]</includeonly>}}{{#ifeq:{{{tags}}}|Torch|<!--true--><includeonly>[[Category:Tags/Torch]]</includeonly>}}{{#ifeq:{{{tags}}}|Flag|<!--true--><includeonly>[[Category:Tags/Flag]]</includeonly>}}{{#ifeq:{{{tags}}}|Harvest|<!--true--><includeonly>[[Category:Tags/Harvest]]</includeonly>}}{{#ifeq:{{{tags}}}|Dish|<!--true--><includeonly>[[Category:Tags/Dish]]</includeonly>}}{{#ifeq:{{{tags}}}|Rope|<!--true--><includeonly>[[Category:Tags/Rope]]</includeonly>}}|<!--false--><includeonly>[[Category:Missing_information]]</includeonly>}}</p><noinclude>
<p style="margin-left: 1.6em;">{{#if:{{{tag|}}}|<!--true-->{{#switch: {{{tag}}} <!--
-->| ScrapWood = [[:Category:Tag/ScrapWood{{!}}ScrapWood]]<includeonly>[[Category:Tag/ScrapWood]]</includeonly> <!--
-->| Log = [[:Category:Tag/Log{{!}}Log]]<includeonly>[[Category:Tag/Log]]</includeonly> <!--
-->| Ore = [[:Category:Tag/Ore{{!}}Ore]] <includeonly>[[Category:Tag/Ore]]</includeonly> <!--
-->| OreIron = [[:Category:Tag/OreIron{{!}}OreIron]]<includeonly>[[Category:Tag/OreIron]]</includeonly> <!--
-->| OreCopper = [[:Category:Tag/OreCopper{{!}}OreCopper]]<includeonly>[[Category:Tag/OreCopper]]</includeonly> <!--
-->| OreTin = [[:Category:Tag/OreTin{{!}}OreTin]]<includeonly>[[Category:Tag/OreTin]]</includeonly> <!--
-->| OreSilver = [[:Category:Tag/OreSilver{{!}}OreSilver]]<includeonly>[[Category:Tag/OreSilver]]</includeonly> <!--
-->| OreGold = [[:Category:Tag/OreGold{{!}}OreGold]]<includeonly>[[Category:Tag/OreGold]]</includeonly> <!--
-->| Ingot = [[:Category:Tag/Ingot{{!}}Ingot]]<includeonly>[[Category:Tag/Ingot]]</includeonly> <!--
-->| IngotIron = [[:Category:Tag/IngotIron{{!}}IngotIron]]<includeonly>[[Category:Tag/IngotIron]]</includeonly> <!--
-->| IngotCopper = [[:Category:Tag/IngotCopper{{!}}IngotCopper]]<includeonly>[[Category:Tag/IngotCopper]]</includeonly> <!--
-->| IngotTin = [[:Category:Tag/IngotTin{{!}}IngotTin]]<includeonly>[[Category:Tag/IngotTin]]</includeonly> <!--
-->| IngotBronze = [[:Category:Tag/IngotBronze{{!}}IngotBronze]]<includeonly>[[Category:Tag/IngotBronze]]</includeonly> <!--
-->| IngotSteel = [[:Category:Tag/IngotSteel{{!}}IngotSteel]]<includeonly>[[Category:Tag/IngotSteel]]</includeonly> <!--
-->| IngotGold = [[:Category:Tag/IngotGold{{!}}IngotGold]]<includeonly>[[Category:Tag/IngotGold]]</includeonly> <!--
-->| IngotSilver = [[:Category:Tag/IngotSilver{{!}}IngotSilver]]<includeonly>[[Category:Tag/IngotSilver]]</includeonly> <!--
-->| Meat = [[:Category:Tag/Meat{{!}}Meat]]<includeonly>[[Category:Tag/Meat]]</includeonly> <!--
-->| Berry = [[:Category:Tag/Berry{{!}}Berry]]<includeonly>[[Category:Tag/Berry]]</includeonly> <!--
-->| Timber = [[:Category:Tag/Timber{{!}}Timber]]<includeonly>[[Category:Tag/Timber]]</includeonly> <!--
-->| Plank = [[:Category:Tag/Plank{{!}}Plank]]<includeonly>[[Category:Tag/Plank]]</includeonly> <!--
-->| RoofTileStack = [[:Category:Tag/RoofTileStack{{!}}RoofTileStack]]<includeonly>[[Category:Tag/RoofTileStack]]</includeonly> <!--
-->| HammerBuilding = [[:Category:Tag/HammerBuilding{{!}}HammerBuilding]]<includeonly>[[Category:Tag/HammerBuilding]]</includeonly> <!--
-->| Schematic = [[:Category:Tag/Schematic{{!}}Schematic]]<includeonly>[[Category:Tag/Schematic]]</includeonly> <!--
-->| ProjectileCatapult = [[:Category:Tag/ProjectileCatapult{{!}}ProjectileCatapult]]<includeonly>[[Category:Tag/ProjectileCatapult]][[Category:Combat]]</includeonly> <!--
-->| Torch = [[:Category:Tag/Torch{{!}}Torch]]<includeonly>[[Category:Tag/Torch]]</includeonly> <!--
-->| Flag = [[:Category:Tag/Flag{{!}}Flag]]<includeonly>[[Category:Tag/Flag]]</includeonly> <!--
-->| Harvest = [[:Category:Tag/Harvest{{!}}Harvest]]<includeonly>[[Category:Tag/Harvest]][[Category:Farming]]</includeonly> <!--
-->| Dish = [[:Category:Tag/Dish{{!}}Dish]]<includeonly>[[Category:Tag/Dish]]</includeonly> <!--
-->| Rope = [[:Category:Tag/Rope{{!}}Rope]]<includeonly>[[Category:Tag/Rope]]</includeonly> <!--
-->| Map = [[:Category:Tag/Map{{!}}Map]]<includeonly>[[Category:Tag/Map]]</includeonly> <!--
-->| SeedBag = [[:Category:Tag/SeedBag{{!}}SeedBag]]<includeonly>[[Category:Tag/SeedBag]]</includeonly> <!--
-->| Fruit = [[:Category:Tag/Fruit{{!}}Fruit]]<includeonly>[[Category:Tag/Fruit]]</includeonly> <!--
-->| Vegetable = [[:Category:Tag/Vegetable{{!}}Vegetable]]<includeonly>[[Category:Tag/Vegetable]]</includeonly> <!--
-->| Flavoring = [[:Category:Tag/Flavoring{{!}}Flavoring]]<includeonly>[[Category:Tag/Flavoring]]</includeonly> <!--
-->| WeaponMelee = [[:Category:Tag/WeaponMelee{{!}}WeaponMelee]]<includeonly>[[Category:Tag/WeaponMelee]][[Category:Combat]]</includeonly> <!--
-->| AxeCutting = [[:Category:Tag/AxeCutting{{!}}AxeCutting]]<includeonly>[[Category:Tag/AxeCutting]]</includeonly> <!--
-->| Pickaxe = [[:Category:Tag/Pickaxe{{!}}Pickaxe]]<includeonly>[[Category:Tag/Pickaxe]]</includeonly> <!--
-->| Shovel = [[:Category:Tag/Shovel{{!}}Shovel]]<includeonly>[[Category:Tag/Shovel]]</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>}}<!--
-->|<!--false--><Information Missing><includeonly>[[Category:Missing_information]]</includeonly>}}</p><noinclude><!--


==Usage==
 
The Tag template is meant to be used by items that have tags in their definitions.
-->==Usage==
<pre>{{Tag|tags=<tags?>}}</pre>
The Tag template is meant to be used by items that have tag in their definitions.
<pre>{{Tag|tag=<tag?>}}</pre>
*The code above can be pasted into your page and edited.
*The code above can be pasted into your page and edited.
*To add additional tags, include the template again for each tag but use <code>|hideheading=true</code>
*Items marked with a "?" will display <Information Missing> if they are not filled in.
*Items marked with a "?" will display <Information Missing> if they are not filled in.
*Template conditionally adds the following categories:
*Template conditionally adds the following categories:
:* [[:Category:Missing_information]]
{| width=100%
:* [[:Category:Tags/ScrapWood]]
|-
:* [[:Category:Tags/Ore]]
| valign="top" |
:* [[:Category:Tags/OreIron]]
[[:Category:Missing_information]]<br/>
:* [[:Category:Tags/Ingot]]
[[:Category:Combat]]<br/>
:* [[:Category:Tags/IngotIron]]
[[:Category:tag/ScrapWood]]<br/>
:* [[:Category:Tags/Meat]]
[[:Category:Tag/Log]]<br/>
:* [[:Category:Tags/Berry]]
[[:Category:tag/Ore]]<br/>
:* [[:Category:Tags/Timber]]
[[:Category:tag/OreIron]]<br/>
:* [[:Category:Tags/ProjectileCatapult]]
[[:Category:tag/OreCopper]]<br/>
:* [[:Category:Tags/Torch]]
[[:Category:tag/OreTin]]<br/>
:* [[:Category:Tags/Flag]]
[[:Category:tag/OreSilver]]<br/>
:* [[:Category:Tags/Harvest]]
[[:Category:tag/OreGold]]<br/>
:* [[:Category:Tags/Dish]]
[[:Category:tag/Ingot]]<br/>
:* [[:Category:Tags/Rope]]</noinclude>
[[:Category:tag/IngotIron]]<br/>
[[:Category:tag/IngotCopper]]<br/>
[[:Category:tag/IngotTin]]<br/>
[[:Category:tag/IngotBronze]]<br/>
[[:Category:tag/IngotSteel]]<br/>
| valign="top" |
[[:Category:tag/IngotGold]]<br/>
[[:Category:tag/IngotSilver]]<br/>
[[:Category:tag/Meat]]<br/>
[[:Category:tag/Berry]]<br/>
[[:Category:tag/Timber]]<br/>
[[:Category:tag/Plank]]<br/>
[[:Category:tag/RoofTileStack]]<br/>
[[:Category:tag/HammerBuilding]]<br/>
[[:Category:tag/Schematic]]<br/>
[[:Category:tag/ProjectileCatapult]]<br/>
[[:Category:tag/Torch]]<br/>
[[:Category:tag/Flag]]<br/>
[[:Category:tag/Harvest]]<br/>
[[:Category:Farming]]<br/>
[[:Category:tag/Dish]]<br/>
[[:Category:tag/Rope]]<br/>
| valign="top" |
[[:Category:tag/Map]]<br/>
[[:Category:tag/SeedBag]]<br/>
[[:Category:tag/Fruit]]<br/>
[[:Category:tag/Vegetable]]<br/>
[[:Category:tag/Flavoring]]<br/>
[[:Category:tag/WeaponMelee]]<br/>
[[:Category:tag/AxeCutting]]<br/>
[[:Category:tag/Pickaxe]]<br/>
[[:Category:tag/Shovel]]<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}}
 
[[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:

Category:Missing_information
Category:Combat
Category:tag/ScrapWood
Category:Tag/Log
Category:tag/Ore
Category:tag/OreIron
Category:tag/OreCopper
Category:tag/OreTin
Category:tag/OreSilver
Category:tag/OreGold
Category:tag/Ingot
Category:tag/IngotIron
Category:tag/IngotCopper
Category:tag/IngotTin
Category:tag/IngotBronze
Category:tag/IngotSteel

Category:tag/IngotGold
Category:tag/IngotSilver
Category:tag/Meat
Category:tag/Berry
Category:tag/Timber
Category:tag/Plank
Category:tag/RoofTileStack
Category:tag/HammerBuilding
Category:tag/Schematic
Category:tag/ProjectileCatapult
Category:tag/Torch
Category:tag/Flag
Category:tag/Harvest
Category:Farming
Category:tag/Dish
Category:tag/Rope

Category:tag/Map
Category:tag/SeedBag
Category:tag/Fruit
Category:tag/Vegetable
Category:tag/Flavoring
Category:tag/WeaponMelee
Category:tag/AxeCutting
Category:tag/Pickaxe
Category:tag/Shovel
Category:tag/WeaponRanged
Category:tag/WeaponShort
Category:tag/Plow
Category:tag/ToolLong
Category:tag/PlantMatter
Category:tag/DustOre

ORDERED TEMPLATE: This template is typically used on pages with other templates. It should be added in the order specified in Template Ordering.