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= | + | {{#ask: [[{{trim|{{{1}}}}}]]|?requires#=|mainlabel=-|format=array|name=skillrequires}}<nowiki/> |
{{#loop: i | {{#loop: i | ||
| 0 | | 0 | ||
− | | {{#arraysize: | + | | {{#arraysize:skillrequires}} |
| <nowiki/> | | <nowiki/> | ||
− | {{#if: {{#pos:{{#arrayindex: | + | {{#if: {{#pos:{{#arrayindex:skillrequires|{{#var:i}}}}}}|* Skill: [[{{#arrayindex:skillrequires|{{#var:i}}}}|{{#replace:{{#replace:{{#arrayindex:skillrequires|{{#var:i}}}}|Skill/|}}|/| }}]]|}} |
}}<nowiki/> | }}<nowiki/> |
Revision as of 01:17, 25 May 2021