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|{{ | + | {{#vardefine:sum|0}}{{#vardefine:tech|{{trim|{{{1|Technology/Blacksmithing/2}}}}}}} |
| − | }}{{ | + | {{#loop: i |
| + | | 1 | ||
| + | | {{#ask: [[Category:Laboratories]] |format=count}} | ||
| + | | {{#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:tech}} {{#var:sum}}<noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Revision as of 21:17, 26 June 2021
Technology/Blacksmithing/2 50
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Technology | 1 | no description
| Unknown | required |