Template:Module rating: Difference between revisions

Jump to navigation Jump to search
(add namespace detection, add more wording for unspecified rating)
(make the lock right on sandboxes too)
Line 6: Line 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-{{#switch:{{PROTECTIONLEVEL:edit|{{#ifeq:{{SUBPAGENAME}}|doc|{{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}}}|autoconfirmed=silver|templateeditor=pink|red}}.svg|40x40px|link=]]
   | protected | protect | p  = [[File:Padlock-{{#switch:{{PROTECTIONLEVEL:edit|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}}}|autoconfirmed=silver|templateeditor=pink|red}}.svg|40x40px|link=]]
   }}
   }}
  | style    =  
  | style    =  

Revision as of 15:45, 2 May 2014