Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Parameters  





3 About writing good short descriptions  





4 Template information  



4.1  Example  







5 Testing  



5.1  Pagetype parameter  







6 Aliases  





7 Tracking categories  





8 Maintenance categories  





9 See also  














Template:Short description






Afrikaans
العربية


Авар
Azərbaycanca
تۆرکجه
Basa Bali

 / Bân-lâm-gú
Basa Banyumasan
Беларуская
Беларуская (тарашкевіца)
Bikol Central
Български
Буряад
Cebuano
Chavacano de Zamboanga
Cymraeg
الدارجة
Ελληνικά
فارسی
Fiji Hindi
Fulfulde
Gaeilge
Galego

Gungbe

ि
Hrvatski
িি ি
Bahasa Indonesia
Jawa


 / کٲشُر
Kurdî
Ladin

Madhurâ
ि
Македонски

Malti


مصرى

Bahasa Melayu
 
Minangkabau
Монгол

Na Vosa Vakaviti
Nedersaksies

 

Нохчийн
ି
Oʻzbekcha / ўзбекча

پنجابی

پښتو

Português
Qaraqalpaqsha
Română
Gagana Samoa


سرائیکی
Scots
Shqip

Simple English
سنڌي
Slovenščina
کوردی
Српски / srpski
Sunda
Suomi
Tagalog
ி
Taqbaylit
 


Тоҷикӣ
Türkçe
Türkmençe
Twi
Українська
اردو
Tiếng Vit
Yorùbá

Zazaki

 
 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
Wikibooks
Wikidata
Wikiquote
Wikiversity
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


Template:Short description is used to add a short description (which can be edited from within Wikipedia) to a Wikipedia page. These descriptions appear in Wikipedia searches and elsewhere, and help users identify the desired article.

Usage

{{Short description|Write your short description here}}

This should be limited to about 40 characters, as explained at WP:SDFORMAT, along with the other guidance at WP:SDCONTENT.

If the page's title is sufficiently descriptive that a short description is not needed, use the following:

{{Short description|none}}

Parameters

See a monthly parameter usage report for Template:Short description in articles based on its TemplateData.

TemplateData for Short description

Creates a short description for a Wikipedia page, which is displayed in search results and other locations.

Template parameters[Edit template data]

This template has custom formatting.

ParameterDescriptionTypeStatus
Description1

The short description of the article or 'none'. It should be limited to about 40 characters.

Example
Endangered species of South American fish
Contentrequired
No replace?2

Should be unused or 'noreplace'. Templates with noreplace will not replace a short description defined by an earlier template. Mainly for use within transcluded templates.

Suggested values
noreplace
Auto value
noreplace
Stringoptional
pagetypepagetype

The type of page. This puts it in the appropriate category - Things with short description. Normally unneeded, since handled through namespace detection.

Example
Redirect, Disambiguation page
Stringoptional

About writing good short descriptions

This page is about the short description template; it does not provide guidelines for writing a good short description. If you plan to use this template, you should make sure you read and follow the detailed guidance at WP:HOWTOSD. General information can be found at Wikipedia:Short description.

Template information

Eventually all articles should have a short description:

Automatically generated descriptions within templates should set the second parameter as noreplace so they do not override any short descriptions specifically added to the transcluding article.

Short descriptions are not normally needed for non-article pages, such as redirects, but can be added if useful.

If the article title alone is sufficient to ensure reliable identification of the desired article, a null value of {{Short description|none}} may be used.

Short descriptions do not necessarily serve the same function as the Wikidata description for an item and they do not have to be the same, but some overlap is expected in many cases. Some Wikidata descriptions may be unsuitable, and if imported must be checked for relevance, accuracy and fitness for purpose. Responsibility for such imports lies with the importer. (See also Wikidata:Help:Description.)

Example

AtOxygen therapy, add the following at the very top of the article, above everything else:

Testing

For testing purposes, the display of this template can be enabled by adding a line to your Special:MyPage/common.css:

This can be easily removed or disabled when testing is finished.

If you want to always see short descriptions, you may prefer a more utilitarian layout, such as:

.shortdescription {
  display:block !important;
  white-space: pre-wrap;
}
.shortdescription::before { 
  content: "\A[Short description:\0020";
}
.shortdescription::after { 
  content: "]\A";
}

There is a test version of this template available as Template:Short description/test which displays its text by default.

Taking scuba diving (Q1096878) as an example:

Pagetype parameter

If{{{Pagetype}}}isnot set, then this template adds the article to a category based on the namespace:

If{{{Pagetype}}} is set, then this template adds the article to a category matching the parameter. For example:

Aliases

While there are currently redirects to this template, they must not be used, for the reasons below:

  • Other templates and gadgets attempt to extract short descriptions from pages by explicitly searching for the transclusions of the {{Short description}} template.
  • For example, {{Annotated link}} searches for the template in its uppercase "Short description" and lowercase form "short description".

Do not start the template with a space: {{ Short description.... While this does create a valid short description, the space will prevent searches for the {{Short description... text.

Tracking categories

Maintenance categories

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Short_description&oldid=1129169224"

Category: 
Lua-based templates
Hidden categories: 
Wikipedia fully protected templates
Templates using TemplateData
Templates that add a tracking category
Templates that generate short descriptions
 



This page was last edited on 23 December 2022, at 23:04 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki