Template:Redirect template: Difference between revisions
From Vigyanwiki
Template>Mclay1 (Adding new parameters.) |
Template>Mclay1 (Removing {{Cat handler}}, which was causing problems.) |
||
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}}}]]}} | {{#if:{{{all category|}}}|[[Category:{{{all category}}}]]}} | ||
{{#if:{{{main category|}}}|{{Main other|{{{category|[[Category:{{{main category}}}]]}}}|{{#if:{{{other category|}}}|{{{category|[[Category:{{{other category}}}]]}}}}}}}}} | |||
{{#if:{{{help category|}}}|{{Help other|{{{category|[[Category:{{{help category}}}]]}}}|{{#if:{{{other category|}}}|{{{category|[[Category:{{{other category}}}]]}}}}}}}}} | |||
{{#if:{{{portal category|}}}|{{Portal other|{{{category|[[Category:{{{portal category}}}]]}}}|{{#if:{{{other category|}}}|{{{category|[[Category:{{{other category}}}]]}}}}}}}}} | |||
{{#if:{{{template category|}}}|{{Template other|{{{category|[[Category:{{{template category}}}]]}}}|{{#if:{{{other category|}}}|{{{category|[[Category:{{{other category}}}]]}}}}}}}}} | |||
{{#if:{{{wikipedia category|}}}|{{Wikipedia other|{{{category|[[Category:{{{wikipedia category}}}]]}}}|{{#if:{{{other category|}}}|{{{category|[[Category:{{{other category}}}]]}}}}}}}}} | |||
}} | |||
<includeonly>{{Template other|{{{category|[[Category:All redirect templates]]}}}}}</includeonly><noinclude> | <includeonly>{{Template other|{{{category|[[Category:All redirect templates]]}}}}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |