A Wiki in the Desert
Log in

Difference between revisions of "Template:SkillPrerequisiteList"

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

Revision as of 01:26, 25 May 2021