Search results
Results from the WOW.Com Content Network
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:
} 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=. {} must always be substituted. Its usage is demonstrated below.
Word adding |frac=N: N: Show imperial number in fractions, denominator=N: Number format, fraction |input=P2048: P2048 (e.g.) Reads and converts Wikidata property Inside template |lk=in: in: Link left-hand side unit name or symbol Unit link |lk=on: on: Link all unit names or symbols (but not twice for the same unit) Unit link |lk=out: out
This module implements {{Parameter names example}} (also known as {{Generic template demo}}). It creates a template demonstration such as that shown opposite. Please see the template page for full documentation.
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.
Here is how this template looks. Code to the left and actual rendering to the right: {{tlp|name|parameters}} = {{name|parameters}} Features of {}: 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 ...
Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Donate
The Template Parameters tool is available for viewing template parameter usage in articles. It works with TemplateData to show the frequency of parameter name usage in a template's mainspace transclusions, along with whether or not each parameter is listed in that template's TemplateData code as a supported parameter. For a required parameter ...