Difference between revisions of "Template:SkillPrerequisiteList"
From A Wiki in the Desert
Line 10: | Line 10: | ||
| 0 | | 0 | ||
| {{#arraysize: requires}} | | {{#arraysize: requires}} | ||
− | | <nowiki/>{{#vardefine:req|{{#arrayindex:requires|{{#var:x}}}}}} | + | | <nowiki/>{{#vardefine:req|{{#arrayindex:requires|{{#var:x}}}}}}{{#if: {{#pos:{{FULLPAGENAME}}|{{#explode:{{#var:req}}|/|1}}}}||* Skill: [[{{#var:req}}|{{#replace:{{#replace:{{#var:req}}|Skill/|}}|/| }}]]}} |
− | {{#if: {{#pos:{{FULLPAGENAME}}|{{#explode:{{#var:req}}|/|1}}}}||* Skill: [[{{#var:req}}|{{#replace:{{#replace:{{#var:req}}|Skill/|}}|/| }}]]}} | ||
}}<nowiki/> | }}<nowiki/> | ||
{{#ask: [[-Has subobject::{{trim|{{{1}}}}}]]|?Count#=|?Requires#=|mainlabel=-|headers=hide|format=template|template=RequireTableItem}}</includeonly> | {{#ask: [[-Has subobject::{{trim|{{{1}}}}}]]|?Count#=|?Requires#=|mainlabel=-|headers=hide|format=template|template=RequireTableItem}}</includeonly> |
Revision as of 17:53, 25 May 2021
This template generates a bulleted list of requirements to unlock a skill. The values include other skills (that are not of this skill type), items and experience required.
Parameter | Description | Type | Status | |
---|---|---|---|---|
skill | 1 | The skill to generate the list for
| Page | required |