A Wiki in the Desert
Log in

Difference between revisions of "Template:LabTechnology"

From A Wiki in the Desert
Line 1: Line 1:
{{#arraydefine:reqs|{{{requirements}}}|{{!}}}}
+
{{#arraydefine:reqs|{{{requirements|Boards,0,1}}}|{{!}}}}
 
{{#loop: i  
 
{{#loop: i  
 
| 0  
 
| 0  
Line 8: Line 8:
 
   |Has donated={{#explode:{{#arrayindex:reqs|{{#var:i}}}}|,|1}}
 
   |Has donated={{#explode:{{#arrayindex:reqs|{{#var:i}}}}|,|1}}
 
   |Total required={{#explode:{{#arrayindex:reqs|{{#var:i}}}}|,|2}}
 
   |Total required={{#explode:{{#arrayindex:reqs|{{#var:i}}}}|,|2}}
   |For technology={{#ask:[[Category:Technologies]] [[~Technology/{{{technology}}}/*]] [[Is progressing::true]] |? |link=none |format=plainlist}}
+
   |For technology={{#ask:[[Category:Technologies]] [[~Technology/{{{technology|Beekeeping}}}/*]] [[Is progressing::true]] |? |link=none |format=plainlist}}
 
   |Has parent={{FULLPAGENAME}}
 
   |Has parent={{FULLPAGENAME}}
 
}}}}
 
}}}}
 
}}
 
}}
}}{{ResTechnology|{{{technology}}}|state=collapsed
+
{{#arrayprint:reqs
 +
|<br/>
 +
|@@@@
 +
|@@@@
 +
}}
 +
}}{{ResTechnology|{{{technology|Beekeeping}}}|state=collapsed
 
|{{#arrayprint:reqs
 
|{{#arrayprint:reqs
 
|<br/>
 
|<br/>

Revision as of 19:08, 2 June 2021

Boards,0,1

block
Boards
0
/
1
(1)
0%
block