close
Sayahna Sayahna
Search

Difference between revisions of "Template:Tlrow"


(add italic title=no to avoid Category:Pages with DISPLAYTITLE conflicts)
m (1 revision)
 
(No difference)

Latest revision as of 07:24, 22 August 2014

Documentation icon Template documentation[view] [edit] [history] [purge]

This template is used for showing templates and their properties in a table.

Usage

There are three related templates:

  • {{tlrowtop}}— Start the template list
  • {{tlrow}}— Template row entry
  • {{end}}— End the list

The template requires one unnamed parameter for the name of the template:

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; use sysop or autoconfirmed depending on the template.
  • |subst= allows bypassing of the substitution check on some substitute only templates; use nosubst 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
Further information: Wikipedia:Category suppression

Examples

{{tlrowtop}}
{{tlrow|ffd}}
{{end}}

Gives:

What to type What it makes
{{ffd}}
links talk edit
This template should only be used on image pages.
{{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 links talk edit
This template is for files for deletion
This template should only be used on image pages.

See also