Diferencia entre revisiones de «Plantilla:Module rating»
De Familia Sanchez Arjona
m (use switch instead of 2 ifs) |
m (27 revisiones importadas) |
||
(No se muestran 4 ediciones intermedias de 3 usuarios) | |||
Línea 6: | Línea 6: | ||
| beta | b = [[File:Greek lc beta.svg|40x40px|link=]] | | beta | b = [[File:Greek lc beta.svg|40x40px|link=]] | ||
| release | r | general | g = [[File:Green check.svg|40x40px|link=]] | | release | r | general | g = [[File:Green check.svg|40x40px|link=]] | ||
− | | protected | protect | p = [[File:Padlock | + | | protected | protect | p = [[File:Padlock{{#switch:{{#invoke:Effective protection level|edit|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}}}|autoconfirmed=-silver|accountcreator|templateeditor=-pink|}}.svg|40x40px|link=]] |
}} | }} | ||
| style = | | style = | ||
Línea 31: | Línea 31: | ||
| {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Modules subject to page protection|{{PAGENAME}}]] }} | | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Modules subject to page protection|{{PAGENAME}}]] }} | ||
}} | }} | ||
− | | #default = {{error| | + | | #default = {{error|Module rating is invalid or not specified.}} |
}} | }} | ||
− | }}|{{error| | + | }}|{{error|Error: {{tl|Module rating}} must be placed the Module namespace.}}|demospace={{{demospace|<noinclude>module</noinclude>}}}}}<noinclude> |
{{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> |
Revisión actual del 13:33 31 may 2016
40x40px | Plantilla:Error |
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |