×
Create a new article
Write your page title here:
We currently have 9 articles on Polcompball Anarchy Wiki. Type your article name above or click on one of the titles below and start writing!



Polcompball Anarchy Wiki

Template:Module rating: Difference between revisions

reword, articles -> pages
add namespace detection, add more wording for unspecified rating
Line 1: Line 1:
{{ombox
{{Module other|{{ombox
  | type      = notice
  | type      = notice
  | image    = {{#switch: {{{1|}}}
  | image    = {{#switch: {{{1|}}}
Line 36: Line 36:
       | {{#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.}}
   | #default                  = {{error|The rating is either invalid or not specified. Please remove the {{Tlx|Module rating}} template or specify a valid rating.}}
   }}
   }}
}}<noinclude>
}}|{{error|This template should be placed in the Module namespace.}}|demospace={{{demospace|<noinclude>module</noinclude>}}}}}<noinclude>


{{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 15:04, 6 April 2014

{{#switch:

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

| module = {{#invoke:Message box|ombox}} | other | #default = Template:Error }}

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}{{#switch: bye | hidewiki =


| noinfoboxborder =

| maricss =

| bye = | bye2 =

| default = Unknown import: "bye". }}