A Wiki in the Desert
Log in

Difference between revisions of "Template:RequireList"

From A Wiki in the Desert
Line 1: Line 1:
{{#ask: [[Has benefit::!]] [[{{trim|{{{1}}}}}]]|?Has benefit|format=array|name=benefitrequires}}<nowiki/>
+
{{#ask: [[{{trim|{{{1}}}}}]]|?Has benefit|format=array|name=benefitrequires}}<nowiki/>
 
{{#loop: i
 
{{#loop: i
 
   | 0  
 
   | 0  
 
   | {{#arraysize:benefitrequires}}  
 
   | {{#arraysize:benefitrequires}}  
 
   | <nowiki/>
 
   | <nowiki/>
* {{#arrayindex:benefitrequires|{{#var:i}}}}
+
{{#if: {{#arrayindex:benefitrequires|{{#var:i}}}}|* {{#arrayindex:benefitrequires|{{#var:i}}}}}}
 
}}<nowiki/>
 
}}<nowiki/>
 
{{#ask: [[requires::{{trim|{{{1}}}}}]] [[Category:Specialization]] |format=array|name=specrequires}}<nowiki/>
 
{{#ask: [[requires::{{trim|{{{1}}}}}]] [[Category:Specialization]] |format=array|name=specrequires}}<nowiki/>

Revision as of 21:27, 24 May 2021