ទំព័រគំរូ:Tlrow/doc

ពីវិគីភីឌា

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

Usage[កែប្រែ]

There are three related templates:

Template Use
{{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:

{{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; 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

Examples[កែប្រែ]

{{tlrowtop}}
{{tlrow|ifd}}
{{end}}

Gives:

What to type What it makes
{{ifd}}
links talk edit
ទំព័រគំរូ:Ifd


{{tlrowtop}}
{{tlrow|ifd|category=Images and media for deletion|notes=This template is for images for deletion}}
{{end}}

Gives:

What to type What it makes
{{ifd}}
category links talk edit
This template is for images for deletion
ទំព័រគំរូ:Ifd

See also[កែប្រែ]