Difference between revisions of "Template:TechnologyPipsCompleted"
From A Wiki in the Desert
Line 1: | Line 1: | ||
− | {{#vardefine:sum|0}}{{#vardefine:tech|{{trim|{{{1|Technology/Blacksmithing/2}}}}}}}{{#loop: i | + | <includeonly>{{#vardefine:sum|0}}{{#vardefine:tech|{{trim|{{{1|Technology/Blacksmithing/2}}}}}}}{{#loop: i |
| 1 | | 1 | ||
| {{#ask: [[Category:Laboratories]] |format=count}} | | {{#ask: [[Category:Laboratories]] |format=count}} | ||
| <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}}}}}}}} | | <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}}}}}}}} | ||
− | }}{{#var:sum}}<noinclude> | + | }}{{#var:sum}}</includeonly><noinclude> |
<templatedata> | <templatedata> | ||
{ | { |
Revision as of 21:22, 26 June 2021
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Technology | 1 | no description
| Unknown | required |