Template:Module rating: Difference between revisions

make the lock right on sandboxes too
(add namespace detection, add more wording for unspecified rating)
(make the lock right on sandboxes too)
Line 6:
| beta | b = [[File:Greek lc beta.svg|40x40px|link=]]
| release | r | general | g = [[File:Green check.svg|40x40px|link=]]
| protected | protect | p = [[File:Padlock-{{#switch:{{PROTECTIONLEVEL:edit|{{#ifeqswitch:{{SUBPAGENAME}}|doc|sandbox={{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}}}|autoconfirmed=silver|templateeditor=pink|red}}.svg|40x40px|link=]]
}}
| style =
Anonymous user