From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search
m (Protected "Template:Guide completion": used in StrategyWiki:Guide Completion, shouldn't be messed with (it works fine as-is) [edit=sysop:move=sysop])
(raw numbers without separator)
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>|-
<includeonly>{{#vardefine:complete|{{#expr:{{#dpl:
|[[:Category:{{{system}}}|{{{system}}}]] || [[StrategyWiki:Guide completion/{{{system}}}|{{StrategyWiki:Guide completion/{{{system}}}}}]] || [[:Category:{{{system}}}|{{PAGESINCATEGORY:{{{system}}}}}]] || {{#expr: {{StrategyWiki:Guide completion/{{{system}}}}} -{{PAGESINCATEGORY:{{{system}}}}}}} || '''{{{complete}}}'''
|category={{{system}}}
|category=Guides at completion stage 4{{!}}Guides at completion stage 5
|format=,+1,,
|noresultsheader=0
|debug=false
}}+0}}}}{{#vardefine:total|{{StrategyWiki:Guide completion/{{{system}}}}}}}|-
|[[:Category:{{{system}}}|{{{system}}}]]
|[[StrategyWiki:Guide completion/{{{system}}}|{{#var:total}}]]
|[[:Category:{{{system}}}|{{PAGESINCATEGORY:{{{system}}}|R}}]]
|{{#expr:{{PAGESINCATEGORY:{{{system}}}|R}}/{{#var:total}}*100 round 1}}%
| {{#expr: {{StrategyWiki:Guide completion/{{{system}}}}} -{{PAGESINCATEGORY:{{{system}}}|R}}}}
| '''{{#var:complete}}'''
|{{#expr:{{#var:complete}}/{{#var:total}}*100 round 1}}%
</includeonly><noinclude>
</includeonly><noinclude>
This template is for automating guide counts on [[StrategyWiki:Guide completion]]. Only the Complete stat cannot be discerned by MediaWiki itself.
{{Documentation}}


[[Category:Templates|G]]</noinclude>
[[Category:Templates|G]]</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.