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}}
+
{{#if: {{#pos:{{FULLPAGENAME}}|{{#explode:{{#var:req}}|/|1}}}}||* Skill: [[{{#var:req}}|{{#replace:{{#replace:{{#var:req}}|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:27, 25 May 2021