మూస:catboiler getproperty/doc

విక్షనరీ నుండి
Documentation for మూస:catboiler getproperty. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Usage[<small>మార్చు</small>]

This template is used to query labels for label-specific information. This is done through the use of a parameter name, which is the first unnamed parameter provided to {{catboiler getproperty}}. The template must also be provided with the standard parameters {{{temp}}}, {{{code}}}, {{{label}}}, {{{sc}}}, {{{c}}}, which are passed on to the template that is queried. Which template actually gets queried depends on the labeltype setting in {{catboiler customize}}.

The following values for the first unnamed parameter are explicitly recognised and used, although in theory anything at all can be queried:

temp
Returns the template for which the label is queried, always equal to {{{temp}}}. Required.
label
Returns the label for which the query is made, always equal to {{{label}}}. Required.
mask
Returns a formatted version of the label, which is used to create category names. Optional, defaults to the label if not provided.
description
A plain English description for the label. Optional.
parentN
For N from 1 to 5, one or more parent labels of this label. Optional.
parentbynameN
For N from 1 to 5, one or more named parent categories of this label. Optional.
sortparentN
For N from 1 to 5, the sorting key to be used for the Nth parent category. Optional, defaults to the mask.
subN
For N from 1 to 40, the subcategories to be listed below the category's description. Optional.
scriptN
For N from 1 to 2, the script subcategories to be listed below the category's description. Optional.
article
The Wikipedia article to be displayed in the link box. Optional.
entry
The Wiktionary entry to be displayed in the link box. Optional.
contexttemplate
The context template to be displayed in the link box. Optional.

See also[<small>మార్చు</small>]