More actions
stray |
m 1 revision imported |
(No difference)
|
Latest revision as of 11:40, 4 June 2024
This is a documentation subpage for Template:Auto short description. It contains usage information, categories and other content that is not part of the original page. |
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
Parameters
Parameter | Description |
---|---|
|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. |
|indirect=
|
For templates that generate short descriptions via another template that is always embedded. |
|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}}. |
|category=
|
For meta-templates that generate short descriptions for a family of templates. For example, adding |chemical elements= will categorize the templates in Category:Templates that generate short descriptions for chemical elements.
|
Examples
{{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. {{Auto short description|sometimes=yes}}
→This template sometimesTemplate:Spadds 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}}
→This template adds an automatically generated short descriptionTemplate:Spvia 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}}
→This template adds an automatically generated short descriptionTemplate:Spacewhen 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}}
→This template adds an automatically generated short descriptionTemplate:Sp(chemical elements). If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article.