Jump to navigation
Jump to search
(Attempting workaround (category rather than excluding categories)) |
(raw numbers without separator) |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:complete|{{#expr:{{#dpl: | <includeonly>{{#vardefine:complete|{{#expr:{{#dpl: | ||
|category={{{system}}} | |category={{{system}}} | ||
|category=Guides at completion stage 4 | |category=Guides at completion stage 4{{!}}Guides at completion stage 5 | ||
|format=,+1,, | |format=,+1,, | ||
|noresultsheader=0 | |noresultsheader=0 | ||
}}}}}}{{#vardefine:total|{{StrategyWiki:Guide completion/{{{system}}}}}}}|- | |debug=false | ||
}}+0}}}}{{#vardefine:total|{{StrategyWiki:Guide completion/{{{system}}}}}}}|- | |||
|[[:Category:{{{system}}}|{{{system}}}]] | |[[:Category:{{{system}}}|{{{system}}}]] | ||
|[[StrategyWiki:Guide completion/{{{system}}}|{{#var:total}}]] | |[[StrategyWiki:Guide completion/{{{system}}}|{{#var:total}}]] | ||
|[[:Category:{{{system}}}|{{PAGESINCATEGORY:{{{system}}}}}]] | |[[:Category:{{{system}}}|{{PAGESINCATEGORY:{{{system}}}|R}}]] | ||
|{{#expr:{{PAGESINCATEGORY:{{{system}}}}}/{{#var:total}}*100 round 1}}% | |{{#expr:{{PAGESINCATEGORY:{{{system}}}|R}}/{{#var:total}}*100 round 1}}% | ||
|{{#expr: {{StrategyWiki:Guide completion/{{{system}}}}} -{{PAGESINCATEGORY:{{{system}}}}}}} | | {{#expr: {{StrategyWiki:Guide completion/{{{system}}}}} -{{PAGESINCATEGORY:{{{system}}}|R}}}} | ||
|'''{{#var:complete}}''' | | '''{{#var:complete}}''' | ||
|{{#expr:{{#var:complete}}/{{#var:total}}*100 round 1}}% | |{{#expr:{{#var:complete}}/{{#var:total}}*100 round 1}}% | ||
</includeonly><noinclude> | </includeonly><noinclude> |
Latest revision as of 04:18, 21 September 2021
This page has been transcluded from Template:Guide completion/Documentation.
This template is for automating guide counts on StrategyWiki:Guide completion. All stats can be discerned by MediaWiki itself, but the template is quite resource-intensive, so use it sparingly (i.e. only on the guide completion page).
Note: if a row has an extra line break at the missing column, make sure the total number of games value is higher than the present number of games value.