Vorlage:Lua: Unterschied zwischen den Versionen

(use {{PAGENAME}} to sort the category)
(allow overriding the category)
Zeile 7: Zeile 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}}]]  
       }}  
       }}  
   }}
   }}