Difference between revisions of "Template:SchoolSkillTableBody"
From A Wiki in the Desert
(Created page with "{{!}}- {{!}} {{#vardefine:icon|{{#ask: [[{{{1}}}]] |?Has image#=|mainlabel=-|links=all}}}} {{#if: {{#var:icon}}|[[{{#var:icon}}]]}} {{!}} {{{1}}}|{{#replace:{{{1}}}|Skill/|}...") |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{#ask: [[~{{{1}}}/*]] [[Is generated::True]]|format=array|name=levels}} | ||
+ | {{#loop: i | ||
+ | | 0 | ||
+ | | {{#arraysize:levels}} | ||
+ | |<nowiki/> | ||
+ | {{#if: {{#ask: [[-Has subobject::{{#arrayindex:levels|{{#var:i}}}}]]|?Count#=|?Requires#=|mainlabel=-|headers=hide|format=plainlist}}| | ||
{{!}}- | {{!}}- | ||
− | {{!}} {{# | + | {{!}} [[{{#arrayindex:levels|{{#var:i}}}}|{{#replace:{{#replace:{{#arrayindex:levels|{{#var:i}}}}|Skill/|}}|/{{#var:i}}|}}]] |
− | + | {{!}} {{#var:i}} | |
− | {{!}} {{# | + | {{!}} {{SkillPrerequisiteList | {{#arrayindex:levels|{{#var:i}}}} }} |
− | {{!}} {{ | ||
− | |||
{{!}}- | {{!}}- | ||
+ | }} | ||
+ | }} |
Latest revision as of 17:14, 14 July 2021