Template:ArmSub: Difference between revisions
From Exiled Kingdoms Wiki
mNo edit summary |
No edit summary |
||
(42 intermediate revisions by 3 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|}}}|{{{ | {{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{RawAttr|}}}|{{{RawResistArm|}}}|{{{RawTrait|}}}|{{{Cost|}}}|{{{Value|}}}}} | ||
|ArmTbl={{Tables|ArmTblInput|{{{Icon|}}}|{{{Name|}}}|{{{Groups}}}|{{{Slot}}}|{{{Class|}}}|{{{Rarity}}}|{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{ | |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|ArmSubInput|{{{Icon}}}|{{{Name|}}}|{{{Class}}}|{{{Rarity}}}| | |SelElement={{#ifeq:1|{{Resistances|{{{RawResistArm|}}}|Vuln|{{{Sel}}}}}|{{Tables|ArmTblInput|{{{Icon|}}}|{{{Name|}}}|{{{Groups}}}|{{{Slot}}}|{{{Class|}}}|{{{Rarity}}}|{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{RawAttr|}}}|{{{RawResistArm|}}}|{{{RawTrait}}}}} | ||
{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{ | }} | ||
|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}}}| | |||
{{{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|}}}|{{{ | {{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{RawAttr|}}}|{{{RawResistArm|}}}|{{{RawTrait|}}}|{{{Cost|}}}|{{{Value|}}}}} | ||
}} | }} | ||
|Build= | |Build= | ||
Line 59: | 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>}} | ||
: | : | ||
{{ | {{Rarity|{{{Rarity|Common}}}|1}} | ||
| | |||
}} | |||
==Location== | ==Location== | ||
{{#if:{{{ | {{#ifeq:{{{Location|}}}|Auto|{{AutoColumns| | ||
{{TextC|{{{ | {{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 77: | Line 86: | ||
{{Tables|ArmIndv2}} | {{Tables|ArmIndv2}} | ||
{{Tables|ArmIndv2Input|{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{ | {{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=
}}