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>HouseBlaster
(defaults handled in the main template)
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|{{{count}}}}}|<small> {{#ifexpr:{{{page_count}}}>={{{backlog}}}|<span style="font-weight: bold; color: #DD0000;">}}(&thinsp;{{#formatnum:{{{page_count}}}}}&thinsp;){{#ifexpr:{{{page_count}}}>={{{backlog}}}|</span>}}</small>}}<noinclude>
{{Documentation|Template:Category link/doc}}
{{Documentation|Template:Category link/doc}}
</noinclude>
</noinclude>

Revision as of 20:20, 7 July 2024

[[:Category:{{{1}}}|{{{2}}}]] Expression error: Unrecognized punctuation character "{".( {{#formatnum:{{{page_count}}}}} )Expression error: Unrecognized punctuation character "{".