Difference between revisions of "Template:Module rating"

From Betting Wiki
Jump to navigation Jump to search
en>GKFX
(Add semi icon)
en>GKFX
(Add working demo to page top.)
Line 1: Line 1:
{{Module other|{{ombox
+
<includeonly>{{Module other|{{ombox
 
  | type      = notice
 
  | type      = notice
 
  | image    = {{#switch: {{{1|}}}
 
  | image    = {{#switch: {{{1|}}}
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>}}}}}<noinclude>
+
}}|{{error|Error: {{tl|Module rating}} must be placed in the Module namespace.}}|demospace={{{demospace|<noinclude>module</noinclude>}}}}}</includeonly><noinclude>
 
+
{{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 10:38, 9 June 2017

{{#switch:

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

| module =

| other | #default = Template:Error }}

50px Template documentation[create]