Jump to content

ထႅမ်းပလဵတ်ႉ:Template category/doc

လုၵ်ႉတီႈ ဝီႇၶီႇပပ်ႉ မႃး

The {{template category}} template should be placed at the top of categories that contain only template pages and their related subcategories.


Default appearance

For the displayed output of 'topic' or 'description' inputs (only)
the parameters BG, FS, LH corresponding to HTML: 'background', 'font-size', and 'line-height' respectively have scope inside the text body.

Full syntax[မႄးထတ်း]

{{template category|type= |topic= |description= }}

for example, using |type=documentation, like other type enums, the template changes the default message to:



The following parameters that are all optional, may also be used:

Adds a note as to which type of template the category (but not necessarily its subcategories) is meant to contain, e.g.
{{template category|type=navbox}}
Currently, setting type to one of several values produces a preset note. The values are:
book · conversion · external link · formatting · function · infobox · meta · navbox · stub · userbox
If type is set to something other than one of these values, the default message "The pages listed in this category are meant be type templates." appears.
Adds the default description "Templates relating to topic.", where topic is usually a wikilink to the book associated with the category (e.g. Algorithms for the category ပိူင်ထၢၼ်ႈ:ပပ်ႉ:Algorithms/Templates). See Example 1 below.
Use this if a customized description is needed instead of (or, if topic also used, to follow) the default description above. See Example 2 below.


တူဝ်ယၢင်ႇ 1[မႄးထတ်း]

{{template category
|type  = navbox
|topic = United States

တူဝ်ယၢင်ႇ 2[မႄးထတ်း]

{{template category
|type  = navbox
|topic = China
|description = For templates relating specifically to the People's Republic of China (PRC) or the current Republic of China (ROC, "Taiwan").

တူဝ်ယၢင်ႇ 3[မႄးထတ်း]

{{template category
|description = Here's a ''description'' without a preceding ''topic'' statement.

တူဝ်ယၢင်ႇ 4[မႄးထတ်း]

{{template category
|type = external link
|description = '''Templates aiding the creation and formatting of external links to topic databases.'''