"साँचा:Main": अवतरणों में अंतर
Adarshatva (वार्ता | योगदान) "<includeonly><div class="hatnote">मुख्य लेख: {{#if: {{{1|}}} | [[{{#if: {{#pos:{{{1}}}|#}} | {{#explode:{{{1}}}|#|0}} § {{#explode:{{{1}}}|#|1}} | {{{1}}} }}|{{#if:{{{l1|}}}|{{{l1}}}|{{{1}}}}}]] }}{{#if: {{{2|}}} | और [[{{#if: {{#pos:{{{2}}}|#}} | {{#explode:{{{2}}}|#|0}} § {{#explode:{{{2}}}|#|1}} | {{{2}}} }}|{{#if:{{{l2|}}}|{{{l2}}}|{{{2}}}}}]] }}{{#if: {{{3|}}} | औ..." के साथ नया पृष्ठ बनाया टैग: मोबाइल संपादन मोबाइल वेब संपादन |
Adarshatva (वार्ता | योगदान) कोई सम्पादन सारांश नहीं टैग: मोबाइल संपादन मोबाइल वेब संपादन |
||
| पंक्ति १: | पंक्ति १: | ||
<includeonly> | <includeonly>{{#if: {{{1|}}} | ||
| <div class="hatnote">मुख्य लेख{{#if: {{{2|}}} | |||
|: {{{2}}} | |||
|: {{{1}}} | |||
}}</div> | |||
| <div class="hatnote">मुख्य लेख: {{PAGENAME}}</div> | |||
| | }}</includeonly><noinclude> | ||
}}</div></includeonly><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
१७:१३, १ अगस्त २०२६ का अवतरण
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}}
स्क्रिप्ट त्रुटि: "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