Template:Module rating: Difference between revisions

Jump to navigation Jump to search
m (use switch instead of 2 ifs)
(detect cascading and titleblacklist protection)
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|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}}}|autoconfirmed=silver|templateeditor=pink|red}}.svg|40x40px|link=]]
   | protected | protect | p  = [[File:Padlock-{{#switch:{{#invoke:Effective protection level|edit|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}}}|autoconfirmed=silver|accountcreator|templateeditor=pink|red}}.svg|40x40px|link=]]
   }}
   }}
  | style    =  
  | style    =  

Revision as of 19:25, 10 August 2014