Difference between revisions of "Template:Tlrow"
(Created page with "<includeonly>|- | style="white-space:nowrap;vertical-align:top;" | {{tl|{{{1|tlrow}}}}}<br />{{#ifeq:{{lc:{{{category|}}}}}|no||{{#if:{{{category|}}}|<small>:Category:{{{cat...") |
(No difference)
|
Latest revision as of 12:03, 16 July 2015
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
This template is used for showing templates and their properties in a table.
Usage
There are three related templates:
The template requires one unnamed parameter for the name of the template:
-
{{tlrow|template name}}
Optional parameters
-
|category=
adds a link to the template category. -
|notes=
adds notes. -
|demolevel=
allows protection templates to be displayed even when the page is not protected; usesysop
orautoconfirmed
depending on the template. -
|subst=
allows bypassing of the substitution check on some substitute only templates; usenosubst
as the value.
Category suppression
Some templates automatically place the page where it is used into a category. These categories are not appropriate for pages such as lists, so some templates support a feature to suppress the automatic category. This template automatically invokes category suppression for templates that use these methods:
-
|nocat=true
-
|category=
-
|categories=no
Examples
{{tlrowtop}} {{tlrow|ffd}} {{end}}
Gives:
Template:Tlrowtop
|-
| style="white-space:nowrap;vertical-align:top;" | {{ffd}}
Template:Ffd(edit talk links history)
| Template:Ffd
Template:End
{{tlrowtop}} {{tlrow|ffd|category=Wikipedia files for deletion|notes=This template is for files for deletion}} {{end}}
Gives:
Template:Tlrowtop
|-
| style="white-space:nowrap;vertical-align:top;" | {{ffd}}
category Template:Ffd(edit talk links history)
| This template is for files for deletion
Template:Ffd
Template:End