Template:Redirect template

From Embroidery Machine WIKI
Jump to navigation Jump to 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|Wikipedia:Sandbox||{{

 {{#invoke:Namespace detect|main}}

| type = content | image = | imageright = | class = | style = | textstyle = | text = {{#invoke:Error|error|The above template should only be transcluded in the main namespace(s).|tag=}} | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }}{{#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|Wikipedia:Sandbox||{{

 {{#invoke:Namespace detect|main}}

| type = content | image = | imageright = | class = | style = | textstyle = | text = {{#invoke:Error|error|The above template should only be transcluded in the talk namespace(s).|tag=}} | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }}{{#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|Wikipedia:Sandbox||{{

 {{#invoke:Namespace detect|main}}

| type = content | image = | imageright = | class = | style = | textstyle = | text = {{#invoke:Error|error|The above template should only be transcluded in the template namespace(s).|tag=}} | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }}{{#ifeq:false|false||}}}}}}}}}}}} }}}}{{#if:|{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Embroidery Machine WIKI
   | wikipedia
   | other
   }}
 }}

| project | wikipedia = [[Category:{{{wikipedia category}}}]] | other | #default = {{#if:|[[Category:{{{other category}}}]]|{{#ifeq:Template|Template||{{#ifeq:Redirect template|sandbox||{{#ifeq:Redirect template|testcases||{{#ifeq:Template:Redirect template|Wikipedia:Sandbox||{{

 {{#invoke:Namespace detect|main}}

| type = content | image = | imageright = | class = | style = | textstyle = | text = {{#invoke:Error|error|The above template should only be transcluded in the Wikipedia project namespace(s).|tag=}} | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }}{{#ifeq:false|false||}}}}}}}}}}}} }}}}{{#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 = }}}}}}}}

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}