Template:Auto short description: Difference between revisions

From IxWiki
Jump to navigation Jump to search
m 1 revision imported
wp>GhostInTheMachine
Allow for alternative category for nested templates
Line 1: Line 1:
{{Ombox
{{Ombox
| type      = notice
| type      = notice
| text      = This template {{#if:{{{sometimes|}}}|sometimes }}adds an automatically generated '''[[Wikipedia:Short description|short description]]'''{{#if:{{{conditions|}}}|{{space}}{{{conditions}}}}}.
| text      = This template {{#if:{{{sometimes|}}}|sometimes{{sp}}}}adds an automatically generated '''[[Wikipedia:Short description|short description]]'''{{#if:{{{category|}}}|{{sp}}({{{category}}})|}}{{#if:{{{conditions|}}}|{{space}}{{{conditions}}}}}.
}}<includeonly>{{Subpage other|<!-- do not categorise -->|[[Category:Templates that generate short descriptions]]}}</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>

Revision as of 12:23, 7 September 2020