सामग्री पर जाएँ

साँचा:Template shortcut

भारतपीडिया से
Adarshatva (वार्ता | योगदान) द्वारा परिवर्तित ११:५९, २८ जुलाई २०२६ का अवतरण ("<div role="note" class="shortcutbox shortcutbox-left plainlist plainlinks noprint" style="<!-- -->{{#switch:{{{clear|}}} |true=clear:{{{float|right}}}; |left|right|both=clear:{{{clear|}}}; |#default=}}<!-- -->float: {{#ifeq:{{{float|}}}|left|left|right}};<!-- -->margin: {{{top|0em}}} {{#ifeq:{{{float|}}}|left|1em 0em 0em|0em 0em 1em}};<!-- -->border: 1px solid #aaa; background: #fff; padding: 0.3em 0.6em 0.2em 0.6em; text-align: c..." के साथ नया पृष्ठ बनाया)
(अंतर) ← पुराना अवतरण | वर्तमान अवतरण (अंतर) | नया अवतरण → (अंतर)

This template is used to show that templates have been converted to Lua. It can be placed on the template's /doc page or on its talk page. It automatically adds the template to Category:Lua-based templates.

Usage[स्रोत सम्पादित करें]

Basic usage

{{lua|module name}}

All parameters

{{lua|module name|note|category=custom category|nocat=true}}

Examples[स्रोत सम्पादित करें]

स्क्रिप्ट त्रुटि: "Lua banner" जैसा कोई मॉड्यूल नहीं है।

  • {{lua|Module:Bananas}}

स्क्रिप्ट त्रुटि: "Lua banner" जैसा कोई मॉड्यूल नहीं है।

  • {{lua|Module:Bananas|You can use this script as an example to help you get started.}}

स्क्रिप्ट त्रुटि: "Lua banner" जैसा कोई मॉड्यूल नहीं है।

Categorisation[स्रोत सम्पादित करें]

This template adds pages to Category:Lua-based templates if the page is in the template namespace, and it is not on any of the subpages /doc, /sandbox, /sandbox2 or /testcases. You can specify a different category with the साँचा:Para parameter, e.g. साँचा:Para. To suppress categorisation, use साँचा:Para.

See also[स्रोत सम्पादित करें]