Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Development:Seriesbox"

From PCGamingWiki, the wiki about fixing PC games
m (variable declaration)
m (CSS classes)
Line 1: Line 1:
<includeonly>{{#vardefine:series total|0}}{{{entries|{{{1}}}}}}<table class="pcgwikitable template-seriesbox" id="seriesbox">{{#ifeq:{{NAMESPACE}}|Series|{{#vardefine:Series|{{PAGENAME}}}}}}
+
<includeonly>{{#vardefine:series total|0}}{{{entries|{{{1}}}}}}<table class="pcgwikitable template-seriesbox {{#if: {{#expr:{{#var:series total}} > 10}} | mw-collapsible mw-collapsed"}}" id="seriesbox">{{#ifeq:{{NAMESPACE}}|Series|{{#vardefine:Series|{{PAGENAME}}}}}}
 
<caption class="template-seriesbox-title">[[Series:{{#var:Series}}|{{#if:{{{title|}}}|{{{title}}}|{{#var:Series}}}}]]</caption>
 
<caption class="template-seriesbox-title">[[Series:{{#var:Series}}|{{#if:{{{title|}}}|{{{title}}}|{{#var:Series}}}}]]</caption>
 
{{#var:series rendered|}}
 
{{#var:series rendered|}}

Revision as of 04:32, 6 June 2020

Documentation for the above template (sometimes hidden from view).