Template:Tle/doc: Difference between revisions
Template page
More actions
m Fixed typos. |
priority fixes |
||
| Line 2: | Line 2: | ||
{{TemplateBox | {{TemplateBox | ||
|1=T | |1=T | ||
|1d= | |1d=Name of the template, which will be displayed as a link | ||
|1def=<code>Tle</code> | |1def=<code>Tle</code> | ||
|1stat=optional | |1stat=optional | ||
| Line 28: | Line 28: | ||
|name=Tle | |name=Tle | ||
|desc={{Lua|Module:Iteration}} | |desc={{Lua|Module:Iteration}}Displays Wikitext to invoke a template | ||
Shows a synopsis or an example invocation for a template. The example or synopsis can use parameters of the documented templates, whether these are named or not. | |||
|i18n-desc=The template does not generate any localizable text. | |i18n-desc=The template does not generate any localizable text. | ||
|namespace=template | |namespace=template | ||
| Line 41: | Line 41: | ||
It is necessary to distinguish between a template and its parameter names and parameter values, and this '''meta-template''' with its meta-parameter-names and meta-parameter-values. | It is necessary to distinguish between a template and its parameter names and parameter values, and this '''meta-template''' with its meta-parameter-names and meta-parameter-values. | ||
Wikimedia Commons has lots of other | Wikimedia Commons has lots of other templates to document templates, but none is really able to describe complicated parametrizing easily. | ||
{{Tle}} describes each parameter as a meta-pair <code>|pn= |n= </code>, an ''optional'' meta-parameter p{{sub|1}}...p{{sub|n}} for the name and an ''optional'' unnamed meta-parameter for the value.<br> | {{Tle}} describes each parameter as a meta-pair <code>|pn= |n= </code>, an ''optional'' meta-parameter p{{sub|1}}...p{{sub|n}} for the name and an ''optional'' unnamed meta-parameter for the value.<br> | ||