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

"साँचा:Main": अवतरणों में अंतर

भारतपीडिया से
Adarshatva (वार्ता | योगदान)
कोई सम्पादन सारांश नहीं
टैग: मोबाइल संपादन मोबाइल वेब संपादन
Adarshatva (वार्ता | योगदान)
कोई सम्पादन सारांश नहीं
टैग: मोबाइल संपादन मोबाइल वेब संपादन
 
(इसी सदस्य द्वारा किया गया एक मध्यवर्ती अवतरण नहीं दिखाया गया है)
पंक्ति १: पंक्ति १:
<includeonly>{{#if: {{{1|}}}
<includeonly><div class="hatnote">मुख्य लेख - [[{{{1|{{PAGENAME}}}}}]]</div></includeonly><noinclude>
| <div class="hatnote">मुख्य लेख{{#if: {{{2|}}}
  |: {{{2}}}
  |: {{{1}}}
}}</div>
| <div class="hatnote">मुख्य लेख: {{PAGENAME}}</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 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[स्रोत सम्पादित करें]