Template:MobSub: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
{{#switch: {{{Step}}} | {{#switch: {{{Step}}} | ||
|genSel={{{{{{Sel|}}}}}} | |genSel={{{{{{Sel|}}}}}} | ||
|SelResist={{#ifeq:{{Resistances|{{{RawResist}}}|Vuln|{{{Sel}}}}}|1| | |SelResist={{#ifeq:{{Resistances|{{{RawResist}}}|Vuln|{{{Sel}}}}}|1|{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|?}}}|{{{LevelH|?}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{Base_damage|}}}|{{{Attack_Speed}}}|{{{Critical|}}}|{{{Extra_damage|}}}|{{{Quest|}}}|{{{Drops|}}}}}}} | ||
|SelDmg={{#ifeq:({{{Sel}}}|{{#explode:{{{Extra_damage|}}}|)|0}}| | |SelDmg={{#ifeq:({{{Sel}}}|{{#explode:{{{Extra_damage|}}}|)|0}}| | ||
{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|?}}}|{{{LevelH|?}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{Base_damage|}}}|{{{Attack_Speed}}}|{{{Critical|}}}|{{{Extra_damage|}}}|{{{Quest|}}}|{{{Drops|}}}}} | |||
}} | }} | ||
|SelType={{#ifeq:{{{Sel}}}|{{{Groups}}}|<tr><td> | |SelType={{#ifeq:{{{Sel}}}|{{{Groups}}}|<tr><td> | ||
Line 46: | Line 24: | ||
: | : | ||
{{Tables|MobSub1}} | {{Tables|MobSub1}} | ||
{{Tables|MobSub1Input|{{{LevelL|}}}|{{{LevelH|}}}|{{{Armor|}}}|{{{HP|}}}}} | |||
{{Tables|MobSub2}} | {{Tables|MobSub2}} | ||
{{Tables|MobSub2Input|{{{Base_damage|}}}|{{{Extra_damage|}}}|{{{Attack_Speed|}}}|{{{Critical|}}}|{{{Resistances|}}}}} | |||
{{Tables|MobSub3}} | {{Tables|MobSub3}} | ||
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}}} | |||
</td></tr> | </td></tr> | ||
}} | }} | ||
|SelTypeX={{#ifeq:{{{Sel}}}|{{{Groups}}}| | |SelTypeX={{#ifeq:{{{Sel}}}|{{{Groups}}}| | ||
{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|?}}}|{{{LevelH|?}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{Base_damage|}}}|{{{Attack_Speed}}}|{{{Critical|}}}|{{{Extra_damage|}}}|{{{Quest|}}}|{{{Drops|}}}}} | |||
}} | }} | ||
|MobSub= | |MobSub= | ||
Line 99: | Line 49: | ||
{{columns|2|{{TextC|{{{Drops|}}}|SList}}}} | {{columns|2|{{TextC|{{{Drops|}}}|SList}}}} | ||
{{Tables|MobSub1}} | {{Tables|MobSub1}} | ||
{{Tables|MobSub1Input|{{{LevelL|}}}|{{{LevelH|}}}|{{{Armor|}}}|{{{HP|}}}}} | |||
{{Tables|MobSub2}} | {{Tables|MobSub2}} | ||
{{Tables|MobSub2Input|{{{Base_damage|}}}|{{{Extra_damage|}}}|{{{Attack_Speed|}}}|{{{Critical|}}}|{{{Resistances|}}}}} | |||
{{Tables|MobSub3}} | {{Tables|MobSub3}} | ||
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}}} | |||
|MobTbl={{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|?}}}|{{{LevelH|?}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{Base_damage|}}}|{{{Attack_Speed}}}|{{{Critical|}}}|{{{Extra_damage|}}}|{{{Quest|}}}|{{{Drops|}}}}} | |||
|MobTbl= | |||
{{ | |||
|Build= | |Build= | ||
<includeonly>[[Category:Bestiary]]</includeonly> | <includeonly>[[Category:Bestiary]]</includeonly> | ||
Line 166: | Line 87: | ||
==Information== | ==Information== | ||
{{Tables|MobIndv|{{#if:{{{Race|}}}|1}}}} | {{Tables|MobIndv|{{#if:{{{Race|}}}|1}}}} | ||
{{Tables|MobIndvInput|{{{Groups}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Armor|}}}|{{{HP|}}}|{{{MP|}}}|{{{Movement|}}}|{{{Race|}}}}} | |||
{{Tables|MobSub2}} | {{Tables|MobSub2}} | ||
{{Tables|MobSub2Input|{{{Base_damage|}}}|{{{Extra_damage|}}}|{{{Attack_Speed|}}}|{{{Critical|}}}|{{{Resistances|}}}}} | |||
{{Tables|MobSub3}} | {{Tables|MobSub3}} | ||
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}}}{{#if:{{{NameV2|}}}|: | |||
=={{{Name}}} {{{NameV2}}}== | =={{{Name}}} {{{NameV2}}}== | ||
{{#if:{{{ImageV2|}}}|{{#ifeq:{{{ImageV2}}}|Missing.png|<div style="float: right;">Upload Image of {{PAGENAME}}</div>|[[File:{{{ImageV2}}}|200px|right|{{{Name}}}]]}}|}} | {{#if:{{{ImageV2|}}}|{{#ifeq:{{{ImageV2}}}|Missing.png|<div style="float: right;">Upload Image of {{PAGENAME}}</div>|[[File:{{{ImageV2}}}|200px|right|{{{Name}}}]]}}|}} | ||
Line 210: | Line 107: | ||
{{Tables|MobIndv}} | {{Tables|MobIndv}} | ||
{{Tables|MobIndvInput|{{{Groups}}}|{{{LevelLV2}}}|{{{LevelHV2}}}|{{{ArmorV2|}}}|{{{HPV2|}}}|{{{MPV2|}}}|{{{MovementV2|}}}|{{{Race|}}}}} | |||
{{Tables|MobSub2}} | {{Tables|MobSub2}} | ||
{{Tables|MobSub2Input|{{{Base_damageV2|}}}|{{{Extra_damageV2|}}}|{{{Attack_SpeedV2|}}}|{{{CriticalV2|}}}|{{{ResistancesV2|}}}}} | |||
{{Tables|MobSub3}} | {{Tables|MobSub3}} | ||
{{Tables|MobSub3Input|{{{AttributesV2|}}}|{{{SkillsV2|}}}}} | |||
}} | }} | ||
== Notes == | == Notes == |
Revision as of 22:45, 6 March 2017
genSel
Select one field from a mob page
{{:MobName|Sel|Field}}
SelResist
Select all mobs with a weakness to selected element. Uses the RawResist value on mob pages
{{ListofMob|SelResist|Element}}
To select mobs with a different range
{{ListofMob|SelResist|Element|(< (default),>,!=,=)|Val(0 default)}}
SelDmg
Select all mobs using the selected element (only looks at extra damage)
{{ListofMob|SelDmg|Element}}
SelType
Select all mobs of a certain group (Old MobSub format)
{{ListofMob|SelType|type}}
SelTypeX
Select all mobs of a certain group (List format)
{{ListofMob|SelTypeX|type}}
MobSub (Deprecated)
MobTbl
MobTbl formatted Mobs
All Mobs
{{ListofMob|MobTbl}}
Single mob
{{:Mobname|MobTbl}}
Build
For detailed type pages
{{MobSub
|Type={{PAGENAME}}
|Step=Build
|Cat=Mob
|Description=
}}
{{ListofMob|SelType|{{PAGENAME}}}}
{{MobSub
|Step=Done
|Notes=
}}
BuildX
For list style type pages
{{MobSub
|Type={{PAGENAME}}
|Step=BuildX
|Cat=Mob
|Description=
}}
{{ListofMob|SelTypeX|{{PAGENAME}}}}
{{MobSub
|Step=DoneX
|Notes=
}}
mobIndv
See Mob Setup
Mob Setup
{{MobSub
|Step={{{1|mobIndv}}}
|Sel={{{2|}}}
|Icon=.png
|Image=.png
|Name=
|LevelL=|LevelH=
|Class=
|Attributes=(; separated list)
|Skills=[[Skillname]]: 1 (; separated list)
|HP=|Armor=|Movement=1.0
|Attack_Speed=10|Critical=0%
|RawDmg=0,0,0,0,0,0,0,0,0(Min, Max, Fire, Cold, Shock, Death, Toxic, Spirit, Min/Max Ele(0=Norm - 6=Spirit))
|RawResist=0,0,0,0,0,0 (Fire, Cold, Shock, Death, Toxic, Spirit)
|Groups=(no brackets)
|Quest=(; separated list)
|Drops=(; separated list)
|Long_Description=
|Location=(; separated list)
|Notes=
|Description=
}}
Resistance order
|RawResist=0,0,0,0,0,0
Fire, cold, shock, death, toxic, spirit