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.

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.

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= }}

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|Wikipedia:Short description}}
Wikipedia:Short description

Piped for alternative link display

{{Annotated link|Wikipedia:Short description|<big>Short ''description''</big>}}
Short description

Abbreviation added

{{Annotated link|Wikipedia:Short description|Short description|abbreviation=SD}}
Short description (SD)

Alias added

{{Annotated link|Wikipedia:Short description|Short description|abbreviation=SD |aka=''disambiguation description''}}
Short description (SD), also known as disambiguation description

Dash replaced

{{Annotated link|Wikipedia:Short description|Short description|abbreviation=SD |aka=''disambiguation description''|dash=,&nbsp;}}
Short description (SD), also known as disambiguation description
  • 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.

Parameters

[మార్చు]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Annotated link in articles based on its TemplateData.

TemplateData for Annotated link

a link annotated using the short description

మూస పరామితులు

ఈ మూసకు, పరామితుల ఇన్‌లైను ఫార్మాటింగు కావాలి.

పరామితివివరణరకంస్థితి
Article title1

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

పేజీ పేరుతప్పనిసరి
Display title2

The text to be displayed in the link

అప్రమేయం
Article title
కంటెంటుఐచ్చికం
abbreviationabbreviation

abbreviation to be displayed in parentheses after the display title

స్ట్రింగుఐచ్చికం
alternative nameaka

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

స్ట్రింగుఐచ్చికం
dashdash

Replace the dash with something else

ఉదాహరణ
,&nbsp;
స్ట్రింగుఐచ్చికం