Difference between revisions of "Development:Seriesbox"
From PCGamingWiki, the wiki about fixing PC games
m (migrated to using tbody styling instead (should merge well with our already existing toggable seriesboxes) |
m (f) |
||
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" 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> | ||
− | <tbody style={{#if: {{#expr:{{#var:series total}} > 10}} | | + | <tbody style="{{#if: {{#expr:{{#var:series total}} > 10}} | display: none}}">{{#var:series rendered|}}</tbody> |
</table>{{#ifeq:{{NAMESPACE}}|Series|{{#ask: [[Category:Games]] [[Part of series::Series:{{PAGENAME}}]] [[Modification date::+]] | </table>{{#ifeq:{{NAMESPACE}}|Series|{{#ask: [[Category:Games]] [[Part of series::Series:{{PAGENAME}}]] [[Modification date::+]] | ||
| ?Developed by=Developer | | ?Developed by=Developer |
Revision as of 04:44, 6 June 2020
Documentation for the above template (sometimes hidden from view).
Visit Development:Seriesbox/Documentation to edit this text. (How does this work?)