Difference between revisions of "Template:UsageList"

From ChatWars Wiki
Jump to: navigation, search
(added Misc)
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
==Weapons==
 
 
{{#ask:
 
{{#ask:
 
  [[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Weapon]]
 
  [[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Weapon]]
 +
|mainlabel=-
 +
|headers=hide
 +
|intro=<span style="font-size:21px; font-family:Linux Libertine, Georgia, Times, serif">Weapons</span><br>
 +
}}<!--
 +
-->{{#ask:
 +
[[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Weapon]] [[ItemSubType::Bow]]
 +
|headers=hide
 +
|format=template
 +
|template=UsageListRow
 +
|intro=<span style="font-size:1.17em; font-weight:bold">Bows</span>
 +
|outro=<br><br>
 +
|?{{PAGENAME}}
 +
}}<!--
 +
-->{{#ask:
 +
[[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Weapon]] [[ItemSubType::Blunt]]
 +
|headers=hide
 +
|format=template
 +
|template=UsageListRow
 +
|intro=<span style="font-size:1.17em; font-weight:bold">Blunt</span>
 +
|outro=<br><br>
 +
|?{{PAGENAME}}
 +
}}<!--
 +
-->{{#ask:
 +
[[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Weapon]] [[ItemSubType::Spear]]
 +
|headers=hide
 +
|format=template
 +
|template=UsageListRow
 +
|intro=<span style="font-size:1.17em; font-weight:bold">Spears</span>
 +
|outro=<br><br>
 +
|?{{PAGENAME}}
 +
}}<!--
 +
-->{{#ask:
 +
[[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Weapon]] [[ItemSubType::Sword]]
 +
|headers=hide
 +
|format=template
 +
|template=UsageListRow
 +
|intro=<span style="font-size:1.17em; font-weight:bold">Swords</span>
 +
|outro=<br><br>
 +
|?{{PAGENAME}}
 +
}}<!--
 +
-->{{#ask:
 +
[[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Weapon]] [[ItemSubType::Dagger]]
 +
|headers=hide
 +
|format=template
 +
|template=UsageListRow
 +
|intro=<span style="font-size:1.17em; font-weight:bold">Daggers</span>
 +
|outro=<br><br>
 +
|?{{PAGENAME}}
 +
}}<!--
 +
-->{{#ask:
 +
[[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Weapon]] [[ItemSubType::Shield]]
 
  |headers=hide
 
  |headers=hide
 
  |format=template
 
  |format=template
 
  |template=UsageListRow
 
  |template=UsageListRow
  |default=No Weapons use '''{{PAGENAME}}''' in its recipe
+
  |intro=<span style="font-size:1.17em; font-weight:bold">Shields</span>
 +
|outro=<br><br>
 
  |?{{PAGENAME}}
 
  |?{{PAGENAME}}
}}
+
}}<!--
  
==Protective Gear==
+
-->{{#ask:
{{#ask:
 
 
  [[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Protective Gear]]
 
  [[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Protective Gear]]
 +
|mainlabel=-
 +
|headers=hide
 +
|intro=<span style="font-size:21px; font-family:Linux Libertine, Georgia, Times, serif">Protective Gear</span><br>
 +
}}<!--
 +
-->{{#ask:
 +
[[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Protective Gear]] [[ItemSubType::Helmet]]
 
  |headers=hide
 
  |headers=hide
 
  |format=template
 
  |format=template
 
  |template=UsageListRow
 
  |template=UsageListRow
  |default=No Protective Gear use '''{{PAGENAME}}''' in its recipe
+
  |intro=<span style="font-size:1.17em; font-weight:bold">Helmet</span>
 +
|outro=<br><br>
 
  |?{{PAGENAME}}
 
  |?{{PAGENAME}}
}}
+
}}<!--
 +
-->{{#ask:
 +
[[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Protective Gear]] [[ItemSubType::Armor]]
 +
|headers=hide
 +
|format=template
 +
|template=UsageListRow
 +
|intro=<span style="font-size:1.17em; font-weight:bold">Armor</span>
 +
|outro=<br><br>
 +
|?{{PAGENAME}}
 +
}}<!--
 +
-->{{#ask:
 +
[[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Protective Gear]] [[ItemSubType::Gloves]]
 +
|headers=hide
 +
|format=template
 +
|template=UsageListRow
 +
|intro=<span style="font-size:1.17em; font-weight:bold">Gloves</span>
 +
|outro=<br><br>
 +
|?{{PAGENAME}}
 +
}}<!--
 +
-->{{#ask:
 +
[[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Protective Gear]] [[ItemSubType::Boots]]
 +
|headers=hide
 +
|format=template
 +
|template=UsageListRow
 +
|intro=<span style="font-size:1.17em; font-weight:bold">Boots</span>
 +
|outro=<br><br>
 +
|?{{PAGENAME}}
 +
}}<!--
  
==Capes==
+
-->{{#ask:
{{#ask:
 
 
  [[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Cape]]
 
  [[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Cape]]
 
  |headers=hide
 
  |headers=hide
 
  |format=template
 
  |format=template
 
  |template=UsageListRow
 
  |template=UsageListRow
  |default=No Capes use '''{{PAGENAME}}''' in its recipe
+
  |intro=<span style="font-size:21px; font-family:Linux Libertine, Georgia, Times, serif">Capes</span>
 +
|outro=<br><br>
 
  |?{{PAGENAME}}
 
  |?{{PAGENAME}}
}}
+
}}<!--
  
==Resources==
+
-->{{#ask:
{{#ask:
 
 
  [[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Resource]]
 
  [[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Resource]]
 
  |headers=hide
 
  |headers=hide
 
  |format=template
 
  |format=template
 
  |template=UsageListRow
 
  |template=UsageListRow
  |default=No Resources use '''{{PAGENAME}}''' in its recipe
+
  |intro=<span style="font-size:21px; font-family:Linux Libertine, Georgia, Times, serif">Resources</span>
 +
|outro=<br><br>
 
  |?{{PAGENAME}}
 
  |?{{PAGENAME}}
}}
+
}}<!--
  
==Consumables==
+
-->{{#ask:
{{#ask:
 
 
  [[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Consumable]]
 
  [[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Consumable]]
 
  |headers=hide
 
  |headers=hide
 
  |format=template
 
  |format=template
 
  |template=UsageListRow
 
  |template=UsageListRow
  |default=No Consumables use '''{{PAGENAME}}''' in its recipe
+
  |intro=<span style="font-size:21px; font-family:Linux Libertine, Georgia, Times, serif">Consumables</span>
 +
|outro=<br><br>
 
  |?{{PAGENAME}}
 
  |?{{PAGENAME}}
}}
+
}}<!--
  
 
+
-->{{#ask:
==Miscellaneous==
 
{{#ask:
 
 
  [[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Misc]]
 
  [[has subobject.Crafting ingredient::{{PAGENAME}}]] [[ItemType::Misc]]
 
  |headers=hide
 
  |headers=hide
 
  |format=template
 
  |format=template
 
  |template=UsageListRow
 
  |template=UsageListRow
  |default=No Miscellaneous items use '''{{PAGENAME}}''' in its recipe
+
  |intro=<span style="font-size:21px; font-family:Linux Libertine, Georgia, Times, serif">Miscellaneous</span>
 +
|outro=<br><br>
 
  |?{{PAGENAME}}
 
  |?{{PAGENAME}}
 
}}
 
}}
 
 
</includeonly>
 
</includeonly>
 
 
<noinclude>
 
<noinclude>
This template generates a list of all items/resources that use the current resource (of current page).
+
This template generates a list of all items/resources that use the current resource (of current page). Uses [[Template:UsageListRow]] to format each result.
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:40, 19 October 2018


This template generates a list of all items/resources that use the current resource (of current page). Uses Template:UsageListRow to format each result.