Template talk:Module link

Edit request November 16, 2019
Replace the first line of ml with.

Replace the first line of mlx with.

These edits allow the templates to accept an unlimited number of parameters as intended initially. See ml/testcases and mlx/testcases.

Replace ml/doc with:

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.

TemplateData
{ "description": "This template displays a module name as a link surrounded by braces with the parser function, thus showing how the module name would be used in code. Its primary use is in instruction and documentation.", "params": { "1": {   "label": "module name", "description": "the module name without the namespace prefix “Module:”, which is added automatically", "type": "string", "required": true }, "2": {    "label": "function name", "description": "the function name within the module to call", "type": "string", "required": true }, "3": {    "label": "parameter 1", "description": "the name (and value) of the first parameter, use = to add an equal sign", "type": "string" }, "4": {    "label": "parameter 2", "description": "the name (and value) of the second parameter, use = to add an equal sign", "type": "string" }, "5": {    "label": "parameter 3", "description": "the name (and value) of the third parameter, use = to add an equal sign", "type": "string" } }}

TemplateData
{ "description": "This template displays a module name as a link surrounded by braces with the parser function, thus showing how the module name would be used in code. Its primary use is in instruction and documentation.", "params": { "1": {   "label": "module name", "description": "the module name without the namespace prefix “Module:”, which is added automatically", "type": "string", "required": true }, "2": {    "label": "function name", "description": "the function name within the module to call", "type": "string", "required": true }, "3": {    "label": "parameter 1", "description": "the name (and value) of the first parameter, use = to add an equal sign", "type": "string" }, "4": {    "label": "parameter 2", "description": "the name (and value) of the second parameter, use = to add an equal sign", "type": "string" }, "5": {    "label": "parameter 3", "description": "the name (and value) of the third parameter, use = to add an equal sign", "type": "string" } }}