Template:Template rating: Difference between revisions
mNo edit summary |
template_name -> 1 |
||
| Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{rating|draft}}}-{{lc: | <includeonly>{{#switch: {{{rating|draft}}}-{{lc: {{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: {{ARTICLESPACE}}.''' | '''{{ucfirst: {{ARTICLESPACE}}:{{{1|{{PAGENAME}}}}}''' is a '''draft {{lc: {{ARTICLESPACE}}'''. }} It is incomplete and may not necessarily be in active development. In the meantime, editors are advised to not use this {{lc: {{ARTICLESPACE}} across the Xenharmonic Wiki, apart from testing. | ||
{{#if: {{{details|}}} | '''Details:''' {{{details}}}}} | {{#if: {{{details|}}} | '''Details:''' {{{details}}}}} | ||
}} | }} | ||
{{Category handler | Draft | {{Category handler | Draft {{lc: {{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: {{ARTICLESPACE}}.''' | '''{{ucfirst: {{ARTICLESPACE}}:{{{1|{{PAGENAME}}}}}''' is '''ready for use'''. }} This message indicates that a {{lc: {{ARTICLESPACE}} is ready for use, or has recently been repaired. This message may be removed once this {{lc: {{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: {{ARTICLESPACE}}.''' | '''{{ucfirst: {{ARTICLESPACE}}:{{{1|{{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: {{ARTICLESPACE}} across the Xenharmonic Wiki, except for testing. | ||
{{#if: {{{details|}}} | '''Details:''' {{{details}}}}} | {{#if: {{{details|}}} | '''Details:''' {{{details}}}}} | ||
}} | }} | ||
{{Category handler | Broken | {{Category handler | Broken {{lc: {{ARTICLESPACE}}s | debug = {{{debug|}}}}} | ||
| deprecated-template = {{Mbox | | deprecated-template | 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: {{ARTICLESPACE}}.''' | '''{{ucfirst: {{ARTICLESPACE}}:{{{1|{{PAGENAME}}}}}''' is '''deprecated'''. }} Further use of this {{lc: {{ARTICLESPACE}} is not advised. {{#ifeq: {{yesno|{{{delete|false}}}}} | true | This {{lc: {{ARTICLESPACE}} is a '''candidate for deletion'''. | This {{lc: {{ARTICLESPACE}} 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: [[{{ucfirst: {{ARTICLESPACE}}:{{{replacement}}}]] | No replacement exists for {{ucfirst: {{ARTICLESPACE}}:{{{1|{{PAGENAME}}}}}.}} | ||
{{#if: {{{details|}}} | '''Details:''' {{{details}}}}} | {{#if: {{{details|}}} | '''Details:''' {{{details}}}}} | ||
}} | }} | ||
{{Category handler | Deprecated | {{Category handler | Deprecated {{lc: {{ARTICLESPACE}}s | debug = {{{debug|}}}}} | ||
| #default = {{Mbox | | #default = {{Mbox | ||
| Line 79: | Line 42: | ||
| icon size = 60px | | icon size = 60px | ||
| type = aaa | | type = aaa | ||
| text = No messagebox exists for this rating/namespace: '''{{{rating | | text = No messagebox exists for this rating/namespace: '''{{{rating}}}-{{lc: {{NAMESPACE}}}}'''. | ||
}} | }} | ||