Difference between revisions of "Template:CList"
(copying over the mw-collapsible code from {{CList2}} since the "GEcollapsible" class code hasn't worked for a few years now) |
|||
(19 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#if:{{{dpl|}}}|{{{!}} class="collapsible {{{collapse| | + | {{#if:{{{CountCat|}}}|{{#vardefine:count|{{PAGESINCAT:{{fixtick|{{{CountCat|x}}}}}|pages|R}}}}|{{#vardefine:count|1}}}}{{#ifexpr:{{#var:count}} >= 1 |{{#if:{{{dpl|}}}|{{{!}} class="mw-collapsible {{{collapse|}}}" data-expandtext="▼" data-collapsetext="▲" style="border:none; width:100%; float:left;" |
− | ! align="left" {{!}}<div style="font-size:18px;">{{{Title|}}}{{#if:{{{CountCat|}}}| ( | + | ! align="left" {{!}}<div style="font-size:18px;">{{{Title|}}}{{#if:{{{CountCat|}}}| ([[:Category:{{fixtick|{{{CountCat|x}}}}}|{{#var:count}}]])}}</div>[[File:Divider3.png{{!}}left{{!}}link=]] |
{{!}}- | {{!}}- | ||
− | {{!}} | + | {{!}}{{#if:{{{dpl|}}}|{{#ifeq: * | {{#sub:{{{dpl|}}}|0|1}}| |
− | {{{dpl|}}} | + | {{{dpl|}}}|{{{dpl|}}}}}}} |
{{!}}} | {{!}}} | ||
− | }} | + | }}|}} |