Template:Category link/core: Difference between revisions

From All Skies Encyclopaedia
imported>HouseBlaster
(copy content from Template:Category link; see that page for attribution. This page is going to (hopefully) only call the WP:EXPENSIVE function PAGESINCAT once and some other misc tidying, including the option for a category: prefix)
 
imported>MusikBot II
m (Changed protection settings for "Template:Category link/core": High-risk template or module: 322812 transclusions (more info) ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[:Category:{{{1}}}|{{{2|Category:{{{1}}}}}}]]{{#if:{{Yesno|{{{count|no}}}}}|<small> {{#ifexpr:{{{page_count}}}>={{{backlog|{{#expr:{{{page_count}}}+1}}}}}|<span style="font-weight: bold; color: #DD0000;">}}(&thinsp;{{#formatnum:{{{page_count}}}}}&thinsp;){{#ifexpr:{{{page_count}}}>={{{backlog|{{#expr:{{{page_count}}}+1}}}}}|</span>}}</small>}}<noinclude>
[[:Category:{{{1}}}|{{{2}}}]]{{#if:{{Yesno|1={{{count|no}}}}}|&nbsp;<small style="{{#ifexpr:{{{page_count}}}>={{{backlog}}}|font-weight: bold; color: #DD0000;}}">(&thinsp;{{formatnum:{{{page_count}}}}}&thinsp;)</small>}}<noinclude>
{{Documentation|Template:Category link/doc}}
{{Documentation|Template:Category link/doc}}
</noinclude>
</noinclude>

Latest revision as of 17:59, 22 July 2024

[[:Category:{{{1}}}|{{{2}}}]]