Template:WpnSub: Difference between revisions
From Exiled Kingdoms Wiki
mNo edit summary |
mNo edit summary |
||
Line 57: | Line 57: | ||
</noinclude>{{#switch: {{{Step}}} | </noinclude>{{#switch: {{{Step}}} | ||
|genSel={{{{{{Sel|}}}}}} | |genSel={{{{{{Sel|}}}}}} | ||
|SelCat={{#ifeq:{{{Category}}}|{{{Sel|}}}|{{Tables|WpnTblInput|{{{Icon|}}}|{{{Name|}}}|{{{Class|}}}|{{{Rarity}}}|{{{RawDmg}}}|{{{RawAttr|}}}|{{{Category|}}}|{{{Type}}}|Sub}} | |SelCat={{#ifeq:{{{Category}}}|{{{Sel|}}}|{{Tables|WpnTblInput|{{{Icon|}}}|{{{Name|}}}|{{{Class|}}}|{{{Rarity}}}|{{{RawDmg}}}|{{{RawAttr|}}}|{{{Category|}}}|{{{Type}}}|{{{Cost|}}}|{{{Value|}}}|Sub}} | ||
}} | }} | ||
|SelGrp={{#ifeq:{{{Groups}}}|{{{Sel|}}}| | |SelGrp={{#ifeq:{{{Groups}}}|{{{Sel|}}}| | ||
{{Tables|WpnTblInput|{{{Icon|}}}|{{{Name|}}}|{{{Class|}}}|{{{Rarity}}}|{{{RawDmg}}}|{{{RawAttr|}}}|{{{Category|}}}|{{{Type}}}}} | {{Tables|WpnTblInput|{{{Icon|}}}|{{{Name|}}}|{{{Class|}}}|{{{Rarity}}}|{{{RawDmg}}}|{{{RawAttr|}}}|{{{Category|}}}|{{{Type}}}|{{{Cost|}}}|{{{Value|}}}}} | ||
}} | }} | ||
|SelAttr={{#ifeq:1|{{Attributes|{{{RawAttr}}}|WSel|{{{Sel|}}}}}| | |SelAttr={{#ifeq:1|{{Attributes|{{{RawAttr}}}|WSel|{{{Sel|}}}}}| | ||
{{Tables|WpnTblInput|{{{Icon|}}}|{{{Name|}}}|{{{Class|}}}|{{{Rarity}}}|{{{RawDmg}}}|{{{RawAttr|}}}|{{{Category|}}}|{{{Type}}}|Sub}} | {{Tables|WpnTblInput|{{{Icon|}}}|{{{Name|}}}|{{{Class|}}}|{{{Rarity}}}|{{{RawDmg}}}|{{{RawAttr|}}}|{{{Category|}}}|{{{Type}}}|{{{Cost|}}}|{{{Value|}}}|Sub}} | ||
}} | }} | ||
|SelElement={{#ifeq:{{Damage|{{{RawDmg}}}|EleChkN|{{{Sel|}}}}}|1| | |SelElement={{#ifeq:{{Damage|{{{RawDmg}}}|EleChkN|{{{Sel|}}}}}|1| | ||
{{Tables|WpnTblInput|{{{Icon|}}}|{{{Name|}}}|{{{Class|}}}|{{{Rarity}}}|{{{RawDmg}}}|{{{RawAttr|}}}|{{{Category|}}}|{{{Type}}}}} | {{Tables|WpnTblInput|{{{Icon|}}}|{{{Name|}}}|{{{Class|}}}|{{{Rarity}}}|{{{RawDmg}}}|{{{RawAttr|}}}|{{{Category|}}}|{{{Type}}}|{{{Cost|}}}|{{{Value|}}}}} | ||
}} | }} | ||
|WpnCityTblx={{Tables|WpnCityTblXInput|{{{Name|}}}|{{{Cost|}}}|{{{Type}}}|{{{RawDmg}}}|{{{RawAttr|}}}}} | |WpnCityTblx={{Tables|WpnCityTblXInput|{{{Name|}}}|{{{Cost|}}}|{{{Type}}}|{{{RawDmg}}}|{{{RawAttr|}}}}} | ||
|WpnSub={{Tables|WpnTblInput|{{{Icon|}}}|{{{Name|}}}|{{{Class|}}}|{{{Rarity}}}|{{{RawDmg}}}|{{{RawAttr|}}}|{{{Category|}}}|{{{Type}}}|Sub}} | |WpnSub={{Tables|WpnTblInput|{{{Icon|}}}|{{{Name|}}}|{{{Class|}}}|{{{Rarity}}}|{{{RawDmg}}}|{{{RawAttr|}}}|{{{Category|}}}|{{{Type}}}|{{{Cost|}}}|{{{Value|}}}|Sub}} | ||
|WpnTbl={{Tables|WpnTblInput|{{{Icon|}}}|{{{Name|}}}|{{{Class|}}}|{{{Rarity}}}|{{{RawDmg}}}|{{{RawAttr|}}}|{{{Category|}}}|{{{Type}}}}} | |WpnTbl={{Tables|WpnTblInput|{{{Icon|}}}|{{{Name|}}}|{{{Class|}}}|{{{Rarity}}}|{{{RawDmg}}}|{{{RawAttr|}}}|{{{Category|}}}|{{{Type}}}|{{{Cost|}}}|{{{Value|}}}}} | ||
|Build= | |Build= | ||
<includeonly> | <includeonly> |
Revision as of 17:21, 2 June 2017
Usage
GenSel
{{:wpnname|genSel|fieldtoreturn}}
WpnCityTblx
{{:wpnname|WpnCityTblx}}
Or
{{:wpnname|WpnCityTblx|Cost=###}}
Sub Page
Build
{{WpnSub
|Name=
|Cat=Weapon
|Description=
|Type=
|Step=Build}}
Add weapons here
{{WpnSub
|Step=Done
|Notes=
}}
Populate
{{:wpnname|WpnSub}}
Table entry
{{:wpnname|WpnTbl}}
Individual page
{{WpnSub
|Step={{{1|wpnIndv}}}
|Sel={{{2|}}}
|Icon=icon.png
|Image=name.jpg
|Name=
|Ambiguity=
|Type=(Light, Ranged)
|Category=(Axe, Dagger)
|Rarity=(Common, Uncommon, Unique, Limited)
|Groups=|Class=
|RawDmg=0,0,0,0,0,0,0,1.5,0,0,0 (min,max,main ele,ele dam,elem(1-6),speed,crit,crit_mult,OnHit,OnHit chance, OnHit lvl)
|RawAttr=0,0,0,0,0,0,0,0
|Value=|Cost={{{Cost|}}}
|Quest=
|Long_Description=
|Location=
|Notes=
|Description=
}}