Template:Redirect template: Difference between revisions

From Vigyanwiki
Template>Mclay1
(Adding automatic transclusion of Template:Incorrect namespace.)
Template>Mclay1
(Adding ability to suppress categorisation; adding categorisation for talk namespaces; adding ability to specify printworthiness.)
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:{{{all category}}}]]}}
{{#ifeq:{{lc:{{{nocat|false}}}}}|false|
{{#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}}}}}}}}
{{#if:{{{help category|}}}|{{Help other|{{{category|[[Category:{{{help category}}}]]}}}|{{#if:{{{other category|}}}|{{{category|[[Category:{{{other category}}}]]}}}|{{Incorrect namespace|help}}}}}}}}
{{#if:{{{help category|}}}|{{Help other|{{{category|[[Category:{{{help category}}}]]}}}|{{#if:{{{other category|}}}|{{{category|[[Category:{{{other category}}}]]}}}|{{Incorrect namespace|help}}}}}}}}
{{#if:{{{portal category|}}}|{{Portal other|{{{category|[[Category:{{{portal category}}}]]}}}|{{#if:{{{other category|}}}|{{{category|[[Category:{{{other category}}}]]}}}|{{Incorrect namespace|portal}}}}}}}}
{{#if:{{{portal category|}}}|{{Portal other|{{{category|[[Category:{{{portal category}}}]]}}}|{{#if:{{{other category|}}}|{{{category|[[Category:{{{other category}}}]]}}}|{{Incorrect namespace|portal}}}}}}}}
{{#if:{{{talk category|}}}|{{Talk other|{{{category|[[Category:{{{talk category}}}]]}}}|{{#if:{{{other category|}}}|{{{category|[[Category:{{{other category}}}]]}}}|{{Incorrect namespace|talk}}}}}}}}
{{#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}}}}}}}}
<includeonly>{{Template other|{{{category|[[Category:All redirect templates]]}}}}}</includeonly><noinclude>
{{#ifeq:{{{printworthy}}}|yes|{{Main other|{{{category|[[Category:Printworthy redirects]]}}}}}}}
 
{{#ifeq:{{{printworthy}}}|no|{{Main other|{{{category|[[Category:Unprintworthy redirects]]}}}}}}}
{{Template other|{{{category|[[Category:All redirect templates]]}}}|{{Incorrect namespace|template}}}}
}}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 21:21, 24 February 2011

  • This is a redirect.
Template documentation