Template:Auto short description
![]() | This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
Template:Auto short description should be placed on documentation pages of templates which automatically generate short description for pages transcluding them.
Pages tagged with this template are categorized in Category:Templates that generate short descriptions.
Usage
Examples
{{Auto short description}}
→
Category:Templates that generate short descriptionsThis template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. {{Auto short description|sometimes=yes}}
→
Category:Templates that generate short descriptionsThis template sometimes adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. {{Auto short description|indirect=yes}}
→
Category:Templates that generate short descriptionsThis template adds an automatically generated short description via an embedded template. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. {{Auto short description|conditions=when it is used in Wikipedia space}}
→
Category:Templates that generate short descriptionsThis template adds an automatically generated short description when it is used in Wikipedia space. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. {{Auto short description|category=chemical elements}}
→
Category:Templates that generate short descriptionsThis template adds an automatically generated short description (chemical elements). If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article.
TemplateData
TemplateData for Auto short description
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
sometimes | sometimes | Any value will change "adds an automatically generated short description" to "sometimes adds an automatically generated short description" . Use for templates that only generate short descriptions under particular conditions. | Boolean | optional |
indirect | indirect | For templates that generate short descriptions via another template that is always embedded. | Boolean | optional |
conditions | conditions | When an explanation is desired for the conditions under which a short description is generated, e.g. when the short description template is wrapped with {{Namespace detect}}.
| Content | optional |
category | category | For meta-templates that generate short descriptions for a family of templates. For example, specifying "chemical elements" will categorize the templates in Category:Templates that generate short descriptions for chemical elements.
| String | optional |
Category:Template namespace templates