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|}}}|{{{RawDmg | {{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|?}}}|{{{LevelH|?}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{RawDmg}}}|{{{Quest|}}}|{{{Drops|}}}}}}} | ||
|SelDmg={{#ifeq:{{Damage|{{{RawDmg}}}|EleChk|{{{Sel}}}}}|1|{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{RawDmg}}}|{{{Quest|}}}|{{{Drops|}}}}}}} | |||
|SelDmg= | |||
|SelType={{#ifeq:{{{Sel}}}|{{{Groups}}}|<tr><td> | |SelType={{#ifeq:{{{Sel}}}|{{{Groups}}}|<tr><td> | ||
== [[{{{Name}}}]] == | == [[{{{Name}}}]] == | ||
Line 28: | Line 25: | ||
{{Tables|MobSub1Input|{{{LevelL|}}}|{{{LevelH|}}}|{{{Armor|}}}|{{{HP|}}}}} | {{Tables|MobSub1Input|{{{LevelL|}}}|{{{LevelH|}}}|{{{Armor|}}}|{{{HP|}}}}} | ||
{{Tables|MobSub2}} | {{Tables|MobSub2}} | ||
{{Tables|MobSub2RInput|{{{RawDmg|}}}|{{{RawResist|}}}}} | |||
{{Tables|MobSub3}} | {{Tables|MobSub3}} | ||
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}}} | {{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}}} | ||
Line 34: | Line 31: | ||
}} | }} | ||
|SelTypeX={{#ifeq:{{{Sel}}}|{{{Groups}}}| | |SelTypeX={{#ifeq:{{{Sel}}}|{{{Groups}}}| | ||
{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|?}}}|{{{LevelH|?}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{RawDmg}}}|{{{Attack_Speed}}}|{{{Critical|}}}|{{{Quest|}}}|{{{Drops|}}}}}}} | |||
|MobTbl={{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{RawDmg}}}|{{{Quest|}}}|{{{Drops|}}}}} | |||
|MobTbl= | |||
|Build= | |Build= | ||
<includeonly>[[Category:Bestiary]]</includeonly> | <includeonly>[[Category:Bestiary]]</includeonly> | ||
Line 72: | Line 67: | ||
{{Tables|MobIndvInput|{{{Groups}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Armor|}}}|{{{HP|}}}|{{{Movement|}}}|{{{Race|}}}}} | {{Tables|MobIndvInput|{{{Groups}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Armor|}}}|{{{HP|}}}|{{{Movement|}}}|{{{Race|}}}}} | ||
{{Tables|MobSub2}} | {{Tables|MobSub2}} | ||
{{Tables|MobSub2RInput|{{{RawDmg|}}}|{{{Attack_Speed|}}}|{{{Critical|}}}|{{{RawResist|}}}}} | |||
{{Tables|MobSub3}} | {{Tables|MobSub3}} | ||
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}}}{{#if:{{{NameV2|}}}|: | {{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}}}{{#if:{{{NameV2|}}}|: | ||
Line 91: | Line 85: | ||
{{Tables|MobIndv}} | {{Tables|MobIndv}} | ||
{{Tables|MobIndvInput|{{{Groups}}}|{{{LevelLV2}}}|{{{LevelHV2}}}|{{{ArmorV2|}}}|{{{HPV2 | {{Tables|MobIndvInput|{{{Groups}}}|{{{LevelLV2}}}|{{{LevelHV2}}}|{{{ArmorV2|}}}|{{{HPV2|}}}|{{{MovementV2|}}}|{{{Race|}}}}} | ||
{{Tables|MobSub2}} | {{Tables|MobSub2}} | ||
{{Tables|MobSub2RInput|{{{RawDmgV2|}}}|{{{RawResistV2|}}}}} | |||
{{Tables|MobSub3}} | {{Tables|MobSub3}} | ||
{{Tables|MobSub3Input|{{{AttributesV2|}}}|{{{SkillsV2|}}}}} | {{Tables|MobSub3Input|{{{AttributesV2|}}}|{{{SkillsV2|}}}}} | ||
Line 104: | Line 98: | ||
: | : | ||
{{{Notes|}}} | {{{Notes|}}} | ||
|BuildX= | |BuildX= | ||
<!-- Build with XHTML tables --> | <!-- Build with XHTML tables --> |
Revision as of 10:59, 12 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