Difference between revisions of "Template:Redirect template"

From Timelines
Jump to: navigation, search
(rm unneeded protection template)
(use the formatting from {{Redirect from plural}}, which is the most prevalent. Also strip out a load of cruft from the code)
Line 1: Line 1:
*{{#if:{{{name|}}}|'''<!--
+
&nbsp;
-->{{#if:{{{all category|}}}|[[w:Category:{{{all category}}}|{{{name}}}]]|<!--
+
----
    -->{{#if:{{{main category|}}}|[[w:Category:{{{main category}}}|{{{name}}}]]|<!--
+
{{#if:{{{name|}}}|
        -->{{#if:{{{help category|}}}|[[w:Category:{{{help category}}}|{{{name}}}]]|<!--
+
; {{#if:{{{all category|}}}|[[w:Category:{{{all category}}}|{{{name}}}]]|{{#if:{{{main category|}}}|[[w:Category:{{{main category}}}|{{{name}}}]]|{{#if:{{{help category|}}}|[[w:Category:{{{help category}}}|{{{name}}}]]|{{#if:{{{portal category|}}}|[[w:Category:{{{portal category}}}|{{{name}}}]]|{{#if:{{{talk category|}}}|[[w:Category:{{{talk category}}}|{{{name}}}]]|{{#if:{{{template category|}}}|[[w:Category:{{{template category}}}|{{{name}}}]]|{{#if:{{{wikipedia category|}}}|[[w:Category:{{{wikipedia category}}}|{{{name}}}]]|{{{name}}}}}}}}}}}}}}}}}:}}
            -->{{#if:{{{portal category|}}}|[[w:Category:{{{portal category}}}|{{{name}}}]]|<!--
+
This is a redirect{{#if:{{{from|}}}|&#32;from {{{from}}}}}{{#if:{{{to|}}}|&#32;to {{{to}}}}}. {{#if:{{{info|}}}|{{{info}}}}}{{#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:{{{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}}}}}}}}<includeonly>{{#ifeq:{{SUBPAGENAME}}|doc||{{Template other|{{{category|[[Category:All redirect templates]]}}}}}}}{{#ifeq:{{{printworthy}}}|yes|{{Main other|{{{category|[[Category:Printworthy redirects]]}}}}}{{#ifeq:{{SUBPAGENAME}}|doc||{{Template other|{{{category|[[Category:Templates for printworthy redirects]]}}}}}}}|{{#ifeq:{{{printworthy}}}|no|{{Main other|{{{category|[[Category:Unprintworthy redirects]]}}}}}{{#ifeq:{{SUBPAGENAME}}|doc||{{Template other|{{{category|[[Category:Templates for unprintworthy redirects]]}}}}}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>
                -->{{#if:{{{talk category|}}}|[[w:Category:{{{talk category}}}|{{{name}}}]]|<!--
 
                    -->{{#if:{{{template category|}}}|[[w:Category:{{{template category}}}|{{{name}}}]]|<!--
 
                        -->{{#if:{{{wikipedia category|}}}|[[w:Category:{{{wikipedia category}}}|{{{name}}}]]|<!--
 
                            -->{{{name}}}<!--
 
                        -->}}<!--
 
                    -->}}<!--
 
                -->}}<!--
 
            -->}}<!--
 
        -->}}<!--
 
    -->}}<!--
 
-->}}''':}} This is a redirect{{#if:{{{from|}}}|&#32;from {{{from}}}}}{{#if:{{{to|}}}|&#32;to {{{to}}}}}. {{#if:{{{info|}}}|{{{info}}}}}
 
<!--
 
 
 
== Target categories ==
 
 
 
-->{{#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:{{{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}}}}}}}}<!--
 
 
 
== Template category ==
 
 
 
--><includeonly>{{#ifeq:{{SUBPAGENAME}}|doc||{{Template other|{{{category|[[Category:All redirect templates]]}}}}}}}</includeonly><!--
 
 
 
== Printworthiness ==
 
 
 
-->{{#ifeq:{{{printworthy}}}|yes|{{Main other|{{{category|[[Category:Printworthy redirects]]}}}}}{{#ifeq:{{SUBPAGENAME}}|doc||{{Template other|{{{category|[[Category:Templates for printworthy redirects]]}}}}}}}|{{#ifeq:{{{printworthy}}}|no|{{Main other|{{{category|[[Category:Unprintworthy redirects]]}}}}}{{#ifeq:{{SUBPAGENAME}}|doc||{{Template other|{{{category|[[Category:Templates for unprintworthy redirects]]}}}}}}}}}}}<noinclude>
 
 
 
{{Documentation}}
 
</noinclude>
 

Revision as of 08:08, 20 March 2012

 


This is a redirect.
Template documentation[create]