A Wiki in the Desert
Log in

Difference between revisions of "Template:LabTechnology"

From A Wiki in the Desert
Line 5: Line 5:
 
| {{#arraysize: reqs}}  
 
| {{#arraysize: reqs}}  
 
| <nowiki/>
 
| <nowiki/>
{{#vardefine:current|{{#explode:{{#arrayindex: reqs| {{#var:i}}}}| |0}}}}{{#vardefine:needed|{{#explode:{{#arrayindex: reqs| {{#var:i}}}}| |1}}}}{{#vardefine:item|{{#replace:{{#replace:{{#arrayindex: reqs| {{#var:i}}}}|{{#var:current}} |}}}}|{{#var:needed}} }}
+
* {{#arrayindex:reqs|{{#var:i}}}}
{{#ifexpr: {{#len:{{#var:item}}}} > 0|* {{#var:current}}/{{#var:needed}} - {{#var:item}}}}
 
 
}}
 
}}

Revision as of 17:35, 2 June 2021

  • {{{technology}}}

  • {{{requirements}}}