Template:Template rating: Difference between revisions

From Good Creations! MC Wiki
Jump to navigation Jump to search
m 1 revision imported
m 1 revision imported
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<noinclude>{{pp-template|small=yes}}</noinclude><includeonly>{{#if:{{{1|}}}<!-- Escape empty required first unnamed parameter -->|{{#switch:{{Namespace detect|template=t|module=m|demospace={{{demospace|}}}}}
<noinclude>{{pp-template|small=yes}}</noinclude><includeonly>{{#if:{{{1|}}}<!-- Escape empty required first unnamed parameter -->|{{#switch:{{Namespace detect|template=t|module=m|demospace={{{demospace|}}}|page={{{demopage|}}}}}
|m = <!-- ***** IF IN MODULE NAMESPACE ***** -->{{ombox
|m
|t = <!-- ***** IF IN MODULE OR TEMPLATE NAMESPACE ***** -->{{ombox
  | type      = notice
  | type      = notice
  | image    = {{#switch: {{lc:{{{1|}}}}}
  | image    = {{#switch: {{lc:{{{1|}}}}}
Line 7: Line 8:
   | beta | b                                = [[File:Greek lc beta icon.svg|class=skin-invert|40x40px|link=|alt=]]
   | beta | b                                = [[File:Greek lc beta icon.svg|class=skin-invert|40x40px|link=|alt=]]
   | release | r | general | g | stable | protected | protect | p | semiprotected | semiprotect | semi = [[File:Green check.svg|40x40px|link=|alt=]]
   | release | r | general | g | stable | protected | protect | p | semiprotected | semiprotect | semi = [[File:Green check.svg|40x40px|link=|alt=]]
   | deprecated | d | defunct | broken | br | unstable = [[File:Red x.svg|40x40px|link=|alt=]]
   | broken | br | unstable = [[File:Red x.svg|40x40px|link=|alt=]]
  | deprecated | d | defunct = [[File:Historical.svg|40x40px|link=|alt=]]
   }}
   }}
  | style    =  
  | style    =  
  | textstyle =  
  | textstyle =  
  | text      = {{#switch: {{lc:{{{1|}}}}}
  | text      = {{#switch: {{lc:{{{1|}}}}}
   | pre-alpha | prealpha | pa | experimental = This [[Wikipedia:Module|module]] is rated as [[:Category:Modules in pre-alpha development|pre-alpha]]. It is incomplete and may or may not be in active development. Do not use it in [[Wikipedia:Article namespace|article namespace]] pages. A module remains in pre-alpha until its developer, or another editor who adopts it if it is abandoned for some time, considers the basic structure complete.
   | pre-alpha | prealpha | pa | experimental = This [[Wikipedia:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}|{{lc:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}}}]] is rated as [[:Category:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}s in pre-alpha development|pre-alpha]]. It is incomplete and may or may not be in active development. Do not use it in [[Wikipedia:Article namespace|article namespace]] pages. A {{lc:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}}} remains in pre-alpha until its developer, or another editor who adopts it if it is abandoned for some time, considers the basic structure complete.
   | alpha | a                = This [[Wikipedia:Module|module]] is rated as [[:Category:Modules in alpha|alpha]]. It is ready for limited use and third-party feedback. It may be used on a small number of pages, but should be monitored closely. Suggestions for new features or adjustments to input and output are welcome.
   | alpha | a                = This [[Wikipedia:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}|{{lc:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}}}]] is rated as [[:Category:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}s in alpha|alpha]]. It is ready for limited use and third-party feedback. It may be used on a small number of pages, but should be monitored closely. Suggestions for new features or adjustments to input and output are welcome.
   | beta | b                  = This [[Wikipedia:Module|module]] is rated as [[:Category:Modules in beta|beta]]. It is considered ready for widespread use, but as it is still relatively new, it should be applied with some caution to ensure results are as expected.
   | beta | b                  = This [[Wikipedia:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}|{{lc:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}}}]] is rated as [[:Category:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}s in beta|beta]]. It is considered ready for widespread use, but as it is still relatively new, it should be applied with some caution to ensure results are as expected.
   | release | r | general | g | stable | protected | protect | p | semiprotected | semiprotect | semi = This [[Wikipedia:Module|module]] is rated as [[:Category:Modules for general use|ready for general use]]. It has reached a mature state, is considered relatively stable and bug-free, and may be used wherever appropriate. It can be mentioned on [[Wikipedia:Help pages|help pages]] and other Wikipedia resources as an option for new users. To minimise server load and avoid disruptive output, improvements should be developed through [[Wikipedia:Template sandbox and test cases|sandbox testing]] rather than repeated trial-and-error editing.
   | release | r | general | g | stable | protected | protect | p | semiprotected | semiprotect | semi = This [[Wikipedia:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}|{{lc:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}}}]] is rated as [[:Category:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}s for general use|ready for general use]]. It has reached a mature state, is considered relatively stable and bug-free, and may be used wherever appropriate. It can be mentioned on [[Wikipedia:Help pages|help pages]] and other Wikipedia resources as an option for new users. To minimise server load and avoid disruptive output, improvements should be developed through [[Wikipedia:Template sandbox and test cases|sandbox testing]] rather than repeated trial-and-error editing.
   | broken | br | unstable    = This [[Wikipedia:Module|module]] is rated as [[:Category:Unstable modules|unstable]]. It has missing dependencies, compatibility issues, or output errors that make it unusable. Editors are encouraged to [[Special:EditPage/{{FULLPAGENAME}}|improve its compatibility]] or [[Wikipedia:Templates for discussion|nominate it for deletion]] if it cannot be fixed.
   | broken | br | unstable    = This [[Wikipedia:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}|{{lc:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}}}]] is rated as [[:Category:Unstable {{lc:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}}}s|unstable]]. It has missing dependencies, compatibility issues, or output errors that make it unusable. Editors are encouraged to [[Special:EditPage/{{FULLPAGENAME}}|improve its compatibility]] or [[Wikipedia:Templates for discussion|nominate it for deletion]] if it cannot be fixed.
   | deprecated | d | defunct  = This [[Wikipedia:Module|module]] is rated as '''[[:Category:Unstable modules|deprecated]]''' and defunct.{{#if:{{{replaced|}}}|{{space}}It is recommended editors use '''{{{replaced}}}'''.}}{{#if:{{{message|}}}|{{space}}{{{message}}}}}
   | deprecated | d | defunct  = This [[Wikipedia:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}|{{lc:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}}}]] is rated as '''[[:Category:Deprecated {{lc:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}}}s|deprecated]]''' and defunct.{{#if:{{{replaced|}}}|{{space}}It is recommended editors use '''{{{replaced}}}'''.}}{{#if:{{{message|}}}|{{space}}{{{message}}}}}
   | #default                  = {{error|Page using [[Template:Template rating]] with <u>invalid</u> module rating in {{para|1}} parameter.}}[[Category:Pages using template rating template with unknown parameters|{{FULLPAGENAME}}]]
   | #default                  = {{error|Page using [[Template:Template rating]] with <u>invalid</u> template or module rating in {{para|1}} parameter.}}[[Category:Pages using template rating template with unknown parameters|{{FULLPAGENAME}}]]
   }}
   }}
}}<!-- Categorize.
}}<!-- Categorize.
-->{{#if:{{{demopage|}}}{{{demospace|}}}||
-->{{#if:{{{demopage|}}}{{{demospace|}}}||
{{#ifeq: {{lc:{{FULLPAGENAME}}}} | sandbox
      {{#switch: {{lc:{{SUBPAGENAME}}}}
    | <!-- No category for user sandboxes. #TODO: I don't think this is correct? -->
    | {{#switch: {{lc:{{SUBPAGENAME}}}}
         | doc | sandbox =<!-- No category for /doc or /sandbox subpages -->
         | doc | sandbox =<!-- No category for /doc or /sandbox subpages -->
         | {{#ifeq: {{{nocat|}}} | true  
         | {{#ifeq: {{{nocat|}}} | true  
             | <!-- No category if user sets nocat=true -->  
             | <!-- No category if user sets nocat=true -->  
             | {{#switch: {{lc:{{{1|}}}}}
             | {{#switch: {{lc:{{{1|}}}}}
                 | pre-alpha | prealpha | pa | experimental = [[Category:Modules in pre-alpha development|{{PAGENAME}}]]
                 | pre-alpha | prealpha | pa | experimental = [[Category:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}s in pre-alpha development|{{PAGENAME}}]]
                 | alpha | a                                = [[Category:Modules in alpha|{{PAGENAME}}]]
                 | alpha | a                                = [[Category:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}s in alpha|{{PAGENAME}}]]
                 | beta | b                                = [[Category:Modules in beta|{{PAGENAME}}]]
                 | beta | b                                = [[Category:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}s in beta|{{PAGENAME}}]]
                 | release | r | general | g | stable | protected | p | semiprotected | semiprotect | semi = [[Category:Modules for general use|{{PAGENAME}}]]
                 | release | r | general | g | stable | protected | p | semiprotected | semiprotect | semi = [[Category:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}s for general use|{{PAGENAME}}]]
                 | deprecated | d | defunct | broken | br | unstable = [[Category:Unstable modules|{{PAGENAME}}]]
                 | deprecated | d | defunct = [[Category:Deprecated {{lc:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}}}s|{{PAGENAME}}]]
| broken | br | unstable = [[Category:Unstable {{lc:{{NAMESPACE:{{{demopage|{{FULLPAGENAME}}}}}}}}}s|{{PAGENAME}}]]
               }}
               }}
           }}
           }}
       }}
       }}
    }}
}}
|t= <!-- ***** IF IN TEMPLATE NAMESPACE ***** -->{{ombox
| type      = notice
| image    = {{#switch: {{lc:{{{1|}}}}}
  | pre-alpha | prealpha | pa | experimental = [[File:Ambox warning blue construction.svg|40x40px|link=|alt=]]
  | alpha | a                                = [[File:Greek lc alpha icon.svg|class=skin-invert|26x26px|link=|alt=]]
  | beta | b                                = [[File:Greek lc beta  icon.svg|class=skin-invert|40x40px|link=|alt=]]
  | mock-up | mockup | m                    = [[File:Greek lc mu.svg|class=skin-invert|56x56px|link=|alt=]]
  | release | r | general | g | stable | protected | protect | p | semiprotected | semiprotect | semi = [[File:Green check.svg|40x40px|link=|alt=]]
  | deprecated | d | defunct | broken | br | unstable = [[File:Red x.svg|40x40px|link=|alt=]]
  }}
| style    =
| textstyle =
| text      = {{#switch: {{lc:{{{1|}}}}}
  | pre-alpha | prealpha | pa | experimental = This template is rated as [[:Category:Templates in pre-alpha development|pre-alpha]]. It is incomplete and may or may not be in active development. Do not use it in [[Wikipedia:Article namespace|article namespace]] pages. A template remains in pre-alpha until its developer, or another editor who adopts it if it is abandoned for some time, considers the basic structure complete.<!--
  -->{{#switch: {{lc:{{SUBPAGENAME}}}}| doc | sandbox = <!-- No category for /doc or /sandbox subpages -->
      | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Templates in pre-alpha development|{{PAGENAME}}]] }}
      }}
  | alpha | a                = This template is rated as [[:Category:Templates in alpha|alpha]]. It is ready for limited use and third-party feedback. It may be used on a small number of pages, but should be monitored closely. Suggestions for new features or adjustments to input and output are welcome.<!--
  -->{{#switch: {{lc:{{SUBPAGENAME}}}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
      | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Templates in alpha|{{PAGENAME}}]] }}
      }}
  | beta | b                  = This template is rated as [[:Category:Templates in beta|beta]]. It is considered ready for widespread use, but as it is still relatively new, it should be applied with some caution to ensure results are as expected.<!--
  -->{{#switch: {{lc:{{SUBPAGENAME}}}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
      | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Templates in beta|{{PAGENAME}}]] }}
      }}
  | mockup | mock-up | m      = This template is rated as [[:Category:Templates in mock-up|mock-up]]. A "mock-up" is a proof-of-concept demonstration for new functionality or features. Such templates are intended to showcase potential capabilities or design concepts, but are not meant for long-term use in their current form. They may undergo frequent updates or be retired once a final implementation (often in Lua) is developed. Mock-ups may be tested on a limited number of pages, and users are encouraged to provide feedback on the template's talk page to support further development.<!--
  -->{{#switch: {{lc:{{SUBPAGENAME}}}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
      | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Templates in mockup|{{PAGENAME}}]] }}
      }}
  | release | r | general | g | protected | stable | protect | p | semiprotected | semiprotect | semi = This template is rated as ready for general use. It has reached a mature state, is considered relatively stable and bug-free, and may be used wherever appropriate. It can be mentioned on [[Wikipedia:Help pages|help pages]] and other Wikipedia resources as an option for new users. To minimise server load and avoid disruptive output, improvements should be developed through [[WP:TESTCASES|sandbox testing]] rather than repeated trial-and-error editing.<!-- Category deleted per [[Wikipedia:Categories_for_discussion/Log/2021_October_17#Category%3ATemplates_for_general_use]] -->
  | deprecated | d | defunct  = This template is '''[[:Category:Unstable templates|deprecated]]''' and defunct.{{#if:{{{replaced|}}}|{{space}}It is recommended editors use '''{{{replaced}}}'''.}}{{#if:{{{message|}}}|{{space}}{{{message}}}}}<!--
  -->{{#switch: {{lc:{{SUBPAGENAME}}}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
      | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Unstable templates|{{PAGENAME}}]] }}
      }}
  | #default                  = {{error|Page using [[Template:Template rating]] with <u>invalid</u> module rating in {{para|1}} parameter.}}[[Category:Pages using template rating template with unknown parameters|{{FULLPAGENAME}}]]
  }}
}}
}}
| #default = <!-- ***** Error not in Template or Module namespaces ***** -->{{if preview|1={{error|Error: {{tl|Template rating}} can only be used on pages in the [[Wikipedia:Template namespace|Template:]] or [[Wikipedia:Module namespace|Module: namespaces]].}}}}[[Category:Pages with templates in the wrong namespace]]
| #default = <!-- ***** Error not in Template or Module namespaces ***** -->{{if preview|1={{error|Error: {{tl|Template rating}} can only be used on pages in the [[Wikipedia:Template namespace|Template:]] or [[Wikipedia:Module namespace|Module: namespaces]].}}}}[[Category:Pages with templates in the wrong namespace]]
Line 91: Line 54:
         -->}}<!--  
         -->}}<!--  
     -->}}
     -->}}
|#default = <!-- If not in template or module nampespace, do nothing
|#default = <!-- If not in template or module namespace, do nothing
-->}}<!--
-->}}<!--
   End template, start tracking.
   End template, start tracking.
Line 97: Line 60:
| unknown = {{#if:{{{demopage|}}}{{{demospace|}}}||{{#switch:{{Namespace detect|template=t|module=m}}|m|t=[[Category:Pages using template rating template with unknown parameters|_VALUE_{{FULLPAGENAME}}]]}}}}
| unknown = {{#if:{{{demopage|}}}{{{demospace|}}}||{{#switch:{{Namespace detect|template=t|module=m}}|m|t=[[Category:Pages using template rating template with unknown parameters|_VALUE_{{FULLPAGENAME}}]]}}}}
| preview = Page using [[Template:Template rating]] with unknown parameter "_VALUE_"
| preview = Page using [[Template:Template rating]] with unknown parameter "_VALUE_"
| ignoreblank=y | demospace | demopage | 1 | 2 | 3 | reason | action | doc-reason | doc-action | nocat | replaced | message | demolevel | suppress-pp
| ignoreblank=y | demospace | demopage | 1 | 2 | 3 | reason | action | doc-reason | doc-action | nocat | replaced | message | demolevel | suppress-pp | demopage
}}</includeonly><!-- End tracking. --><noinclude>
}}</includeonly><!-- End tracking. --><noinclude>
{{template rating|release|nocat=true|demospace=template|demopage=template:template rating|demolevel=edit}}
{{template rating/sandbox|release|nocat=true|demospace=template|demopage=template:template rating|demolevel=edit}}
{{mbox|text=The above template is a demo.}}
{{mbox|text=The above template is a demo.}}
{{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 15:25, 13 November 2025

Template:Pp-template Template:Template rating/sandbox