Difference between revisions of "Template:Redirect template"

From Timelines
Jump to: navigation, search
(Adding automatic adding of redirect template categories.)
m
Line 7: Line 7:
 
{{#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}}}}}}}}
{{#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>
<includeonly>{{Template other|{{{category|[[Category:All redirect templates]]}}}}}</includeonly><noinclude>
+
{{#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]]}}}}}}}}}<noinclude>
 +
 
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 10:14, 24 February 2011

  • This is a redirect.






Template documentation[create]