Template:Category link: Difference between revisions
From Video Credit Archive
Content added Content deleted
imported>Sardanaphalus (Update from sandbox/testcases (optional alternate linktext {{{2}}})) |
imported>Anthony Appleyard m (Anthony Appleyard moved page Template:Cl to Template:Category link over redirect: Requested by Nyuszika7H at WP:RM/TR: The template should be located at the natural, unabbreviated title and {{[[Temp...) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#ifeq:{{#titleparts:{{PAGENAME}}|1}}|Stub types for deletion |[[:Category:{{{1}}}|Cat:{{{1}}}]] | [[:Category:{{{1}}}|{{{2|Category:{{{1}}}}}}]]{{#ifeq:{{Yesno|{{{count|no}}}}}|yes|<small> {{#ifexpr:{{PAGESINCAT:{{{1}}}|{{UC:{{{count_type|ALL}}}}}|R}}>={{{backlog|{{#expr:{{PAGESINCAT:{{{1}}}|{{UC:{{{count_type|ALL}}}}}|R}}+1}}}}}|<span style="font-weight: bold; color: #DD0000;">}}( {{PAGESINCAT:{{{1}}}|{{UC:{{{count_type|ALL}}}}}}} ){{#ifexpr:{{PAGESINCAT:{{{1}}}|{{UC:{{{count_type|ALL}}}}}|R}}>={{{backlog|{{#expr:{{PAGESINCAT:{{{1}}}|{{UC:{{{count_type|ALL}}}}}|R}}+1}}}}}|</span>}}</small>}}}}<noinclude> |
|||
{{#ifeq:{{#titleparts:{{PAGENAME}}|1}}|Stub types for deletion |[[:Category:{{{1}}}|Cat:{{{1}}}]] |
|||
| [[:Category:{{{1}}}|{{{2|Category:{{{1}}}}}}]] |
|||
}}<noinclude> |
|||
{{Documentation}} |
{{Documentation}} |
||
</noinclude> |
</noinclude> |
Latest revision as of 10:41, 21 September 2016
[[:Category:{{{1}}}|Category:{{{1}}}]]
File:Test Template Info-Icon - Version (2).svg Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |