Difference between revisions of "Template:ItemSetOverview"

From ChatWars Wiki
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#vardefine: setName | {{{source|{{PAGENAME}} }}} }}
 
{{#vardefine: setName | {{{source|{{PAGENAME}} }}} }}
 
<includeonly>
 
<includeonly>
a: {{#ask: [[Concept:{{#var: setName}}]] [[ItemType::Protective Gear]] [[ItemSubType::Helmet]] |format=template | template = IsEmpty|mainlabel=- |headers=hide |?{{PAGENAME}} }} :a
+
{{#ifeq: {{RemoveSMWTags|string={{#ask: [[Concept:{{#var: setName}}]] [[ItemType::Protective Gear]] [[ItemSubType::Helmet]] |format=template | template = IsEmpty|mainlabel=- |headers=hide |?ArmorClass# }}}} | 1
{{#if: {{#ask: [[Concept:{{#var: setName}}]] [[ItemType::Protective Gear]] [[ItemSubType::Helmet]] |mainlabel=- |headers=hide |?ArmorClass# }}
 
 
   | The [[Protective Gear]] of the {{#var: setName}} is affected by the<!--
 
   | The [[Protective Gear]] of the {{#var: setName}} is affected by the<!--
 
--> {{#ask: [[Concept:{{#var: setName}}]] [[ItemType::Protective Gear]] [[ItemSubType::Helmet]]
 
--> {{#ask: [[Concept:{{#var: setName}}]] [[ItemType::Protective Gear]] [[ItemSubType::Helmet]]
Line 10: Line 9:
 
  |template=GenerateMastery
 
  |template=GenerateMastery
 
  |?ArmorClass#
 
  |?ArmorClass#
}} [[Skill]]. The set consists of following items:
+
}} [[Skill]].
 
   | The [[Protective Gear]] of the {{#var: setName}} is not affected by any specialised Mastery Skill and only gets a bonus from the [[Armor Mastery]] [[Skill]].
 
   | The [[Protective Gear]] of the {{#var: setName}} is not affected by any specialised Mastery Skill and only gets a bonus from the [[Armor Mastery]] [[Skill]].
}}
+
}} The set consists of following items:
 
<!--=[[Protective Gear]] of the {{#var: setName}}=-->
 
<!--=[[Protective Gear]] of the {{#var: setName}}=-->
 
{| class="wikitable"
 
{| class="wikitable"
Line 26: Line 25:
 
|-
 
|-
 
{{#ask:
 
{{#ask:
  [[Concept:{{#var: setName}}]] [[ItemType::Protective Gear]]
+
  [[Concept:{{#var: setName}}]]
  |default=The {{#var: setName}} contains no [[Protective Gear]].
+
  |default=The {{#var: setName}} contains no items.
 
  |format=template
 
  |format=template
 
  |template=ItemPreviewRow
 
  |template=ItemPreviewRow
 
  |sort=LevelEquipRequirement, ItemID
 
  |sort=LevelEquipRequirement, ItemID
 
  |order=asc
 
  |order=asc
 +
|userparam=compatibility:protective
 
}}
 
}}
 
|}
 
|}

Latest revision as of 09:54, 30 August 2018


This template automatically shows an overview of items of a given set (eg: Hunter Armor Set).