Template:Short description: Difference between revisions
Appearance
m Protected "Template:Short description" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) Tags: Mobile edit Mobile web edit |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>{{documentation}} | <noinclude>{{documentation}} | ||
== Usage == | == Usage == | ||
This template adds a short description to a page | This template adds a short description to a page that appears under the page title, especially visible on mobile devices. | ||
=== Examples === | === Examples === | ||
| Line 7: | Line 7: | ||
* <code><nowiki>{{Short description|Capital city of France}}</nowiki></code> | * <code><nowiki>{{Short description|Capital city of France}}</nowiki></code> | ||
* <code><nowiki>{{Short description|Indian festival of lights}}</nowiki></code> | * <code><nowiki>{{Short description|Indian festival of lights}}</nowiki></code> | ||
* <code><nowiki>{{Short description|none}}</nowiki></code> - Suppresses | * <code><nowiki>{{Short description|none}}</nowiki></code> - Suppresses the description | ||
=== Parameters === | === Parameters === | ||
| Line 15: | Line 15: | ||
Pages using this template are automatically added to [[:Category:Pages with short description]]. | Pages using this template are automatically added to [[:Category:Pages with short description]]. | ||
</noinclude><includeonly | </noinclude><includeonly>{{#ifeq:{{{1|}}}|none||<div class="mw-shortdescription" style="display: block !important; font-size: 90%; color: #54595d; font-style: italic; margin: 0.5em 0 1em 0; line-height: 1.4; padding: 0;">{{{1}}}</div>[[Category:Pages with short description]]}}</includeonly> | ||
Latest revision as of 08:20, 1 November 2025
Template documentation
|
|---|
| Note: portions of the template sample may not be visible without values provided. |
| View or edit this documentation. (About template documentation) |
| Editors can experiment in this template's sandbox and test case pages. |
Usage
This template adds a short description to a page that appears under the page title, especially visible on mobile devices.
Examples
{{Short description|American actor and filmmaker}}{{Short description|Capital city of France}}{{Short description|Indian festival of lights}}{{Short description|none}}- Suppresses the description
Parameters
- 1 (required): The short description text, or "none" to suppress descriptions
Category
Pages using this template are automatically added to Category:Pages with short description.