Difference between revisions of "Template:TechnologyPipsCompleted"
From A Wiki in the Desert
(Created page with "{{#vardefine:sum|0}}{{#loop: i | 1 | {{#ask: Category:Laboratories |format=count}} | {{#arraydefine:techs|{{#ask: [[Laboratory/{{#var:i}}]] |?Working on#= |mainlabel=- |fo...") |
|||
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}} | }}{{#var:sum}} | ||
+ | <noinclude> | ||
+ | <templatedata> | ||
+ | { | ||
+ | "params": { | ||
+ | "1": { | ||
+ | "label": "Technology", | ||
+ | "example": "Technology/Blacksmithing/2", | ||
+ | "type": "wiki-page-name", | ||
+ | "required": true | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </templatedata> | ||
+ | </noinclude> |
Revision as of 21:08, 26 June 2021
50
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Technology | 1 | no description
| Page | required |