साँचा:Mlx
This template uses Lua: |
साँचा:Module link expanded (संपादन|वार्ता|इतिहास|कड़ियाँ|ध्यान रखें|लॉग) (often abbreviated {{mlx}}) is used to display a module name as a link surrounded by braces with the {{#invoke}} parser function, thus showing the module name as code rather than actually invoking it. Its primary use is in instruction and documentation where it is used to refer to a module by name without invoking it. It is also supports the definition of a function and parameters.
Examples[संपादित करें]
Code | Result | Notes |
---|---|---|
साँचा:Tji | {{#invoke:उदाहरण|function}}
|
Usage without function name. This does not produce a usable invocation. |
साँचा:Tji | {{#invoke:उदाहरण|hello}}
|
Usage with a function name. |
साँचा:Tji | {{#invoke:उदाहरण|count_fruits|bananas=5|apples=10}}
|
Usage with a function name and parameters. |
साँचा:Tji | {{#invoke:उदाहरण|count_fruits|bananas=5|apples=10}}
|
Usage with a function name and parameters, using {{=}}. |
TemplateData[संपादित करें]
TemplateData for Mlx
यह टेम्प्लेट मॉड्यूल नाम को {{#invoke}} पार्सर फ़ंक्शन के साथ ब्रेसिज़ से घिरे लिंक के रूप में प्रदर्शित करता है, इस प्रकार दिखाता है कि कोड में मॉड्यूल नाम का उपयोग कैसे किया जाएगा। इसका प्राथमिक उपयोग निर्देश और दस्तावेज़ीकरण में है।
पैरामीटर | विवरण | प्रकार | स्थिति | |
---|---|---|---|---|
module name | 1 | the module name without the namespace prefix “Module:”, which is added automatically | स्ट्रिंग | आवश्यक |
function name | 2 | the function name within the module to call | स्ट्रिंग | आवश्यक |
parameter 1 | 3 | the name (and value) of the first parameter, use {{=}} to add an equal sign | स्ट्रिंग | वैकल्पिक |
parameter 2 | 4 | the name (and value) of the second parameter, use {{=}} to add an equal sign | स्ट्रिंग | वैकल्पिक |
parameter 3 | 5 | the name (and value) of the third parameter, use {{=}} to add an equal sign | स्ट्रिंग | वैकल्पिक |
See also[संपादित करें]
ऊपर दिए गए निर्देश साँचा:Mlx/doc से लिए गए है।(संपादन | इतिहास) संपादक इस साँचे के प्रयोगस्थल व प्रयोग पन्नों में प्रयोग कर सकते है। sandbox (create) and testcases (create) pages. कृपया /doc उपपृष्ठ पर श्रेणियाँ व विकियों के बिच की कड़ियाँ जोड़े। इस साँचे के उपपृष्ठ। |