Difference between revisions of "Template:Auto short description/doc"
Jump to navigation
Jump to search
imported>SMcCandlish (update) |
imported>Jonesey95 (add doc for conditions) |
||
Line 5: | Line 5: | ||
Pages tagged with this template are categorized in [[:Category:Templates that generate short descriptions]]. | Pages tagged with this template are categorized in [[:Category:Templates that generate short descriptions]]. | ||
− | == | + | == Examples == |
{{Tlx|{{BASEPAGENAME}}}} | {{Tlx|{{BASEPAGENAME}}}} | ||
{{Tlx|{{BASEPAGENAME}}|sometimes{{=}}yes}} – for templates that only generate short descriptions under particular conditions | {{Tlx|{{BASEPAGENAME}}|sometimes{{=}}yes}} – for templates that only generate short descriptions under particular conditions | ||
+ | |||
+ | {{Tlx|{{BASEPAGENAME}}|conditions{{=}}when it is used in Wikipedia space}} – 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 {{tl|Namespace detect}} | ||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| |
Revision as of 16:53, 26 March 2020
![]() | 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 template page. |
Template:Auto short description should be placed on doc 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.
Examples
{{Auto short description|sometimes=yes}}
– for templates that only generate short descriptions under particular conditions
{{Auto short description|conditions=when it is used in Wikipedia space}}
– 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}}