साँचा:Mlx

मुक्त ज्ञानकोश विकिपीडिया से
परिचय का प्रतीक साँचा परिचय[देखें] [संपादन] [इतिहास] [पर्ज .]

साँचा: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[संपादित करें]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Mlx

यह टेम्प्लेट मॉड्यूल नाम को {{#invoke}} पार्सर फ़ंक्शन के साथ ब्रेसिज़ से घिरे लिंक के रूप में प्रदर्शित करता है, इस प्रकार दिखाता है कि कोड में मॉड्यूल नाम का उपयोग कैसे किया जाएगा। इसका प्राथमिक उपयोग निर्देश और दस्तावेज़ीकरण में है।

साँचे के पैरामीटर्स

पैरामीटरविवरणप्रकारस्थिति
module name1

the module name without the namespace prefix “Module:”, which is added automatically

स्ट्रिंगआवश्यक
function name2

the function name within the module to call

स्ट्रिंगआवश्यक
parameter 13

the name (and value) of the first parameter, use {{=}} to add an equal sign

स्ट्रिंगवैकल्पिक
parameter 24

the name (and value) of the second parameter, use {{=}} to add an equal sign

स्ट्रिंगवैकल्पिक
parameter 35

the name (and value) of the third parameter, use {{=}} to add an equal sign

स्ट्रिंगवैकल्पिक

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

  • {{ml}} – similar function but not surrounded in <code>...</code> tags
  • {{mfl}} – similar to {{ml}} but creates a link to the function's documentation
  • {{tlx}} – a version of this template for templates instead of modules

साँचा:Template-linking templates