Template:Short description: Difference between revisions

No edit summary
No edit summary
Tags: Mobile edit Mobile web edit
Line 1: Line 1:
<noinclude>{{documentation}}
<noinclude>{{documentation}}
== Usage ==
This template adds a short description to a page that appears under the page title, especially visible on mobile devices.
=== Examples ===
* <code><nowiki>{{Short description|American actor and filmmaker}}</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|none}}</nowiki></code> - 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]].
</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>
== Usage ==
== Usage ==
This template adds a short description to a page that appears under the page title, especially visible on mobile devices.
This template adds a short description to a page that appears under the page title, especially visible on mobile devices.