Template:ArmSub: Difference between revisions
From Exiled Kingdoms Wiki
(hmm, maybe this will improve it.) |
No edit summary |
||
(133 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__<noinclude>[[Category:Templates]] | ||
{{Documentation}} | |||
{{#switch: {{{Step}}} | </noinclude>{{#switch: {{{Step}}} | ||
|ArmCityTblx={{Tables|ArmCityTblxInput|{{{Name|}}}|{{#if:{{{Markup|}}}|{{#expr:{{{Cost|}}}*{{{Markup}}}}}|{{{Cost|}}}}}|{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{RawResistArm|}}}|{{{RawTrait}}}}} | |||
|ArmSub={{Tables|ArmSubInput|{{{Icon}}}|{{{Name|}}}|{{{Class}}}|{{{Rarity}}}| | |||
{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{RawAttr|}}}|{{{RawResistArm|}}}|{{{RawTrait|}}}|{{{Cost|}}}|{{{Value|}}}}} | |||
|ArmTbl={{Tables|ArmTblInput|{{{Icon|}}}|{{{Name|}}}|{{{Groups}}}|{{{Slot}}}|{{{Class|}}}|{{{Rarity}}}|{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{RawAttr|}}}|{{{RawResistArm|}}}|{{{RawTrait}}}}} | |||
|genSel={{{{{{Sel|}}}}}} | |||
|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|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|}}}| | |||
{{Tables|ArmSubInput|{{{Icon}}}|{{{Name|}}}|{{{Class}}}|{{{Rarity}}}| | |||
{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{RawAttr|}}}|{{{RawResistArm|}}}|{{{RawTrait|}}}|{{{Cost|}}}|{{{Value|}}}}} | |||
}} | |||
|Build= | |Build= | ||
<includeonly>[[Category:Equipment:Armor]]</includeonly> | |||
{{Infobox2 | {{Infobox2 | ||
|Cat={{{Cat}}} | |Cat={{{Cat}}} | ||
Line 17: | Line 38: | ||
}} | }} | ||
{{ | {{Tables|ArmSub}} | ||
|Done=</table> | |||
{{#switch:{{{Type}}} | |||
|Set= | |||
[[Category:Groups]] | |||
==Set Totals== | |||
* Total Armor = {{{TotArmor|}}} | |||
* Total Health = {{{TotHealth|}}} | |||
* Total Mana = {{{TotMana|}}} | |||
* Total Resists = {{{TotRes|}}} | |||
}} | |||
==Notes== | ==Notes== | ||
{{{Notes|}}}< | {{{Notes|}}} | ||
: | |||
|ArmIndv= | |||
<includeonly> | |||
{{#ifeq:{{{Groups}}}|[[Townhall]]| | |||
[[Category:Equipment:Armor:Townhall]] | |||
|[[Category:Equipment:Armor]]}}</includeonly> | |||
{{#if:{{{Image|}}}| | |||
[[File:{{{Image}}}{{!}}thumb{{!}}{{{Name}}}]]| | |||
{{TextC|{{PAGENAME}}|ImgChk}}}} | |||
{{Quote|In-game text|{{#if:{{{Description|}}}|{{{Description}}}|<span style="color: #24e22a">Description needed</span>}}}} | |||
==Background== | |||
{{#if:{{{Long_Description|}}}|{{{Long_Description}}}|<span style="color: #24e22a">Background needed</span>}} | |||
: | |||
{{Rarity|{{{Rarity|Common}}}|1}} | |||
==Location== | |||
{{#ifeq:{{{Location|}}}|Auto|{{AutoColumns| | |||
{{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== | |||
{{#if: {{{Quest|}}}| | |||
{{TextC|{{{Quest|}}}|SList}}| | |||
<span style="color: #24e22a">No known associated quests</span>}} | |||
==Stats== | |||
{{Tables|ArmIndv1}} | |||
{{Tables|ArmIndv1Input|{{{Groups}}}|{{{Slot}}}|{{{CWar}}}|{{{CRog}}}|{{{CCle}}}|{{{CMag}}}|{{{CAll}}}|{{{Cost|}}}|{{{Value|}}}}} | |||
{{Tables|ArmIndv2}} | |||
{{Tables|ArmIndv2Input|{{{Armor|}}}|{{{Health|}}}|{{{Mana|}}}|{{{RawAttr|}}}|{{{RawResistArm|}}}|{{{RawTrait|}}}}} | |||
== Notes == | |||
{{#if:{{{RawResistArm|}}}||{{!}}RawResistArm={{Resistances|{{{Element}}}|DispRawArm|{{{Elem_Res|}}}}}<br /> | |||
{{!}}RawTrait=0,0,0,0,0,0}} | |||
{{{Notes|}}} | |||
}} | }} |
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=
}}