Template:Template rating: Difference between revisions
mNo edit summary |
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 | | 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 | {{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 | | 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 | | 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 | {{Category handler | Broken {{lc: {{{namespace|{{ARTICLESPACE}}}}}}}s | debug = {{{debug|}}}}} | ||
| | | 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 | | 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: {{{details|}}} | '''Details:''' {{{details}}}}} | {{#if: {{{details|}}} | '''Details:''' {{{details}}}}} | ||
}} | }} | ||
{{Category handler | Deprecated | {{Category handler | Deprecated {{lc: {{{namespace|{{ARTICLESPACE}}}}}}}s | debug = {{{debug|}}}}} | ||
| | | deprecated-template | deprecated-module = {{Mbox | ||
| 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 | | 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: {{{details|}}} | '''Details:''' {{{details}}}}} | {{#if: {{{details|}}} | '''Details:''' {{{details}}}}} | ||
}} | }} | ||
{{Category handler | Deprecated | {{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 = | | 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> | ||