Template:Redirect template

From MediaWiki
Jump to: navigation, search
  • {{#if:|{{#if:|[[w:Category:{{{all category}}}|{{{name}}}]]|{{#if:|[[w:Category:{{{main category}}}|{{{name}}}]]|{{#if:|[[w:Category:{{{help category}}}|{{{name}}}]]|{{#if:|[[w:Category:{{{portal category}}}|{{{name}}}]]|{{#if:|[[w:Category:{{{talk category}}}|{{{name}}}]]|{{#if:|[[w:Category:{{{template category}}}|{{{name}}}]]|{{#if:|[[w:Category:{{{wikipedia category}}}|{{{name}}}]]|{{{name}}}}}}}}}}}}}}}}}:}} This is a redirect{{#if:| from {{{from}}}}}{{#if:| to {{{to}}}}}. {{#if:|{{{info}}}}}

{{#if:|[[Category:{{{all category}}}]]}}{{#if:|{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = [[Category:{{{main category}}}]] | other | #default = {{#if:|[[Category:{{{other category}}}]]|{{#ifeq:Template|Template||{{#ifeq:Redirect template|sandbox||{{#ifeq:Redirect template|testcases||{{#ifeq:Template:Redirect template|w:Sandbox||{{#invoke:Message box|mbox}}{{#ifeq:false|false||}}}}}}}}}}}} }}}}{{#if:|Template:Help other}}{{#if:|Template:Portal other}}{{#if:|{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|Template talk
   | talk
   | other
   }} 
 }}

| talk = [[Category:{{{talk category}}}]] | other | #default = {{#if:|[[Category:{{{other category}}}]]|{{#ifeq:Template|Template||{{#ifeq:Redirect template|sandbox||{{#ifeq:Redirect template|testcases||{{#ifeq:Template:Redirect template|w:Sandbox||{{#invoke:Message box|mbox}}{{#ifeq:false|false||}}}}}}}}}}}} }}}}{{#if:|{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = [[Category:{{{template category}}}]] | other | #default = {{#if:|[[Category:{{{other category}}}]]|{{#ifeq:Template|Template||{{#ifeq:Redirect template|sandbox||{{#ifeq:Redirect template|testcases||{{#ifeq:Template:Redirect template|w:Sandbox||{{#invoke:Message box|mbox}}{{#ifeq:false|false||}}}}}}}}}}}} }}}}{{#if:|Template:Wikipedia other}}{{#ifeq:{{{printworthy}}}|yes|{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}{{#ifeq:Redirect template|doc||{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = | other | #default = }}}}|{{#ifeq:{{{printworthy}}}|no|{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}{{#ifeq:Redirect template|doc||{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = | other | #default = }}}}}}}}

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox