Difference between revisions of "Template:Module rating"

From Betting Wiki
Jump to navigation Jump to search
en>GKFX
(Add working demo to page top.)
en>Eyesnore
Line 38: Line 38:
 
   | #default                  = {{error|Module rating is invalid or not specified.}}
 
   | #default                  = {{error|Module rating is invalid or not specified.}}
 
   }}
 
   }}
}}|{{error|Error: {{tl|Module rating}} must be placed in the Module namespace.}}|demospace={{{demospace|<noinclude>module</noinclude>}}}}}</includeonly><noinclude>
+
}}|{{error|Error: {{tl|Module rating}} must be placed in the Module namespace.}} [[Category:Pages with templates in the wrong namespace]]|demospace={{{demospace|<noinclude>module</noinclude>}}}}}</includeonly><noinclude>
 
{{module rating|release|nocat=true|demospace=module}}
 
{{module rating|release|nocat=true|demospace=module}}
 
{{documentation}}
 
{{documentation}}
 
<!-- Categories go on the /doc subpage, and interwikis go in Wikidata. -->
 
<!-- Categories go on the /doc subpage, and interwikis go in Wikidata. -->
 
</noinclude>
 
</noinclude>

Revision as of 14:07, 24 July 2017

{{#switch:

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

| module =

| other | #default = Template:Error }}

50px Template documentation[create]