A Wiki in the Desert
Log in

Difference between revisions of "Template:TechnologyPipsCompleted"

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

Revision as of 21:10, 26 June 2021

50

No description.

Template parameters

ParameterDescriptionTypeStatus
Technology1

no description

Example
Technology/Blacksmithing/2
Pagerequired