Template:Template rating: Difference between revisions
mNo edit summary |
refactor |
||
| Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{rating|draft}}} | <includeonly>{{#switch: {{{rating|draft}}}-{{lc: {{ARTICLESPACE}}}} | ||
| draft = {{Mbox | | draft-template = {{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 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. | ||
{{#if: {{{details|}}} | '''Details:''' {{{details}}}}} | {{#if: {{{details|}}} | '''Details:''' {{{details}}}}} | ||
}} | }} | ||
{{Category handler | Draft templates | debug = {{{debug|}}}}} | |||
{{Category handler | |||
}} | |||
| ready = {{Mbox | | ready-template = {{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 | | 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. | ||
{{#if: {{{details|}}} | '''Details:''' {{{details}}}}} | {{#if: {{{details|}}} | '''Details:''' {{{details}}}}} | ||
}} | }} | ||
| broken = {{Mbox | | broken-template = {{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 | | 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. | ||
{{#if: {{{details|}}} | '''Details:''' {{{details}}}}} | {{#if: {{{details|}}} | '''Details:''' {{{details}}}}} | ||
}} | }} | ||
{{Category handler | Broken templates | debug = {{{debug|}}}}} | |||
{{Category handler | |||
}} | |||
| deprecated = {{Mbox | | deprecated-template = {{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 | | 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'''. }} | ||
{{#if: {{{replacement|}}} | Editors are advised to use its replacement: [[ | {{#if: {{{replacement|}}} | Editors are advised to use its replacement: [[Template:{{{replacement}}}]] | No replacement exists for Template:{{{template_name|{{PAGENAME}}}}}.}} | ||
{{#if: {{{details|}}} | '''Details:''' {{{details}}}}} | |||
}} | }} | ||
{{Category handler | Deprecated templates | debug = {{{debug|}}}}} | |||
| draft-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}}}}} | {{#if: {{{details|}}} | '''Details:''' {{{details}}}}} | ||
}} | }} | ||
{{Category handler | {{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 size = 60px | |||
| 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'''. }} | |||
{{#if: {{{replacement|}}} | Editors are advised to use its replacement: [[Module:{{{replacement}}}]] | No replacement exists for Module:{{{template_name|{{PAGENAME}}}}}.}} | |||
{{#if: {{{details|}}} | '''Details:''' {{{details}}}}} | |||
}} | }} | ||
{{Category handler | Deprecated modules | debug = {{{debug|}}}}} | |||
| #default = {{Mbox | | #default = {{Mbox | ||
| Line 56: | Line 79: | ||
| icon size = 60px | | icon size = 60px | ||
| type = aaa | | type = aaa | ||
| text = No messagebox exists for this | | text = No messagebox exists for this rating/namespace: '''{{{rating}}}-{{lc: {{NAMESPACE}}}}'''. | ||
}} | }} | ||