|
|
Line 1: |
Line 1: |
| Okay, here is a comprehensive wiki article about `{{Short description}}` formatted using MediaWiki syntax.
| | {{#ifeq:{{lc:{{{1|}}}}}|none|{{SHORTDESC:}}<nowiki/><!--Prevents whitespace issues when used with adjacent newlines-->|<div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none">{{{1|}}}{{SHORTDESC:{{{1|}}}|{{{2|}}}}}</div>}}<includeonly>{{#ifeq:{{{pagetype}}}|Disambiguation pages||{{#ifeq:{{pagetype |defaultns = all |user=exclude}}|exclude||{{#ifeq:{{#switch: {{NAMESPACENUMBER}} | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 100 | 101 | 118 | 119 | 828 | 829 | = exclude|#default=}}|exclude||[[Category:{{{pagetype|{{pagetype |defaultns = extended |plural=y}}}}} with short description]]}}}}}}</includeonly><!-- Start tracking |
| | | -->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using short description with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Short description]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | pagetype | bot |plural }}<!-- |
| ```mediawiki
| | -->{{#ifexpr: {{#invoke:String|len|{{{1|}}}}}>100 | [[Category:{{{pagetype|{{pagetype |defaultns = extended |plural=y}}}}} with long short description]]}}<!-- |
| {{Template doc page transcluded}} | | --><includeonly>{{#if:{{{1|}}}||[[Category:Pages with empty short description]]}}</includeonly><!-- |
| | | -->{{Short description/lowercasecheck|{{{1|}}}}}<!-- |
| == Template:Short description ==
| | -->{{Main other |{{SDcat |sd={{{1|}}} }} }}<noinclude> |
| | | {{Documentation}} |
| {{high-use}}
| | </noinclude> |
| {{pp-template|small=yes}} | |
| {{template short description|Template used to add a concise, one-line description to a page}}
| |
| | |
| The '''{{tl|Short description}}''' template is used on Wikipedia pages to provide a concise, one-line description of the page's subject. This description is primarily intended for consumption by search engines, internal Wikipedia search, page previews (hovercards), and other automated systems and tools, rather than being displayed prominently on the page itself.
| |
| | |
| == Purpose and Benefits ==
| |
| | |
| Adding a short description serves several important functions:
| |
| | |
| * '''Improved Search Results:''' External search engines like Google often use the short description as the text snippet displayed below the page title in search results, helping users understand the page's content before clicking. Wikipedia's internal search also utilizes these descriptions.
| |
| * '''Enhanced Page Previews:''' When users hover their mouse over a link to a page (depending on their preferences and interface), the short description is often displayed in the preview pop-up, providing context.
| |
| * '''Mobile Readability:''' Short descriptions are frequently used in mobile interfaces to quickly orient the reader to the page's subject.
| |
| * '''Accessibility and Tools:''' Scripts, gadgets, and third-party tools can utilize short descriptions to provide better navigation, summaries, or data exports.
| |
| * '''Override Wikidata:''' Although descriptions are also stored on [[Wikidata]], the local `{{tl|Short description}}` template on a Wikipedia page takes precedence. This allows editors to provide a description tailored specifically for the English Wikipedia context, which might be more specific or clearer than the generic description on Wikidata.
| |
| | |
| == Usage ==
| |
| | |
| To add a short description to a page, simply place the `{{tl|Short description}}` template at the top of the page, usually after any hatnotes and before the infobox or lead section.
| |
| | |
| The template takes one unnamed parameter: the description itself.
| |
| | |
| '''Basic Syntax:'''
| |
| <syntaxhighlight lang="wikitext">{{Short description|Your concise description here}}</syntaxhighlight> | |
| | |
| '''Examples:'''
| |
| * For an article about a person:
| |
| <syntaxhighlight lang="wikitext">{{Short description|American actor and filmmaker}}</syntaxhighlight>
| |
| * For an article about a place:
| |
| <syntaxhighlight lang="wikitext">{{Short description|City in France}}</syntaxhighlight>
| |
| * For an article about a species:
| |
| <syntaxhighlight lang="wikitext">{{Short description|A species of flowering plant}}</syntaxhighlight>
| |
| * For an article about an event:
| |
| <syntaxhighlight lang="wikitext">{{Short description|Military conflict fought from 1939 to 1945}}</syntaxhighlight>
| |
| | |
| == Placement ==
| |
| | |
| The `{{tl|Short description}}` template should typically be placed near the very top of the page's wikitext. The standard placement is:
| |
| | |
| # Any [[Help:Hatnote|hatnotes]] (e.g., `{{For}}`, `{{About}}`) | |
| # The `{{tl|Short description}}` template | |
| # Any [[Help:Infobox|infobox]] | |
| # The lead section of the article | |
| | |
| Placing it consistently near the top makes it easy for editors to find, add, or modify the description. Avoid placing it inside infoboxes, reference sections, or other templates unless specifically instructed by the documentation for those templates.
| |
| | |
| == Visibility ==
| |
| | |
| It is important to understand that the short description added via `{{tl|Short description}}` is '''not''' typically displayed as part of the visible page content when a user reads the article in a standard web browser. Its primary visibility is in:
| |
| | |
| * Search engine results snippets (e.g., Google)
| |
| * Wikipedia's internal search results
| |
| * Page previews (hovering over links)
| |
| * Mobile interfaces
| |
| * Data accessed by bots, tools, and scripts
| |
| | |
| Some user scripts or interface gadgets may exist that make the short description visible on the page for editors or specific users, but this is not the default behavior for general readers.
| |
| | |
| == Guidelines for Writing Short Descriptions == | |
| | |
| To be most effective, short descriptions should follow these guidelines:
| |
| | |
| * '''Concise:''' Keep it short and to the point, ideally under 40 words. One sentence is usually sufficient.
| |
| * '''Accurate:''' It must accurately reflect the subject of the page.
| |
| * '''Neutral:''' Maintain a neutral point of view, consistent with Wikipedia's core principles.
| |
| * '''Specific:''' Clearly identify what the subject is (e.g., "American actor", not just "actor").
| |
| * '''Start Lowercase:''' Begin with a lowercase letter, unless the first word is a proper noun (e.g., "City in France", but "French film").
| |
| * '''No Period:''' Do not end the description with a period.
| |
| * '''Avoid Jargon:''' Use language that is easily understood by a general audience.
| |
| * '''Don't Repeat Title:''' Avoid unnecessarily repeating the page title at the start of the description (e.g., for "London", use "Capital city of the United Kingdom", not "London is the capital city...").
| |
| | |
| '''Good Examples:'''
| |
| * `{{Short description|American actor and filmmaker}}`
| |
| * `{{Short description|Capital city of the United Kingdom}}`
| |
| * `{{Short description|Species of bird native to Australia}}`
| |
| * `{{Short description|1985 American science fiction film}}`
| |
| | |
| '''Less Ideal Examples:'''
| |
| * `{{Short description|He was a very famous American actor and also directed some movies that were popular.}}` (Too long, conversational)
| |
| * `{{Short description|City}}` (Not specific enough)
| |
| * `{{Short description|City in France.}}` (Ends with a period)
| |
| * `{{Short description|London is the capital city of the United Kingdom}}` (Repeats title unnecessarily)
| |
| | |
| == Interaction with Wikidata == | |
| | |
| Wikipedia pages are often linked to items on [[Wikidata]], which also have descriptions.
| |
| | |
| * If a page '''has''' a `{{tl|Short description}}` template, the description provided in the template will be used, and the Wikidata description will be ignored for purposes of display on English Wikipedia interfaces and by tools prioritizing local descriptions.
| |
| * If a page '''does not have''' a `{{tl|Short description}}` template, Wikipedia interfaces and tools will typically fetch and use the description from the linked Wikidata item as a fallback.
| |
| | |
| Adding a local short description is useful when the Wikidata description is generic, unclear, or needs to be more specific for the English Wikipedia context (e.g., to help distinguish between similar topics).
| |
| | |
| == Special Cases ==
| |
| | |
| * '''Disambiguation Pages:''' Use `{{tl|Short description|Disambiguation page}}`.
| |
| * '''Redirects:''' Usually do not need a short description. If one is added for specific reasons (e.g., a prominent redirect), `{{tl|Short description|Redirect page}}` or a specific description of the redirect target may be used, but this is less common.
| |
| * '''Categories:''' Often use `{{tl|Short description|Wikipedia category}}` or a specific description like `{{tl|Short description|Category of American actors}}`.
| |
| * '''Templates:''' Describe the template's purpose, e.g., `{{tl|Short description|Template for citing sources}}`.
| |
| * '''User Pages:''' Generally do not need short descriptions. If desired, `{{tl|Short description|User page}}` or a brief self-description could be used, but this is uncommon.
| |
| | |
| == Technical Details ==
| |
| | |
| Adding `{{tl|Short description}}` places the page into [[Category:Pages with short description]]. Pages using the Wikidata description fall into [[Category:Pages using Wikidata descriptions]]. These categories help track coverage and identify pages needing local descriptions.
| |
| | |
| == See Also ==
| |
| | |
| * [[Wikidata]] - The linked knowledge base where descriptions are also stored.
| |
| * [[Help:Page information]] - Includes the short description among other metadata.
| |
| * [[Wikipedia:Page previews]] - Explains the hovercard feature that uses short descriptions.
| |
| * [[Wikipedia:Wikidata#Descriptions]] - More details on Wikidata descriptions.
| |
| | |
| == Conclusion == | |
| | |
| The `{{tl|Short description}}` template is a valuable tool for improving the discoverability and usability of Wikipedia content across various platforms and tools. Editors are encouraged to add accurate and concise short descriptions to pages, prioritizing articles lacking any description or those where the Wikidata description is insufficient.
| |
| | |
| [[Category:Wikipedia metadata templates]]
| |
| [[Category:High-use templates]]
| |
| [[Category:Maintenance templates]]
| |
| [[Category:Templates that add tracking categories]]
| |
| ```
| |