Template:Tlrow/doc: Difference between revisions
(Created page with "{{Documentation subpage}} <!-- Categories go where indicated at the bottom of this page, please; interwikis go to Bharaatdata (see also: Bharatpedia:Bharatdata) --> This template is used for showing templates and their properties in a table. === Usage === There are three related templates: * {{tl|tlrowtop}}— Start the template list * {{tl|tlrow}}— Template row entry * {{tl|end}}— End the list The template requires one unnamed parameter for the name of the tem...") |
(No difference)
|
Revision as of 18:03, 27 August 2024
![]() | This is a documentation subpage for Template:Tlrow. It contains usage information, categories and other content that is not part of the original template page. |
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:
What to type | What it makes |
---|---|
{{ffd}} |
Template:Ffd |
{{tlrowtop}}
{{tlrow|ffd|category=Bharatpedia files for discussion|notes=This template is for files for discussion}}
{{end}}
Gives:
What to type | What it makes |
---|---|
{{ffd}} category |
This template is for files for discussion Template:Ffd |
See also