Difference between revisions of "Template:Module rating"

From Betting Wiki
Jump to navigation Jump to search
en>Jackmcbarn
(detect cascading and titleblacklist protection)
en>Eyesnore
(Better, less vague wording)
Line 31: Line 31:
 
       | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Modules subject to page protection|{{PAGENAME}}]] }}
 
       | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Modules subject to page protection|{{PAGENAME}}]] }}
 
       }}
 
       }}
   | #default                  = {{error|The rating is either invalid or not specified. Please remove the {{Tlx|Module rating}} template or specify a valid rating.}}
+
   | #default                  = {{error|Module rating is invalid or not specified.}}
 
   }}
 
   }}
 
}}|{{error|This template should be placed in the Module namespace.}}|demospace={{{demospace|<noinclude>module</noinclude>}}}}}<noinclude>
 
}}|{{error|This template should be placed in the Module namespace.}}|demospace={{{demospace|<noinclude>module</noinclude>}}}}}<noinclude>

Revision as of 00:19, 8 June 2015

{{#switch:

 {{#if:module
 | module    
 | {{#ifeq:Template|Module
   | module
   | other
   }}
 }}

| module =

| other | #default = Template:Error }}

50px Template documentation[create]