Template:Module rating: Difference between revisions
Template page
More actions
the translation may not exist in the UI language, use {{Fallback}} to determine the actually used language |
+autopatroller |
||
| (12 intermediate revisions by 7 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{demospace|{{NAMESPACE}} }}}|{{ns:Module}}|{{ombox | <includeonly>{{#ifeq:{{{demospace|{{NAMESPACE}} }}}|{{ns:Module}}|{{ombox | ||
| lang = {{Fallback|Module rating/i18n}} | | lang = {{Fallback|Module rating/i18n}} | ||
| type = notice | | type = {{#switch: {{{1|}}} | ||
| pre-alpha | prealpha | pa | |||
| sandbox | s | |||
| alpha | a | |||
| beta | b | |||
| release | r | general | g | |||
| semiprotected | semiprotect | semi | |||
| protected | protect | p = notice | |||
| #default = serious | |||
}} | |||
| image = {{#switch: {{{1|}}} | | image = {{#switch: {{{1|}}} | ||
| pre-alpha | prealpha | pa = [[File:Ambox warning blue construction.svg|40x40px|link=]] | | pre-alpha | prealpha | pa = [[File:Ambox warning blue construction.svg|40x40px|link=]] | ||
| sandbox | s = [[File:Sandbox.svg|40x40px|link=]] | | sandbox | s = [[File:Sandbox.svg|40x40px|link=]] | ||
| alpha | a = [[File: | | alpha | a = [[File:Greek lc alpha icon.svg|26x26px|link=|class=skin-invert]] | ||
| beta | b = [[File:Greek lc beta.svg|40x40px|link=]] | | beta | b = [[File:Greek lc beta icon.svg|40x40px|link=|class=skin-invert]] | ||
| release | r | general | g = [[File:Green check.svg|40x40px|link=]] | | release | r | general | g = [[File:Green check.svg|40x40px|link=]] | ||
| protected | protect | p = [[File:{{#switch:{{#invoke:Effective protection level|edit|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}}}|autoconfirmed=Semi-protection-shackle|accountcreator|templateeditor=Template-protection-shackle-brackets 2|sysop|#default=Full-protection-shackle-block}}.svg|40x40px|link=|alt=Protected]] | | protected | protect | p = [[File:{{#switch:{{#invoke:Effective protection level|edit|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}}}|autoconfirmed=Semi-protection-shackle|accountcreator|templateeditor=Template-protection-shackle-brackets 2|autopatroller=Extended-protection-shackle-account-pro-plus|sysop|#default=Full-protection-shackle-block}}.svg|40x40px|link=|alt=Protected]] | ||
| semiprotected | semiprotect | semi =[[File:Semi-protection-shackle.svg|40x40px|link=]] | | semiprotected | semiprotect | semi = [[File:Semi-protection-shackle.svg|40x40px|link=]] | ||
| #default = [[File:Ambox warning.svg|40x40px|link=]] | |||
}} | }} | ||
| textstyle = | | textstyle = | ||
| text = {{#switch: {{{1|}}} | | text = {{#switch: {{{1|}}} | ||
| pre-alpha | prealpha | pa = {{autotranslate|base=Module rating/i18n|pre-alpha}} | | pre-alpha | prealpha | pa = {{#invoke:Autotranslate|autotranslate|base=Module rating/i18n|pre-alpha}} | ||
| sandbox | s = Sandbox: {{autotranslate|base=Module rating/i18n|pre-alpha}} | | sandbox | s = Sandbox: {{#invoke:Autotranslate|autotranslate|base=Module rating/i18n|pre-alpha}} | ||
| alpha | a = {{autotranslate|base=Module rating/i18n|alpha }} | | alpha | a = {{#invoke:Autotranslate|autotranslate|base=Module rating/i18n|alpha }} | ||
| beta | b = {{autotranslate|base=Module rating/i18n|beta}} | | beta | b = {{#invoke:Autotranslate|autotranslate|base=Module rating/i18n|beta}} | ||
| release | r | general | g = {{autotranslate|base=Module rating/i18n|release }} | | release | r | general | g = {{#invoke:Autotranslate|autotranslate|base=Module rating/i18n|release }} | ||
| protected | protect | p = {{autotranslate|base=Module rating/i18n|protected }} | | semiprotected | semiprotect | semi = {{#invoke:Autotranslate|autotranslate|base=Module rating/i18n|semiprotected }} | ||
| | | protected | protect | p = {{#invoke:Autotranslate|autotranslate|base=Module rating/i18n|protected }} | ||
| #default = {{error|message={{#invoke:Autotranslate|autotranslate|base=Module rating/i18n|invalid-rating}}}} | |||
}} | |||
| style = background:var(--background-color-interactive-subtle,#f8f9fa);color:var(--color-base,#202122); | |||
}} <!-- End of ombox --> | }} <!-- End of ombox --> | ||
{{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages --> | {{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages --> | ||
| Line 33: | Line 44: | ||
| protected | protect | p = [[Category:Modules subject to page protection]] | | protected | protect | p = [[Category:Modules subject to page protection]] | ||
}} }} | }} }} | ||
}}|{{error|message={{autotranslate|base=Module rating/i18n|error}} }} |demospace={{{demospace|}}}}}</includeonly><noinclude> | }}|{{error|message={{#invoke:Autotranslate|autotranslate|base=Module rating/i18n|error}} }} |demospace={{{demospace|}}}}}</includeonly><noinclude> | ||
{{module rating|release|nocat=true|demospace=Module}} | {{module rating|release|nocat=true|demospace=Module}} | ||
{{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> | ||