Template:Auto short description: Difference between revisions
m (1 revision imported) |
WikiDwarfBOT (talk | contribs) m (→top: clean up, replaced: Wikipedia: → Bharatpedia:) |
||
Line 1: | Line 1: | ||
{{Ombox | {{Ombox | ||
| type = notice | | type = notice | ||
| text = This template {{#if:{{{sometimes|}}}|sometimes{{sp}}}}adds an automatically generated '''[[ | | text = This template {{#if:{{{sometimes|}}}|sometimes{{sp}}}}adds an automatically generated '''[[Bharatpedia:Short description|short description]]'''{{#if:{{{category|}}}|{{sp}}({{{category}}})|}}{{#if:{{{conditions|}}}|{{space}}{{{conditions}}}}}. | ||
}}<includeonly>{{Subpage other|<!-- do not categorise -->|[[Category:Templates that generate short descriptions{{#if:{{{category|}}}|{{sp}}for {{{category}}}|}}]]}}</includeonly><noinclude> | }}<includeonly>{{Subpage other|<!-- do not categorise -->|[[Category:Templates that generate short descriptions{{#if:{{{category|}}}|{{sp}}for {{{category}}}|}}]]}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 02:18, 1 June 2021
![]() | This template adds an automatically generated short description. |
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}}
{{Auto short description|sometimes=yes}}
{{Auto short description|indirect=yes}}
{{Auto short description|conditions=when it is used in Bharatpedia space}}
{{Auto short description|category=chemical elements}}
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 |