Teamplaid:docparam
|1=
Ùsaid - Usage
deasaich{{docparam|parameter_name}}
{{docparam|parameter_name|additional_info}}
This template is intended to simplify and standardize the documentation of parameters on template documentation subpages. It may also be used on talk pages, user pages, etc., but should not be used in the main (dictionary) namespace.
Paramadairean - Parameters
deasaichTwo positional (unnamed) parameters are supported:
|1=
the name of the parameter being documented; if none is provided, the name defaults to "1"|2=
(optional) additional information, such as "optional", "required", "if not English", etc.
Eisimpleirean - Examples
deasaichThe list in the previous section was generated by the following code:
* {{docparam|1}} the name of the parameter being documented; if none is provided, the name defaults to "1" * {{docparam|2|''optional''}} additional information, such as "optional", "required", "if not English", etc.
Nòtaichean - Notes
deasaich- Since the template provides an equal sign (=), a call to this template should probably not be followed immediately by punctuation such as a colon (:), hyphen (-) or dash (—).
- The "additional info" specified in the second parameter is rendered in parentheses but not in bold or italics; if you want one of these renderings, you must provide it in the template call.
The above documentation is transcluded from Teamplaid:docparam/documentation. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /documentation subpage. Subpages of this template. |