Difference between revisions of "Template:ItemSetOverview"

From ChatWars Wiki
Jump to: navigation, search
 
(39 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine: setName | {{{set|{{PAGENAME}} }}} }}
+
{{#vardefine: setName | {{{source|{{PAGENAME}} }}} }}
 
<includeonly>
 
<includeonly>
=[[Weapon|Weapons]] of the {{#var: setName}}=
+
{{#ifeq: {{RemoveSMWTags|string={{#ask: [[Concept:{{#var: setName}}]] [[ItemType::Protective Gear]] [[ItemSubType::Helmet]] |format=template | template = IsEmpty|mainlabel=- |headers=hide |?ArmorClass# }}}} | 1
 +
  | The [[Protective Gear]] of the {{#var: setName}} is affected by the<!--
 +
--> {{#ask: [[Concept:{{#var: setName}}]] [[ItemType::Protective Gear]] [[ItemSubType::Helmet]]
 +
|mainlabel=-
 +
|headers=hide
 +
|format=template
 +
|template=GenerateMastery
 +
|?ArmorClass#
 +
}} [[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}}=-->
 
{| class="wikitable"
 
{| class="wikitable"
 
!Name
 
!Name
Line 7: Line 18:
 
!Defense
 
!Defense
 
!Mana
 
!Mana
!Ammunition
+
!Armor Class
 
![[Expertise]]
 
![[Expertise]]
 
!ID
 
!ID
 
!Acquisition
 
!Acquisition
![[Shop|Castle Shop]] price
+
![[Shop|Castle Shop]] price (buy/sell)
 
|-
 
|-
 
{{#ask:
 
{{#ask:
  [[Concept:{{#var: setName}}]] [[ItemType::Weapon]]
+
  [[Concept:{{#var: setName}}]]
  |default=The {{#var: setName}} contains no [[Weapon|weapons]].
+
  |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=verbose
+
  |userparam=compatibility:protective
 
}}
 
}}
 
|}
 
|}
  
 
=[[Protective Gear]] of the {{#var: setName}}=
 
{| class="wikitable"
 
!Name
 
!Attack
 
!Defense
 
!Mana
 
!Armor Class
 
![[Expertise]]
 
!ID
 
!Acquisition
 
![[Shop|Castle Shop]] price
 
|-
 
 
{{#ask:
 
{{#ask:
 
  [[Concept:{{#var: setName}}]] [[ItemType::Protective Gear]]
 
  [[Concept:{{#var: setName}}]] [[ItemType::Protective Gear]]
  |default=The {{#var: setName}} contains no [[Protective Gear]].
+
  |mainlabel=-
 +
|headers=hide
 
  |format=template
 
  |format=template
  |template=ItemPreviewRow
+
  |template=AddCategory
  |sort=LevelEquipRequirement, ItemID
+
  |link=none
  |order=asc
+
  |?ArmorClass
 
}}
 
}}
|}
 
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
This template automatically shows an overview of items of a given set.  
+
This template automatically shows an overview of items of a given set (eg: [[Hunter Armor Set]]).  
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

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).