A Wiki in the Desert
Log in

Difference between revisions of "Template:SchoolSkillTableBody"

From A Wiki in the Desert
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{{1}}}
 
 
{{#ask: [[~{{{1}}}/*]] [[Is generated::True]]|format=array|name=levels}}
 
{{#ask: [[~{{{1}}}/*]] [[Is generated::True]]|format=array|name=levels}}
{{#loop:  
+
{{#loop: i  
  | i  
 
 
   | 0  
 
   | 0  
 
   | {{#arraysize:levels}}  
 
   | {{#arraysize:levels}}  
 
   |<nowiki/>
 
   |<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}}|}}]]
{{!}} [[{{#arrayindex:levels|{{#var:i}}}}|{{#replace:{{#arrayindex:levels|{{#var:i}}}}|Skill/|}}]]
 
 
{{!}} {{#var:i}}
 
{{!}} {{#var:i}}
{{!}}
 
 
{{!}} {{SkillPrerequisiteList | {{#arrayindex:levels|{{#var:i}}}} }}
 
{{!}} {{SkillPrerequisiteList | {{#arrayindex:levels|{{#var:i}}}} }}
 
{{!}}-
 
{{!}}-
 +
}}
 
}}
 
}}

Latest revision as of 17:14, 14 July 2021