Template:ArmSub: Difference between revisions

From Exiled Kingdoms Wiki
mNo edit summary
No edit summary
 
(35 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__<noinclude>[[Category:Templates]]
__NOTOC__<noinclude>[[Category:Templates]]
{{Documentation}}</noinclude>
{{Documentation}}
{{#switch: {{{Step}}}
</noinclude>{{#switch: {{{Step}}}
|ArmCityTblx={{Tables|ArmCityTblxInput|{{{Name|}}}|{{{Cost|}}}|{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{RawResistArm|}}}|{{{RawTrait}}}}}
|ArmCityTblx={{Tables|ArmCityTblxInput|{{{Name|}}}|{{#if:{{{Markup|}}}|{{#expr:{{{Cost|}}}*{{{Markup}}}}}|{{{Cost|}}}}}|{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{RawResistArm|}}}|{{{RawTrait}}}}}
|ArmSub={{Tables|ArmSubInput|{{{Icon}}}|{{{Name|}}}|{{{Class}}}|{{{Rarity}}}|
|ArmSub={{Tables|ArmSubInput|{{{Icon}}}|{{{Name|}}}|{{{Class}}}|{{{Rarity}}}|
{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{Attribute|}}}|{{{RawResistArm|}}}|{{{RawTrait|}}}}}
{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{RawAttr|}}}|{{{RawResistArm|}}}|{{{RawTrait|}}}|{{{Cost|}}}|{{{Value|}}}}}
|ArmTbl={{Tables|ArmTblInput|{{{Icon|}}}|{{{Name|}}}|{{{Groups}}}|{{{Slot}}}|{{{Class|}}}|{{{Rarity}}}|{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{Attribute|}}}|{{{RawResistArm|}}}|{{{RawTrait}}}}}
|ArmTbl={{Tables|ArmTblInput|{{{Icon|}}}|{{{Name|}}}|{{{Groups}}}|{{{Slot}}}|{{{Class|}}}|{{{Rarity}}}|{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{RawAttr|}}}|{{{RawResistArm|}}}|{{{RawTrait}}}}}
|genSel={{{{{{Sel|}}}}}}
|genSel={{{{{{Sel|}}}}}}
|SelElement={{#ifeq:1|{{Resistances|{{{RawResistArm|}}}|Vuln|{{{Sel}}}}}|{{Tables|ArmTblInput|{{{Icon|}}}|{{{Name|}}}|{{{Groups}}}|{{{Slot}}}|{{{Class|}}}|{{{Rarity}}}|{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{Attribute|}}}|{{{RawResistArm|}}}|{{{RawTrait}}}}}
|SelElement={{#ifeq:1|{{Resistances|{{{RawResistArm|}}}|Vuln|{{{Sel}}}}}|{{Tables|ArmTblInput|{{{Icon|}}}|{{{Name|}}}|{{{Groups}}}|{{{Slot}}}|{{{Class|}}}|{{{Rarity}}}|{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{RawAttr|}}}|{{{RawResistArm|}}}|{{{RawTrait}}}}}
}}
}}
|SelTrait={{#ifeq:1|{{Traits|{{{RawTrait|}}}|Select|{{{Sel}}}}}|{{Tables|ArmTblInput|{{{Icon|}}}|{{{Name|}}}|{{{Groups}}}|{{{Slot}}}|{{{Class|}}}|{{{Rarity}}}|{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{Attribute|}}}|{{{RawResistArm|}}}|{{{RawTrait}}}}}
|SelTrait={{#ifeq:1|{{Traits|{{{RawTrait|}}}|Select|{{{Sel}}}}}|{{Tables|ArmSubInput|{{{Icon}}}|{{{Name|}}}|{{{Class}}}|{{{Rarity}}}|
{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{RawAttr|}}}|{{{RawResistArm|}}}|{{{RawTrait|}}}|{{{Cost|}}}|{{{Value|}}}}}
}}
}}
|SelGrp={{#ifeq:{{{Groups}}}|{{{Sel}}}|{{Tables|ArmSubInput|{{{Icon}}}|{{{Name|}}}|{{{Class}}}|{{{Rarity}}}|
|SelGrp={{#ifeq:{{{Groups}}}|{{{Sel}}}|{{Tables|ArmSubInput|{{{Icon}}}|{{{Name|}}}|{{{Class}}}|{{{Rarity}}}|
{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{Attribute|}}}|{{{RawResistArm|}}}|{{{RawTrait|}}}}}
{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{RawAttr|}}}|{{{RawResistArm|}}}|{{{RawTrait|}}}|{{{Cost|}}}|{{{Value|}}}}}
}}
|SelAttr={{#ifeq:1|{{Attributes|{{{RawAttr|}}}|ASel|{{{Sel}}}}}|{{Tables|ArmSubInput|{{{Icon}}}|{{{Name|}}}|{{{Class}}}|{{{Rarity}}}|
{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{RawAttr|}}}|{{{RawResistArm|}}}|{{{RawTrait|}}}|{{{Cost|}}}|{{{Value|}}}}}
}}
}}
|SelSlot={{#ifeq:{{{Slot}}}|{{{Sel|}}}|
|SelSlot={{#ifeq:{{{Slot}}}|{{{Sel|}}}|
{{Tables|ArmSubInput|{{{Icon}}}|{{{Name|}}}|{{{Class}}}|{{{Rarity}}}|
{{Tables|ArmSubInput|{{{Icon}}}|{{{Name|}}}|{{{Class}}}|{{{Rarity}}}|
{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{Attribute|}}}|{{{RawResistArm|}}}|{{{RawTrait|}}}}}
{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{RawAttr|}}}|{{{RawResistArm|}}}|{{{RawTrait|}}}|{{{Cost|}}}|{{{Value|}}}}}
}}
}}
|Build=
|Build=
Line 63: Line 67:
{{#if:{{{Long_Description|}}}|{{{Long_Description}}}|<span style="color: #24e22a">Background needed</span>}}
{{#if:{{{Long_Description|}}}|{{{Long_Description}}}|<span style="color: #24e22a">Background needed</span>}}
:
:
{{#switch:{{{Rarity}}}
{{Rarity|{{{Rarity|Common}}}|1}}
|Unique=This is a <span style="color: Red">'''Unique item'''</span>, found only once.
|Uncommon=This is an <span style="color: Violet">'''Uncommon item'''</span>, a rare drop or obtainable from faction specific merchants.
|Purchase
|Common=This is a <span style="color: Lime">'''Common item'''</span>, a frequent drop or obtainable from merchants.
|Limited=This is a <span style="color: rgb(220,0,0)">'''Limited item'''</span> that can only be obtained a set amount of times.
}}
==Location==
==Location==
{{#if:{{{Location|}}}|
{{#ifeq:{{{Location|}}}|Auto|{{AutoColumns|
{{TextC|{{{Location|}}}|SList}}|<span style="color: #24e22a">Location needed</span>}}
{{Location|Equip|{{ListofNPC|findVendItem|{{{Name}}}}}|{{ListofAreas|findItem|{{{Name}}}}}|{{ListofMob|findItem|{{{Name}}}}}{{ListofNPC|findItem|{{{Name}}}}}|{{ListofQuests|findItem|{{{Name}}}}}}}|<li>|4}}|{{AutoColumns|
{{#if:{{{SoldBy|}}}|:
'''Sold by Merchant:'''{{TextC|{{{SoldBy}}}|SList}}}}{{#if:{{{FoundIn|}}}|:
'''Found in Area:'''{{TextC|{{{FoundIn}}}|SList}}}}{{#if:{{{DroppedBy|}}}|:
'''Dropped by Enemy/NPC:'''{{TextC|{{{DroppedBy}}}|SList}}}}{{#if:{{{RewardedBy|}}}|:
'''Rewarded by Quest:'''{{TextC|{{{RewardedBy}}}|SList}}}}|<li>|4}}{{#if:{{{Location|}}}|
{{AutoColumns|{{TextC|{{{Location|}}}|SList}}|<li>|4}}}}}}
==Quest==
==Quest==
{{#if: {{{Quest|}}}|
{{#if: {{{Quest|}}}|
Line 82: Line 86:


{{Tables|ArmIndv2}}
{{Tables|ArmIndv2}}
{{Tables|ArmIndv2Input|{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{Attribute|}}}|{{{RawResistArm|}}}|{{{RawTrait|}}}}}
{{Tables|ArmIndv2Input|{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{RawAttr|}}}|{{{RawResistArm|}}}|{{{RawTrait|}}}}}
== Notes ==
== Notes ==
{{#if:{{{RawResistArm|}}}||{{!}}RawResistArm={{Resistances|{{{Element}}}|DispRawArm|{{{Elem_Res|}}}}}<br />
{{#if:{{{RawResistArm|}}}||{{!}}RawResistArm={{Resistances|{{{Element}}}|DispRawArm|{{{Elem_Res|}}}}}<br />

Latest revision as of 19:17, 1 June 2018


Usage

Armor Table

{{:Armname|ArmTbl}}

City Table

{{:Armname|ArmCityTbl}}

{{:Armname|ArmCityTblx}}

genSel

{{:Armname|genSel|Fieldtosel}}

Armor Page Setup

{{ArmSub
|Step={{{1|ArmIndv}}}
|Sel={{{2|}}}
|Icon=
|Image=pagename.jpg
|Name=
|Slot=[[Slot]]
|Rarity=Common/Uncommon/Unique
|Groups=|Class=All
|CWar=✔|CRog=✔|CCle=✔|CMag=✔|CAll=✔
|Armor=|Health=
|Attribute=
|Element=|Elem_Res=
|Trait=|Trait_Bonus=
|Value=|Cost={{{Cost|}}}
|Quest=
|Long_Description=
|Location=
|Notes=
|Description=
}}