Difference between revisions of "Template:Tlrow"
m (1 revision) |
(add italic title=no to avoid Category:Pages with DISPLAYTITLE conflicts) |
||
Line 1: | Line 1: | ||
<includeonly>|- | <includeonly>|- | ||
| style="white-space:nowrap" valign="top" | {{tl|{{{1|tlrow}}}}}<br />{{#ifeq:{{lc:{{{category|}}}}}|no||{{#if:{{{category|}}}|<small>[[:Category:{{{category}}}|category]] </small>}}}}{{lts/|{{{1|tlrow}}}}}<includeonly> | | style="white-space:nowrap" valign="top" | {{tl|{{{1|tlrow}}}}}<br />{{#ifeq:{{lc:{{{category|}}}}}|no||{{#if:{{{category|}}}|<small>[[:Category:{{{category}}}|category]] </small>}}}}{{lts/|{{{1|tlrow}}}}}<includeonly> | ||
− | | {{#if: {{{notes|}}}|{{{notes}}} <br />| }} {{{{{1|tlrow}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|nocat=true|category={{#ifeq:{{lc:{{{category|}}}}}|no|no}}|categories=no|demolevel={{{demolevel|sysop}}}|subst={{{subst|}}}}}</includeonly><noinclude> | + | | {{#if: {{{notes|}}}|{{{notes}}} <br />| }} {{{{{1|tlrow}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|nocat=true|italic title=no|category={{#ifeq:{{lc:{{{category|}}}}}|no|no}}|categories=no|demolevel={{{demolevel|sysop}}}|subst={{{subst|}}}}}</includeonly><noinclude> |
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> |
Revision as of 21:34, 4 August 2014
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}} |
|
{{tlrowtop}} {{tlrow|ffd|category=Wikipedia files for deletion|notes=This template is for files for deletion}} {{end}}
Gives:
What to type | What it makes | ||
---|---|---|---|
{{ffd}} category |
This template is for files for deletion
|
See also
The above documentation is transcluded from Template:Tlrow/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |