A Wiki in the Desert
Log in

Difference between revisions of "Template:TechnologyPipsCompleted"

From A Wiki in the Desert
Line 3: Line 3:
 
   | 1  
 
   | 1  
 
   | {{#ask: [[Category:Laboratories]] |format=count}}  
 
   | {{#ask: [[Category:Laboratories]] |format=count}}  
   | <nowiki/>
+
   | <nowiki/>{{#arraydefine:techs|{{#ask: [[Laboratory/{{#var:i}}]] |?Working on#= |mainlabel=- |format=plainlist}}}}{{#if: {{#arraysearch:techs|{{#var:tech}}}}||{{#vardefine:sum|{{#expr:{{#var:sum}}+{{#ask: [[Laboratory/{{#var:i}}]] |?Has level#= |mainlabel=- |format=plainlist}}}}}}}}
{{#arraydefine:techs|{{#ask: [[Laboratory/{{#var:i}}]] |?Working on#= |mainlabel=- |format=plainlist}}}}{{#if: {{#arraysearch:techs|{{#var:tech}}}}
+
}}{{#var:sum}}<noinclude>
|
 
|{{#vardefine:sum|{{#expr:{{#var:sum}}+{{#ask: [[Laboratory/{{#var:i}}]] |?Has level#= |mainlabel=- |format=plainlist}}}}}}
 
}}
 
}}{{#var:tech}} {{#var:sum}}<noinclude>
 
 
<templatedata>
 
<templatedata>
 
{
 
{

Revision as of 21:20, 26 June 2021

50

No description.

Template parameters

ParameterDescriptionTypeStatus
Technology1

no description

Example
Technology/Blacksmithing/2
Unknownrequired