A Wiki in the Desert
Log in

Difference between revisions of "Template:RequireList"

From A Wiki in the Desert
 
(3 intermediate revisions by the same user not shown)
Line 41: Line 41:
 
   | {{#arraysize:skillrequires}}  
 
   | {{#arraysize:skillrequires}}  
 
   | <nowiki/>
 
   | <nowiki/>
* Required to unlock skill [[{{#arrayindex:skillrequires|{{#var:i}}}}]]
+
{{#if: {{#pos:{{#arrayindex:skillrequires|{{#var:i}}}}|{{#explode:{{trim|{{{1}}}}}|/|1}}}}||<nowiki/>
 +
* Required to unlock skill [[{{#arrayindex:skillrequires|{{#var:i}}}}|{{#replace:{{#replace:{{#arrayindex:skillrequires|{{#var:i}}}}|Skill/|}}|/|&nbsp;}}]]
 +
}}
 
}}<nowiki/>
 
}}<nowiki/>
  
{{#ask: [[{{trim|{{{1}}}}}]]|?Has benefit|mainlabel=-|format=array|name=benefitrequires}}<nowiki/>
+
{{#ask: [[{{trim|{{{1}}}}}]]|?Has benefit|mainlabel=-|manysep=,&nbsp;|format=array|name=benefitrequires}}<nowiki/>
 
{{#loop: i
 
{{#loop: i
 
   | 0  
 
   | 0  

Latest revision as of 21:33, 26 May 2021