Search results
Results From The WOW.Com Content Network
} extracts a specified template's parameters and performs a variety of tasks to aid in its documentation or WP:TFD merge nominations. It itself takes two parameters: |1=, the output format; and |base=, the title of a template. The compare function requires a third parameter, |other=.
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 using template {} the description is indented. {{subst:Parameters|dlistpara|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:
This template can take any number of unnamed parameters as parameters accompanying the template link (or name); see Examples below. Examples Use the displayed value in the code column, not the underlying source code.
Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Donate
It shows a template name with a link to that template. It shows up to eight parameters. It also shows empty parameters. (See examples below.) It prevents line wraps in its output. It uses normal text style. ({}, for instance, uses <code>...</code> text style.) This template belongs to a whole family of similar templates.
This should be exactly as it will appear in the invocation, e.g. for Template:Example use "Example". To generate the template name from a page name, you can use the name function. args – the arguments to use in the invocation (table, required). Table keys and values must be either strings or numbers. format – the format of the invocation ...