A Wiki in the Desert
Log in

Difference between revisions of "Template:SkillPrerequisiteList"

From A Wiki in the Desert
Line 3: Line 3:
 
   | 0  
 
   | 0  
 
   | {{#arraysize:experience}}  
 
   | {{#arraysize:experience}}  
   | <nowiki/>{{#vardefine:exp|{{#arrayindex:experience|{{#var:i}}}}}}
+
   | <nowiki/>
{{#if: {{#var:exp}}|* Experience: {{#var:exp}}}}
+
{{#if: {{#arrayindex:experience|{{#var:i}}}}|* Experience: {{#arrayindex:experience|{{#var:i}}}}}}
 
}}<nowiki/>
 
}}<nowiki/>
 
{{#arraydefine:requires|{{#ask: [[{{trim|{{{1}}}}}]]|?requires#=|mainlabel=-|format=plainlist}}}}<nowiki/>
 
{{#arraydefine:requires|{{#ask: [[{{trim|{{{1}}}}}]]|?requires#=|mainlabel=-|format=plainlist}}}}<nowiki/>
Line 10: Line 10:
 
   | 0  
 
   | 0  
 
   | {{#arraysize:requires}}  
 
   | {{#arraysize:requires}}  
   | <nowiki/>{{#vardefine:req|{{#arrayindex:requires|{{#var:i}}}}}}
+
   | <nowiki/>
{{#if: {{#pos:{{#var:req}}}}|* Skill: [[{{#var:req}}|{{#replace:{{#replace:{{#var:req}}|Skill/|}}|/|&nbsp;}}]]|}}
+
{{#if: {{#pos:{{#arrayindex:requires|{{#var:i}}}}}}|* Skill: [[{{#arrayindex:requires|{{#var:i}}}}|{{#replace:{{#replace:{{#arrayindex:requires|{{#var:i}}}}|Skill/|}}|/|&nbsp;}}]]|}}
 
}}<nowiki/>
 
}}<nowiki/>

Revision as of 01:15, 25 May 2021