A Wiki in the Desert
Log in

Difference between revisions of "Template:LabTechnology"

From A Wiki in the Desert
Line 1: Line 1:
{{ResTechnology|{{{technology}}}|state=collapsed|
+
{{#arraydefine:reqs|{{{requirements}}}|{{!}}}}{{ResTechnology|{{{technology}}}|state=collapsed|
{{#arraydefine:reqs|{{{requirements}}}|{{!}}}}
 
 
{{#loop: i  
 
{{#loop: i  
 
| 0  
 
| 0  
Line 11: Line 10:
 
   |For technology={{#ask:[[Category:Technologies]] [[~Technology/{{{technology}}}/*]] [[Is progressing::true]] |? |link=none |format=plainlist}}
 
   |For technology={{#ask:[[Category:Technologies]] [[~Technology/{{{technology}}}/*]] [[Is progressing::true]] |? |link=none |format=plainlist}}
 
   |Has parent={{FULLPAGENAME}}
 
   |Has parent={{FULLPAGENAME}}
}}}}{{ResResource
+
}}}}
|{{#explode:{{#arrayindex:reqs|{{#var:i}}}}|,|0}}
+
{{ResResource{{!}}Test{{!}}0{{!}}1}}
|0
 
|1
 
}}
 
 
}}
 
}}
 
}}
 
}}

Revision as of 18:34, 2 June 2021

{{ResTechnology|{{{technology}}}|state=collapsed| Expression error: Unexpected < operator. {{ResResource|Test|0|1}}