Actions

Template

Difference between revisions of "Module rating"

From Unofficial Stationeers Wiki

(add custom images)
m (40 revisions imported)
 
(37 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{{ombox
+
<includeonly>{{Module other|{{ombox
 
  | type      = notice
 
  | type      = notice
 
  | image    = {{#switch: {{{1|}}}
 
  | image    = {{#switch: {{{1|}}}
   | pre-alpha | prealpha | pa = Ambox warning blue construction.svg
+
   | pre-alpha | prealpha | pa = [[File:Ambox warning blue construction.svg|40x40px|link=]]
   | alpha | a                = Greek lc alpha.png
+
   | alpha | a                = [[File:Alpha lowercase.svg|26x26px|link=]]
   | beta | b                  = File:Greek lc beta.png
+
   | beta | b                  = [[File:Greek lc beta.svg|40x40px|link=]]
   | release | r | general | g = File:Green tick.svg
+
   | release | r | general | g = [[File:Green check.svg|40x40px|link=]]
   | protected | protect | p  = Padlock-red.svg
+
   | protected | protect | p  = [[File:Padlock{{#switch:{{#invoke:Effective protection level|edit|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}}}|autoconfirmed=-silver|accountcreator|templateeditor=-pink|}}.svg|40x40px|link=]]
 +
  | semiprotected | semiprotect | semi =[[File:Padlock-silver.svg|40x40px|link=]]
 
   }}
 
   }}
 
  | style    =  
 
  | style    =  
Line 12: Line 13:
 
  | text      = {{#switch: {{{1|}}}
 
  | text      = {{#switch: {{{1|}}}
 
   | pre-alpha | prealpha | pa = This module is rated as [[:Category:Modules in pre-alpha development|pre-alpha]]. It is unfinished, and may or may not be in active development. It should not be used from article namespace pages. Modules remain pre-alpha until the original editor (or someone who takes one over if it is abandoned for some time) is satisfied with the basic structure.<!--
 
   | pre-alpha | prealpha | pa = This module is rated as [[:Category:Modules in pre-alpha development|pre-alpha]]. It is unfinished, and may or may not be in active development. It should not be used from article namespace pages. Modules remain pre-alpha until the original editor (or someone who takes one over if it is abandoned for some time) is satisfied with the basic structure.<!--
   -->{{category handler
+
   -->{{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
      | [[Category:Modules in pre-alpha development|{{PAGENAME}}]]
+
       | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Modules in pre-alpha development|{{PAGENAME}}]] }}
       | nocat = {{ifeq: {{SUBPAGENAME}} | doc | true | {{{nocat|}}} }}
+
       }}
       }}  
+
   | alpha | a                = This module is rated as [[:Category:Modules in alpha|alpha]]. It is ready for third-party input, and may be used on a few pages to see if problems arise, but should be watched. Suggestions for new features or changes in their input and output mechanisms are welcome.<!--
   | alpha | a                = This module is rated as [[:Category:Modules in alpha|alpha]]. It is ready for third party input, and may be used on a few pages to see if problems arise, but should be watched. Suggestions for new features or changes in their input and output mechanisms are welcome.<!--
+
   -->{{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
   -->{{category handler
+
       | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Modules in alpha|{{PAGENAME}}]] }}
      | [[Category:Modules in alpha|{{PAGENAME}}]]
 
       | nocat = {{ifeq: {{SUBPAGENAME}} | doc | true | {{{nocat|}}} }}
 
 
       }}
 
       }}
 
   | beta | b                  = This module is rated as [[:Category:Modules in beta|beta]], and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected.<!--
 
   | beta | b                  = This module is rated as [[:Category:Modules in beta|beta]], and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected.<!--
   -->{{category handler
+
   -->{{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
       | [[Category:Modules in beta|{{PAGENAME}}]]
+
       | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Modules in beta|{{PAGENAME}}]] }}
      | nocat = {{ifeq: {{SUBPAGENAME}} | doc | true | {{{nocat|}}} }}
+
      }}
 +
  | release | r | general | g = This module is rated as [[:Category:Modules for general use|ready for general use]]. It has reached a mature form and is thought to be bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia resources as an option for new users to learn. To reduce server load and bad output, it should be improved by [[WP:TESTCASES|sandbox testing]] rather than repeated trial-and-error editing.<!--
 +
  -->{{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
 +
      | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Modules for general use|{{PAGENAME}}]] }}
 
       }}
 
       }}
   | release | r | general | g = This module is rated as [[:Category:Modules for general use|ready for general use]]. It has reached a mature form and is thought to be bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia resources as an option for new users to learn. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing.<!--
+
   | protected | protect | = This module is [[:Category:Modules subject to page protection|subject to page protection]]. It is a [[Wikipedia:High-risk templates|highly visible module]] in use by a very large number of pages, or is [[WP:SUBST|substituted]] very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is [[WP:PROTECT|protected]] from editing.<!--
   -->{{category handler
+
   -->{{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
      | [[Category:Modules for general use|{{PAGENAME}}]]
+
       | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Modules subject to page protection|{{PAGENAME}}]] }}
       | nocat = {{ifeq: {{SUBPAGENAME}} | doc | true | {{{nocat|}}} }}
 
 
       }}
 
       }}
   | protected | protect | p   = This module is [[:Category:Modules subject to page protection|subject to page protection]]. It is a [[Wikipedia:Highly visible templates|highly visible module]] in use by a very large number of articles, or is [[WP:SUBST|substituted]] very frequently. Because vandalism or mistakes would affect so many pages, and even trivial editing may cause substantial load on the servers, it is is [[WP:FULL|protected]] from editing.<!--
+
   | semiprotected | semiprotect | semi   = This module is [[:Category:Modules subject to page protection|subject to page protection]]. It is a [[Wikipedia:High-risk templates|highly visible module]] in use by a very large number of pages, or is [[WP:SUBST|substituted]] very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is [[WP:SEMI|semi-protected]] from editing.<!--
   -->{{category handler
+
   -->{{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
      | [[Category:Highly visible templates|{{PAGENAME}}]]
+
       | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Modules subject to page protection|{{PAGENAME}}]] }}
       | nocat = {{ifeq: {{SUBPAGENAME}} | doc | true | {{{nocat|}}} }}
 
 
       }}
 
       }}
   | #default                  = {{error|Invalid rating, or no rating specified.}}
+
   | #default                  = {{error|Module rating is invalid or not specified.}}
 
   }}
 
   }}
}}<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}}
 
{{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>

Latest revision as of 14:00, 14 July 2018

Template documentation[create]