Difference between revisions of "Template:Redirect template"
From Timelines
m (Removing feature causing mess on talk pages.) |
(Adding automatic adding of redirect template categories.) |
||
Line 7: | Line 7: | ||
{{#if:{{{template category|}}}|{{Template other|{{{category|[[Category:{{{template category}}}]]}}}|{{#if:{{{other category|}}}|{{{category|[[Category:{{{other category}}}]]}}}|{{Incorrect namespace|template}}}}}}}} | {{#if:{{{template category|}}}|{{Template other|{{{category|[[Category:{{{template category}}}]]}}}|{{#if:{{{other category|}}}|{{{category|[[Category:{{{other category}}}]]}}}|{{Incorrect namespace|template}}}}}}}} | ||
{{#if:{{{wikipedia category|}}}|{{Wikipedia other|{{{category|[[Category:{{{wikipedia category}}}]]}}}|{{#if:{{{other category|}}}|{{{category|[[Category:{{{other category}}}]]}}}|{{Incorrect namespace|Wikipedia project}}}}}}}} | {{#if:{{{wikipedia category|}}}|{{Wikipedia other|{{{category|[[Category:{{{wikipedia category}}}]]}}}|{{#if:{{{other category|}}}|{{{category|[[Category:{{{other category}}}]]}}}|{{Incorrect namespace|Wikipedia project}}}}}}}} | ||
− | {{#ifeq:{{{printworthy}}}|yes|{{Main other|{{{category|[[Category:Printworthy redirects]]}}}}}}} | + | {{#ifeq:{{{printworthy}}}|yes|{{Main other|{{{category|[[Category:Printworthy redirects]]}}}}}{{Template other|{{{category|[[Category:Templates for printworthy redirects]]}}}}}|{{#ifeq:{{{printworthy}}}|no|{{Main other|{{{category|[[Category:Unprintworthy redirects]]}}}}}{{Template other|{{{category|[[Category:Templates for unprintworthy redirects]]}}}}}}}}} |
− | {{#ifeq:{{{printworthy}}}|no|{{Main other|{{{category|[[Category:Unprintworthy redirects]]}}}}}}} | ||
<includeonly>{{Template other|{{{category|[[Category:All redirect templates]]}}}}}</includeonly><noinclude> | <includeonly>{{Template other|{{{category|[[Category:All redirect templates]]}}}}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 09:11, 24 February 2011
- This is a redirect.
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. |