Search results
Results From The WOW.Com Content Network
Generates a parameter description list which can be filled in and added to a template's documentation. The output uses the semicolon and colon format where the parameter name is displayed in bold text and the description is indented. {{subst:Parameters|dlist|base={{subst:BASEPAGENAME}}}}
The {{#invoke: params}} module is designed to be adopted by those templates that want to have a deep control of their parameters. It is particularly useful to variadic templates, to which it offers the possibility to count, list, map and propagate the parameters received without knowing their number in advance.
Generates a parameter description list which can be filled in and added to a template's documentation. The output uses the semicolon and colon format where the parameter name is displayed in bold text and the description is indented. {{subst:Parameters|dlist|base={{subst:BASEPAGENAME}}}}
When {{Parameter names example}} is used on an immediate subpage of its target template – e.g. on the target template's /doc page – its own |_template= parameter identifying the target template may be omitted. In other words, the code above, if used on Template:Infobox/page (where page could be "doc", "testcases", etc.), would become:
Invokes a Lua module Template parameters [Edit template data] Parameter Description Type Status Module name 1 no description Unknown optional Function name 2 no description Unknown optional This template has not been added to any categories. Please help out by adding categories to it so that it can be listed with similar templates. The above documentation is transcluded from Template:Invoke ...
They may be included in any order (see Examples below). Certain templates have the parameter "on" by default; see the main table for all alternate options. If a row renders identically to a previous row, it means the current template does not support that option and {} needs to be used instead.
Gives examples of template parameter source code Template parameters [Edit template data] Parameter Description Type Status Parameter name 1 The parameter name. Give this parameter as explicitly blank and just fill in parameter 2 when you want to show an unnamed parameter. String suggested Value name 2 The value name. When the first parameter is given but is blank, the second represents an ...
While normally a parameter specification in a template call represents a choice the user of the template has, the need to specify "ac=" is an unfortunate technical requirement imposed on the user of the template; it can be shielded from the user by putting the template call inside another template; on projects where server-strain is a concern ...