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.}}{{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
+
}}|{{error|{{Incorrect namespace|Module}}{{#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}}]] }}
 
       | {{#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>
 
       }}|demospace={{{demospace|<noinclude>module</noinclude>}}}}}</includeonly><noinclude>

Revision as of 08:13, 24 July 2017

Template documentation[create]