Template:Template rating: Difference between revisions

Ganaram inukshuk (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
mNo edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{rating|draft}}}-{{lc: {{{namespace|{{ARTICLESPACE}}}}}}}
<includeonly>{{#switch: {{{rating|draft}}}-{{lc: {{{namespace|{{ARTICLESPACE}}}}}}}


| draft-template = {{Mbox
| draft-template | draft-module = {{Mbox
   | icon = Icon-Draft.png
   | icon = Icon-Draft.png
   | icon size = 60px
   | icon size = 60px
   | type = content
   | type = content
   | text = {{#ifeq: {{SUBPAGENAME}} | doc | '''This documentation is for a draft template.''' | '''Template:{{{template_name|{{PAGENAME}}}}}''' is a '''draft template'''. }} It is incomplete and may not necessarily be in active development. In the meantime, editors are advised to not use this template across the Xenharmonic Wiki, apart from testing.  
   | text = {{#ifeq: {{SUBPAGENAME}} | doc | '''This documentation is for a draft {{lc: {{{namespace|{{ARTICLESPACE}}}}}}}.''' | '''{{ucfirst: {{{namespace|{{ARTICLESPACE}}}}}}}:{{{pagename|{{PAGENAME}}}}}''' is a '''draft {{lc: {{{namespace|{{ARTICLESPACE}}}}}}}'''. }} It is incomplete and may not be in active development. If possible, editors are encouraged to help with its development. In the meantime, editors should avoid using this {{lc: {{{namespace|{{ARTICLESPACE}}}}}}} across the Xenharmonic Wiki, except for testing.
{{#if: {{{details|}}} | '''Details:''' {{{details}}}}}
{{#if: {{{details|}}} | '''Details:''' {{{details}}}}}
}}
}}
{{Category handler | Draft templates | debug = {{{debug|}}}}}
{{Category handler | Draft {{lc: {{{namespace|{{ARTICLESPACE}}}}}}}s | debug = {{{debug|}}}}}


| ready-template = {{Mbox
| ready-template | ready-module = {{Mbox
   | icon = Icon-Ready.png
   | icon = Icon-Ready.png
   | icon size = 60px
   | icon size = 60px
   | type = ready
   | type = ready
   | text = {{#ifeq: {{SUBPAGENAME}} | doc | '''This documentation is for a ready template.''' | '''Template:{{{template_name|{{PAGENAME}}}}}''' is '''ready for use'''. }} This message indicates that a template is ready for use, or has recently been repaired. This message may be removed once this template has been used on several pages or once it is verified to work as intended.
   | text = {{#ifeq: {{SUBPAGENAME}} | doc | '''This documentation is for a ready {{lc: {{{namespace|{{ARTICLESPACE}}}}}}}.''' | '''{{ucfirst: {{{namespace|{{ARTICLESPACE}}}}}}}:{{{pagename|{{PAGENAME}}}}}''' is '''ready for use'''. }} This message indicates that a {{lc: {{{namespace|{{ARTICLESPACE}}}}}}} is ready for use, or has recently been repaired. This message may be removed once this {{lc: {{{namespace|{{ARTICLESPACE}}}}}}} has been used on several pages or once it is verified to work as intended.
{{#if: {{{details|}}} | '''Details:''' {{{details}}}}}
{{#if: {{{details|}}} | '''Details:''' {{{details}}}}}
}}
}}


| broken-template = {{Mbox
| broken-template | broken-module = {{Mbox
   | icon = Icon-Cleanup.png
   | icon = Icon-Cleanup.png
   | icon size = 60px
   | icon size = 60px
   | type = content
   | type = content
   | text = {{#ifeq: {{SUBPAGENAME}} | doc | '''This documentation is for a broken template.''' | '''Template:{{{template_name|{{PAGENAME}}}}}''' is currently '''broken'''. }} If possible, editors are encouraged to improve it or nominate it for deletion or deprecation if it cannot be fixed. In the meantime, editors should avoid using this template across the Xenharmonic Wiki, except for testing.
   | text = {{#ifeq: {{SUBPAGENAME}} | doc | '''This documentation is for a broken {{lc: {{{namespace|{{ARTICLESPACE}}}}}}}.''' | '''{{ucfirst: {{{namespace|{{ARTICLESPACE}}}}}}}:{{{pagename|{{PAGENAME}}}}}''' is currently '''broken'''. }} If possible, editors are encouraged to improve it or nominate it for deletion or deprecation if it cannot be fixed. In the meantime, editors should avoid using this {{lc: {{{namespace|{{ARTICLESPACE}}}}}}} across the Xenharmonic Wiki, except for testing.
{{#if: {{{details|}}} | '''Details:''' {{{details}}}}}
{{#if: {{{details|}}} | '''Details:''' {{{details}}}}}
}}
}}
{{Category handler | Broken templates | debug = {{{debug|}}}}}
{{Category handler | Broken {{lc: {{{namespace|{{ARTICLESPACE}}}}}}}s | debug = {{{debug|}}}}}


| deprecated-template = {{Mbox
| replaced-template | replaced-module = {{Mbox
   | icon = Icon-Deprecated.png
   | icon = Icon-Deprecated-with-Replacement.png
   | icon size = 60px
   | icon size = 60px
   | type = delete
   | type = delete
   | text = {{#ifeq: {{SUBPAGENAME}} | doc | '''This documentation is for a deprecated template.''' | '''Template:{{{template_name|{{PAGENAME}}}}}''' is '''deprecated'''. }} Further use of this template is not advised. {{#ifeq: {{yesno|{{{delete|false}}}}} | true | This template is a '''candidate for deletion'''. | This template is kept for historical purposes and '''should not be deleted'''. }}
   | text = {{#ifeq: {{SUBPAGENAME}} | doc | '''This documentation is for a deprecated {{lc: {{{namespace|{{ARTICLESPACE}}}}}}}''', which | '''{{ucfirst: {{{namespace|{{ARTICLESPACE}}}}}}}:{{{pagename|{{PAGENAME}}}}}''' is '''deprecated''' and }} has been '''replaced''' by [[{{ucfirst: {{{namespace|{{ARTICLESPACE}}}}}}}:{{{replacement}}}]]. Further use of this {{lc: {{{namespace|{{ARTICLESPACE}}}}}}} is not advised. {{#ifeq: {{yesno|{{{delete|false}}}}} | true | This {{lc: {{{namespace|{{ARTICLESPACE}}}}}}} is a '''candidate for deletion'''. | This {{lc: {{{namespace|{{ARTICLESPACE}}}}}}} is kept for historical purposes and '''should not be deleted'''. }}
{{#if: {{{replacement|}}} | Editors are advised to use its replacement: [[Template:{{{replacement}}}]] | No replacement exists for Template:{{{template_name|{{PAGENAME}}}}}.}}


{{#if: {{{details|}}} | '''Details:''' {{{details}}}}}
{{#if: {{{details|}}} | '''Details:''' {{{details}}}}}
}}
}}
{{Category handler | Deprecated templates | debug = {{{debug|}}}}}
{{Category handler | Deprecated {{lc: {{{namespace|{{ARTICLESPACE}}}}}}}s | debug = {{{debug|}}}}}


| draft-module = {{Mbox
| deprecated-template | deprecated-module = {{Mbox
  | icon = Icon-Draft.png
  | icon size = 60px
  | type = content
  | text = {{#ifeq: {{SUBPAGENAME}} | doc | '''This documentation is for a draft module.''' | '''Module:{{{template_name|{{PAGENAME}}}}}''' is a '''draft module'''. }} It is incomplete and may not necessarily be in active development. In the meantime, editors are advised to not use this module across the Xenharmonic Wiki, apart from testing.
{{#if: {{{details|}}} | '''Details:''' {{{details}}}}}
}}
{{Category handler | Draft modules | debug = {{{debug|}}}}}
 
| ready-module = {{Mbox
  | icon = Icon-Ready.png
  | icon size = 60px
  | type = ready
  | text = {{#ifeq: {{SUBPAGENAME}} | doc | '''This documentation is for a ready module.''' | '''Module:{{{template_name|{{PAGENAME}}}}}''' is '''ready for use'''. }} This message indicates that a module is ready for use, or has recently been repaired. This message may be removed once this module has been used on several pages or once it is verified to work as intended.
{{#if: {{{details|}}} | '''Details:''' {{{details}}}}}
}}
 
| broken-module = {{Mbox
  | icon = Icon-Cleanup.png
  | icon size = 60px
  | type = content
  | text = {{#ifeq: {{SUBPAGENAME}} | doc | '''This documentation is for a broken module.''' | '''Module:{{{template_name|{{PAGENAME}}}}}''' is currently '''broken'''. }} If possible, editors are encouraged to improve it or nominate it for deletion or deprecation if it cannot be fixed. In the meantime, editors should avoid using this module across the Xenharmonic Wiki, except for testing.
{{#if: {{{details|}}} | '''Details:''' {{{details}}}}}
}}
{{Category handler | Broken modules | debug = {{{debug|}}}}}
 
| deprecated-module = {{Mbox
   | icon = Icon-Deprecated.png
   | icon = Icon-Deprecated.png
   | icon size = 60px
   | icon size = 60px
   | type = delete
   | type = delete
   | text = {{#ifeq: {{SUBPAGENAME}} | doc | '''This documentation is for a deprecated module.''' | '''Module:{{{template_name|{{PAGENAME}}}}}''' is '''deprecated'''. }} Further use of this module is not advised. {{#ifeq: {{yesno|{{{delete|false}}}}} | true | This module is a '''candidate for deletion'''. | This module is kept for historical purposes and '''should not be deleted'''. }}
   | text = {{#ifeq: {{SUBPAGENAME}} | doc | '''This documentation is for a deprecated {{lc: {{{namespace|{{ARTICLESPACE}}}}}}}''', which | '''{{ucfirst: {{{namespace|{{ARTICLESPACE}}}}}}}:{{{pagename|{{PAGENAME}}}}}''' is '''deprecated''' and }} has no replacement. Further use of this {{lc: {{{namespace|{{ARTICLESPACE}}}}}}} is not advised. {{#ifeq: {{yesno|{{{delete|false}}}}} | true | This {{lc: {{{namespace|{{ARTICLESPACE}}}}}}} is a '''candidate for deletion'''. | This {{lc: {{{namespace|{{ARTICLESPACE}}}}}}} is kept for historical purposes and '''should not be deleted'''. }}
{{#if: {{{replacement|}}} | Editors are advised to use its replacement: [[Module:{{{replacement}}}]] | No replacement exists for Module:{{{template_name|{{PAGENAME}}}}}.}}


{{#if: {{{details|}}} | '''Details:''' {{{details}}}}}
{{#if: {{{details|}}} | '''Details:''' {{{details}}}}}
}}
}}
{{Category handler | Deprecated modules | debug = {{{debug|}}}}}
{{Category handler | Deprecated {{lc: {{{namespace|{{ARTICLESPACE}}}}}}}s | debug = {{{debug|}}}}}
 


| #default = {{Mbox
| #default = {{Mbox
Line 79: Line 52:
   | icon size = 60px
   | icon size = 60px
   | type = aaa
   | type = aaa
   | text = No messagebox exists for this rating/namespace: '''{{{rating|draft}}}-{{lc: {{NAMESPACE}}}}'''.
   | text = This template has an unrecognized rating or is in the incorrect namespace.
 
'''Details:''' Valid ratings are ''draft'', ''ready'', ''broken'', ''replaced'', and ''deprecated''. Valid namespaces are ''Module'' and ''Template''. This template's rating is '''{{{rating}}}''' and is currently in the '''{{{namespace}}}''' namespace.
}}
}}


Line 85: Line 60:
{{documentation}}
{{documentation}}


[[Category:Templates]]
[[Category:Templates]][[Category:Message boxes]]
</noinclude>
</noinclude>