A Wiki in the Desert
Log in

Difference between revisions of "Template:SkillPrerequisiteList"

From A Wiki in the Desert
Line 11: Line 11:
 
   | {{#arraysize: requires}}
 
   | {{#arraysize: requires}}
 
   | <nowiki/>{{#vardefine:req|{{#arrayindex:requires|{{#var:x}}}}}}
 
   | <nowiki/>{{#vardefine:req|{{#arrayindex:requires|{{#var:x}}}}}}
{{#var:req}} {{#explode|{{#var:req}}|/|1}}
+
{{#var:req}} {{#explode:{{#var:req}}|/|1}}
{{#if: {{#pos:{{#var:req}}|{{#explode|{{#arrayindex:requires|{{#var:x}}}}|/|1}}}}|* Skill: [[{{#arrayindex:requires|{{#var:x}}}}|{{#replace:{{#replace:{{#arrayindex:requires|{{#var:x}}}}|Skill/|}}|/|&nbsp;}}]]|}}
+
{{#if: {{#pos:{{#var:req}}|{{#explode:{{#var:req}}|/|1}}|* Skill: [[{{#arrayindex:requires|{{#var:x}}}}|{{#replace:{{#replace:{{#arrayindex:requires|{{#var:x}}}}|Skill/|}}|/|&nbsp;}}]]|}}
 
}}<nowiki/>
 
}}<nowiki/>

Revision as of 01:26, 25 May 2021

{{#loop: x

 | 0
 | 0
 |