From Dark and Darker Wiki
(Created page with "<includeonly>{{ #arraydefine: monsters | {{Monster_Data|{{{1}}}}} }} {{ #loop: i | 0 <!-- loops start value for {{ #var:i }} --> | {{ #arraysize:monsters }} <!-- number of loops --> | <nowiki/>{{#vardefine:current|{{ #arrayindex:monsters | {{ #var:i }} }}}} {{#if:{{Monster_Data|{{#var:current}}|hp}}|{{#if:{{{1|}}}|{{#if:{{#pos:{{Monster_Data|{{#var:current}}|hp}}|{{{class}}}}}|{{GenerateMonsterRow|{{#var:current}}}}}}|{{GenerateMonsterRow|{{...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{ #arraydefine: | <includeonly>{{ #arraydefine: weapons | {{Monster_Data|{{{1}}}}} }} | ||
{{ | {{ | ||
#loop: i | #loop: i | ||
| 0 <!-- loops start value for {{ #var:i }} --> | | 0 <!-- loops start value for {{ #var:i }} --> | ||
| {{ #arraysize: | | {{ #arraysize:weapons }} <!-- number of loops --> | ||
| <nowiki/>{{#vardefine:current|{{ #arrayindex: | | <nowiki/>{{#vardefine:current|{{ #arrayindex:weapons | {{ #var:i }} }}}} | ||
{{#if:{{Monster_Data|{{#var:current}}| | {{#if:{{Monster_Data|{{#var:current}}|classes}}|{{#if:{{{class|}}}|{{#if:{{#pos:{{Monster_Data|{{#var:current}}|classes}}|{{{class}}}}}|{{GenerateMonsterRow|{{#var:current}}}}}}|{{GenerateMonsterRow|{{#var:current}}}}}}|{{GenerateMonsterRow|{{#var:current}}}} | ||
}} | }} | ||
}}</includeonly> | }}</includeonly> | ||
<noinclude> | <noinclude> | ||
WIP | |||
{{GenerateMonsterRows}} | {{GenerateMonsterRows}} | ||
</noinclude> | </noinclude> |