Template:Cat: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
trim the category name
(sortkey can only take 255 characters so it's not feasible to allow arbitrary 'extra' data. adding 'group' to replace it.)
(trim the category name)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{nocat}}}|true||[[Category:{{{1}}}|{{{2|{{PAGENAME}}}}}{{#if:{{{group|}}}|{{!}}{{{group}}}}}{{#if:{{{extra|}}}|{{!}}{{{extra}}}}}]]}}</includeonly><noinclude>
<includeonly>{{#ifeq:{{{nocat}}}|true||[[Category:{{Trim|{{{1}}}}}|{{{2|{{PAGENAME}}}}}{{#if:{{{group|}}}|{{!}}{{{group}}}}}{{#if:{{{extra|}}}|{{!}}{{{extra}}}}}]]}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Navigation menu