A Wiki in the Desert
Log in

Difference between revisions of "Template:SkillPrerequisiteList"

From A Wiki in the Desert
Line 5: Line 5:
 
   | <nowiki/>
 
   | <nowiki/>
 
{{#if: {{#arrayindex:experience|{{#var:i}}}}|* Experience: {{#arrayindex:experience|{{#var:i}}}}}}
 
{{#if: {{#arrayindex:experience|{{#var:i}}}}|* Experience: {{#arrayindex:experience|{{#var:i}}}}}}
 +
}}<nowiki/>
 +
{{#ask: [[{{trim|{{{1}}}}}]]|?requires#=|mainlabel=-|format=array|name=experience}}<nowiki/>
 +
{{#loop: i
 +
  | 0
 +
  | {{#arraysize:requires}}
 +
  | <nowiki/>
 +
{{#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:17, 25 May 2021