Jump to content

ထႅမ်းပလဵတ်ႉ:Annotated link/doc

လုၵ်ႉတီႈ ဝီႇၶီႇၽီးတီးယႃး ဢၼ်လွတ်ႈလႅဝ်းထၢင်ႇႁၢင်ႈ ၼၼ်ႉမႃး

လၢႆးၸႂ်ႉတိုဝ်း

[မႄးထတ်းငဝ်ႈငႃႇ]

Used in lists to provide an annotated link using the short description from the linked page for annotation. Useful for disambiguation and providing an idea of what the link is about, without having to hover on the link. The link may be piped to adjust appearance. An abbreviation/acronym/initialism may be included as an optional parameter, and an alias as another optional parameter. The annotation follows a spaced ndash by default, but this can be replaced by other separators as an optional parameter.

If a {{Short description}} template exists in the targeted article, but is empty, or contains a space, non-breaking space, the word blank, none, null, or other indication that a short description is not appropriate or needed, the output should be an un-annotated link. If it is not, list such cases on the talk page for attention, or fix it if you can. Note that this template does not take short descriptions from Wikidata even if the article lacks a {{Short description}} template.

The template should not be used for annotating links on disambiguation pages. The relevant discussion is at Wikipedia talk:Disambiguation § Use of annotated links and concludes:

  • They contain formatting that is not in line with the long-established formatting for disambiguation entries at .
  • The text of the descriptions is frequently not optimal for disambiguation pages, as it may be neither distinguishing nor succinct.
  • They would remove control of the text from the disambiguation page itself, and allow disambiguation pages to be modified without appearing in the edit history of the page itself, or in notifications relating to the page. (This reason is not fixable, and is sufficient reason not to use the template or any modification thereof.)
{{Annotated link|Article title|piped link|abbreviation= |aka= |dash= }}

Null case: Short description template present in article but indicates short description not needed by using one of the null descriptions

{{Annotated link|Template:Annotated link/demo}}
Template:Annotated link/demo

Basic

{{Annotated link|Confédération Mondiale des Activités Subaquatiques}}
Confédération Mondiale des Activités Subaquatiques

Piped for alternative link display

{{Annotated link|Confédération Mondiale des Activités Subaquatiques|<big>World Underwater Federation</big>}}
World Underwater Federation

Piped to use template:lang per

{{Annotated link|Confédération Mondiale des Activités Subaquatiques |{{lang|fr |Confédération Mondiale des Activités Subaquatiques |nocat=yes}}}}
Confédération Mondiale des Activités Subaquatiques

Abbreviation added

{{Annotated link|Confédération Mondiale des Activités Subaquatiques|World Underwater Federation|abbreviation=CMAS}}
World Underwater Federation (CMAS)

Alias added

{{Annotated link|Confédération Mondiale des Activités Subaquatiques|World Underwater Federation|abbreviation=CMAS |aka=''Confédération Mondiale des Activités Subaquatiques''}}
World Underwater Federation (CMAS), also known as Confédération Mondiale des Activités Subaquatiques

Dash replaced

{{Annotated link|Confédération Mondiale des Activités Subaquatiques|World Underwater Federation|abbreviation=CMAS |aka=''Confédération Mondiale des Activités Subaquatiques''|dash=,&#32;}}
World Underwater Federation (CMAS), also known as Confédération Mondiale des Activités Subaquatiques
  • If you are porting this template to other Wikipedia sites, you may want to modify this template to read Wikidata for short descriptions depending on your local policies on placing such descriptions. To do so, you will need to run some Lua code along the lines of return mw.wikibase.description(mw.wikibase.getEntityIdForTitle(frame.args[1])) in a module. Module:ResolveEntityId may be used for the entity ID if you wish to handle redirects too.
ၶေႃႈမုၼ်းၸိူဝ်းၽၢႆႇတႂ်ႈၼႆႉ ပဵၼ် တူဝ်ထတ်းတႃႁၼ်(VisualEditor) ဢၼ်မီးတီႈ ဝီႇၶီႇၽီးတီးယႃးၼၼ်ႉ ယိူင်းဢၢၼ်း တႃႇဢဝ် ၶိူင်ႈၸိူဝ်းၼၼ်ႉ ၸႂ်ႉလႆႈတီႈ ဝီႇၶီႇၽီးတီးယႃးတႆးသေ ၸင်ႇလႆႈဢဝ် ပိူင် ၶေႃႈမုၼ်းထႅမ်းပလဵၵ်ႉ (TemplateData) ဢၼ်မီးတီႈ ဝီႇၶီႇၽီးတီးယႃး ဢိင်းၵလဵတ်ႈၼၼ်ႉ ႁဵတ်းဝႆႉပဵၼ် တီႈမၢႆတီႈတွင်းယဝ်ႉ။ ႁူမ်ႈဝႃႈ ပႆႇၸႂ်ႉၶိူင်ႈၸိူဝ်းၼၼ်ႉသေတႃႉ ပေႃးပဵၼ် ၵူၼ်းႁူႉလွင်ႈတႅမ်ႈပရူဝ်ႇၵရႅမ်ႇ (computer programming) ဢိတ်းဢွတ်းၵေႃႈ ႁႂ်ႈပေႃးႁၼ်လႆႈၸႅင်ႈလႅင်းလီၼႆသေ ၸၢင်ႈဢဝ်ၸႂ်ႉလႆႈ သၽေႃးတီႈၵႅပ်ႈမၼ်းလႆႈယူႇ။

Annotated link

a link annotated using the short description

Template parameters

This template prefers inline formatting of parameters.

Parameterၶေႃႈသပ်းလႅင်းTypeStatus
Article title1

Title of the article where the short description template and value exist.

Page namerequired
Display title2

The text to be displayed in the link

Default
Article title
Contentoptional
abbreviationabbreviation

abbreviation to be displayed in parentheses after the display title

Stringoptional
alternative nameaka

alternative names to display after the link as: also known as alternative name

Stringoptional
dashdash

Replace the dash with something else

Example
,&#32;
Stringoptional
  • {{SDlink}} - a version that checks for and fixes a bug in the handling of a numbered parameter
  • Wikipedia:Short description − General information about short descriptions.
  • WP:HOWTOSD − Detailed guidance on writing short descriptions.