Jump to navigation
Jump to search
(Fix negative missing count (occurs if there's more pages in the cat than expected.) |
m (Fix zero-complete count.) |
||
Line 5: | Line 5: | ||
|noresultsheader=0 | |noresultsheader=0 | ||
|debug=false | |debug=false | ||
}}}}}}{{#vardefine:total|{{StrategyWiki:Guide completion/{{{system}}}}}}}|- | }}+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}}]] | ||
Line 11: | Line 11: | ||
|{{#expr:{{PAGESINCATEGORY:{{{system}}}}}/{{#var:total}}*100 round 1}}% | |{{#expr:{{PAGESINCATEGORY:{{{system}}}}}/{{#var:total}}*100 round 1}}% | ||
| {{#expr: {{StrategyWiki:Guide completion/{{{system}}}}} -{{PAGESINCATEGORY:{{{system}}}}}}} | | {{#expr: {{StrategyWiki:Guide completion/{{{system}}}}} -{{PAGESINCATEGORY:{{{system}}}}}}} | ||
|'''{{#var:complete}}''' | | '''{{#var:complete}}''' | ||
|{{#expr:{{#var:complete}}/{{#var:total}}*100 round 1}}% | |{{#expr:{{#var:complete}}/{{#var:total}}*100 round 1}}% | ||
</includeonly><noinclude> | </includeonly><noinclude> |
Revision as of 20:26, 12 October 2015
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.