Template:Redirect template: Difference between revisions

From Vigyanwiki
Template>Mclay1
(Adding automatic adding of redirect template categories.)
Template>Mclay1
mNo edit summary
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 22:44, 24 February 2011

  • This is a redirect.






Template documentation