Difference between revisions of "Template:Redirect template"
From Timelines
(Adding ability to suppress categorisation; adding categorisation for talk namespaces; adding ability to specify printworthiness.) |
(Removing category suppression (pointless feature).) |
||
Line 1: | Line 1: | ||
*{{#if:{{{name|}}}|'''{{#if:{{{corresponding category|}}|[[:Category:{{{corresponding category}}}|{{{name}}}]]|{{{name}}}}}''':}} This is a redirect{{#if:{{{from|}}}| from {{{from}}}}}{{#if:{{{to|}}}| to {{{to}}}}}. {{#if:{{{info|}}}|{{{info}}}}} | *{{#if:{{{name|}}}|'''{{#if:{{{corresponding category|}}|[[:Category:{{{corresponding category}}}|{{{name}}}]]|{{{name}}}}}''':}} This is a redirect{{#if:{{{from|}}}| from {{{from}}}}}{{#if:{{{to|}}}| to {{{to}}}}}. {{#if:{{{info|}}}|{{{info}}}}} | ||
− | |||
{{#if:{{{all category|}}}|{{{category|[[Category:{{{all category}}}]]}}}}} | {{#if:{{{all category|}}}|{{{category|[[Category:{{{all category}}}]]}}}}} | ||
{{#if:{{{main category|}}}|{{Main other|{{{category|[[Category:{{{main category}}}]]}}}|{{#if:{{{other category|}}}|{{{category|[[Category:{{{other category}}}]]}}}|{{Incorrect namespace|main}}}}}}}} | {{#if:{{{main category|}}}|{{Main other|{{{category|[[Category:{{{main category}}}]]}}}|{{#if:{{{other category|}}}|{{{category|[[Category:{{{other category}}}]]}}}|{{Incorrect namespace|main}}}}}}}} | ||
Line 10: | Line 9: | ||
{{#ifeq:{{{printworthy}}}|yes|{{Main other|{{{category|[[Category:Printworthy redirects]]}}}}}}} | {{#ifeq:{{{printworthy}}}|yes|{{Main other|{{{category|[[Category:Printworthy redirects]]}}}}}}} | ||
{{#ifeq:{{{printworthy}}}|no|{{Main other|{{{category|[[Category:Unprintworthy redirects]]}}}}}}} | {{#ifeq:{{{printworthy}}}|no|{{Main other|{{{category|[[Category:Unprintworthy redirects]]}}}}}}} | ||
− | {{Template other|{{{category|[[Category:All redirect templates]]}}}|{{Incorrect namespace|template}}}} | + | <includeonly>{{Template other|{{{category|[[Category:All redirect templates]]}}}|{{Incorrect namespace|template}}}}</includeonly> |
− | + | <noinclude> | |
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 08:01, 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. |