Difference between revisions of "Template:Redirect template"

From Timelines
Jump to: navigation, search
(Adding automatic adding of redirect template categories.)
m (for correct appearance of documentation page on template page)
 
(44 intermediate revisions by 12 users not shown)
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}}}}}
+
{{#invoke:Redirect template|main}}<noinclude>
{{#if:{{{all category|}}}|{{{category|[[Category:{{{all category}}}]]}}}}}
+
{{Documentation}}</noinclude>
{{#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:{{{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:{{{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]]}}}}}{{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]]}}}}}}}}}
 
<includeonly>{{Template other|{{{category|[[Category:All redirect templates]]}}}}}</includeonly><noinclude>
 
{{Documentation}}
 
</noinclude>
 

Latest revision as of 00:16, 23 July 2015

  • This is a redirect.
Template documentation[create]