Actions

Template

Difference between revisions of "Module rating"

From Unofficial Stationeers Wiki

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.}} [[Category:Pages with templates in the wrong namespace]]|demospace={{{demospace|<noinclude>module</noinclude>}}}}}</includeonly><noinclude>
+
}}|{{error|Error: {{tl|Module rating}} must be placed in the Module namespace.}}{{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
 +
      | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Pages with templates in the wrong namespace|{{PAGENAME}}]] }}
 +
      }}|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 09:11, 24 July 2017

Template documentation[create]