Difference between revisions of "Template:Lua"

Jump to navigation Jump to search
45 bytes added ,  03:25, 20 July 2013
allow overriding the category
meta>Mr. Stradivarius
(use {{PAGENAME}} to sort the category)
meta>Mr. Stradivarius
(allow overriding the category)
Line 7: Line 7:
     | {{#switch: {{SUBPAGENAME}}  
     | {{#switch: {{SUBPAGENAME}}  
       | doc | sandbox | sandbox2 | testcases =  
       | doc | sandbox | sandbox2 | testcases =  
       | #default = [[Category:Lua-based templates|{{PAGENAME}}]]  
       | #default = [[Category:{{#if: {{{category|}}} | {{{category}}} | Lua-based templates }}|{{PAGENAME}}]]  
       }}  
       }}  
   }}
   }}
Anonymous user

Navigation menu