Template:Short description: Difference between revisions
Created page with "<noinclude>{{documentation}} == Usage == This template adds a short description to a page for search engines and mobile displays. The description is hidden from the main page view but appears in search results and metadata. === 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><..." Tags: Mobile edit Mobile web edit |
No edit summary |
||
| (4 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> | ||