A Wiki in the Desert
Log in

Difference between revisions of "Template:LabTechnology"

From A Wiki in the Desert
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#arraydefine:reqs|{{{requirements}}}|{{!}}}}
+
{{#arraydefine:reqs|{{{1|Boards,0,1;Bricks,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}}
 +
  |Should ignore={{{ignore|false}}}
 +
  |Should prefer={{{preferred|false}}}
 +
  |Pledged by={{#arraydefine:pledge|{{#explode:{{#arrayindex:reqs|{{#var:i}}}}|,|3}}|\}}{{#arrayprint:pledge}}
 
   |Has parent={{FULLPAGENAME}}
 
   |Has parent={{FULLPAGENAME}}
}}}}
+
}}}}}}}}{{#set: Working on={{#ask:[[Category:Technologies]] [[~Technology/{{{technology|Beekeeping}}}/*]] [[Is progressing::true]] |? |link=none |format=plainlist}}}}
}}
+
{{ResTechnology|{{{technology|Beekeeping}}}|state=collapsed
}}{{ResTechnology|{{{technology}}}|state=collapsed
+
|{{{time|}}}{{#arrayprint:reqs|<br/>|@@@@|{{#ifexpr:{{#len:{{#explode:@@@@|,|0}}}} > 0|<nowiki/>
|{{#arrayprint:reqs
+
{{ResResource|{{trim|{{#explode:@@@@|,|0}}}}|{{trim|{{#explode:@@@@|,|1}}}}|{{trim|{{#explode:@@@@|,|2}}}}}}  
|<br/>
 
|@@@@
 
|{{#ifexpr:{{#len:{{#explode:@@@@|,|0}}}} > 0
 
|{{ResResource
 
|{{trim|{{#explode:@@@@|,|0}}}}
 
|{{#explode:@@@@|,|1}}
 
|{{#explode:@@@@|,|2}}
 
}}  
 
 
}}
 
}}
 
}}
 
}}
 
}}
 
}}

Latest revision as of 02:37, 24 June 2021

block
Boards
0
/
1
(1)
0%

Bricks
0
/
1
(1)
0%
block