A Wiki in the Desert
Log in

Difference between revisions of "Template:SkillPrerequisiteList"

From A Wiki in the Desert
Line 6: Line 6:
 
{{#if: {{#arrayindex:experience|{{#var:i}}}}|* Experience: {{#arrayindex:experience|{{#var:i}}}}}}
 
{{#if: {{#arrayindex:experience|{{#var:i}}}}|* Experience: {{#arrayindex:experience|{{#var:i}}}}}}
 
}}<nowiki/>
 
}}<nowiki/>
{{#ask: [[{{trim|{{{1}}}}}]]|?requires#=|mainlabel=-|format=array|name=requires}}<nowiki/>
+
{{#ask: [[{{trim|{{{1}}}}}]]|?requires#=|mainlabel=-|format=array|name=skillrequires}}<nowiki/>
 
{{#loop: i
 
{{#loop: i
 
   | 0  
 
   | 0  
   | {{#arraysize:requires}}  
+
   | {{#arraysize:skillrequires}}  
 
   | <nowiki/>
 
   | <nowiki/>
{{#if: {{#pos:{{#arrayindex:requires|{{#var:i}}}}}}|* Skill: [[{{#arrayindex:requires|{{#var:i}}}}|{{#replace:{{#replace:{{#arrayindex:requires|{{#var:i}}}}|Skill/|}}|/|&nbsp;}}]]|}}
+
{{#if: {{#pos:{{#arrayindex:skillrequires|{{#var:i}}}}}}|* Skill: [[{{#arrayindex:skillrequires|{{#var:i}}}}|{{#replace:{{#replace:{{#arrayindex:skillrequires|{{#var:i}}}}|Skill/|}}|/|&nbsp;}}]]|}}
 
}}<nowiki/>
 
}}<nowiki/>

Revision as of 01:17, 25 May 2021