Template:Annotated link/testcases

From Wikipedia, the free encyclopedia


Handling of misuse[edit]

No page name provided
{{Annotated link| }}

{{Annotated link}}

<span style="color:#d33">[[Module:Annotated link]] requires a page name (including namespace).</span>[[Category:Pages displaying alarming messages about Module:Annotated link]]

{{Annotated link/sandbox}}

<span style="color:#d33">[[Module:Annotated link]] requires a page name (including namespace).</span>[[Category:Pages displaying alarming messages about Module:Annotated link]]

Nonexistent page name provided
{{Annotated link| User:Fred Gandt/nonexistent page }}

{{Annotated link}}

[[:User:Fred Gandt/nonexistent page|User:Fred Gandt/nonexistent page]]

{{Annotated link/sandbox}}

[[:User:Fred Gandt/nonexistent page|User:Fred Gandt/nonexistent page]]

Nonexistent page name provided with |red_cat=no
{{Annotated link| User:Fred Gandt/nonexistent page  |red_cat=no}}

{{Annotated link}}

[[:User:Fred Gandt/nonexistent page|User:Fred Gandt/nonexistent page]]

{{Annotated link/sandbox}}

[[:User:Fred Gandt/nonexistent page|User:Fred Gandt/nonexistent page]]

Wiki-markup in |name=; formatted link provided
{{Annotated link| [[Wikipedia]] }}

{{Annotated link}}

Wikipedia – Free online crowdsourced encyclopedia

{{Annotated link/sandbox}}

Wikipedia – Free online crowdsourced encyclopedia

Wiki-markup in |name=; formatted link with piped display provided
{{Annotated link| [[Wikipedia|This project]] }}

{{Annotated link}}

This project – Free online crowdsourced encyclopedia

{{Annotated link/sandbox}}

This project – Free online crowdsourced encyclopedia

Wiki-markup in |name=; formatted link in Template namespace with piped display provided
{{Annotated link| [[ Template:Annotated link | Annotated link ]] }}

{{Annotated link}}

{{[[:Template:Annotated link|Annotated link]]}}&nbsp;– template used to display and annotate a wikilink using the short description of the linked page<span style="display:none" class="category-wikidata-fallback-annotation">Pages displaying wikidata descriptions as a fallback</span>[[Category:Pages displaying wikidata descriptions as a fallback via Module:Annotated link]]

{{Annotated link/sandbox}}

{{[[:Template:Annotated link|Annotated link]]}}&nbsp;– template used to display and annotate a wikilink using the short description of the linked page<span style="display:none" class="category-wikidata-fallback-annotation">Pages displaying wikidata descriptions as a fallback</span>[[Category:Pages displaying wikidata descriptions as a fallback via Module:Annotated link]]

Wiki-markup in |name=; formatted link in Category namespace provided
{{Annotated link| [[ : Category:Link templates ]] }}

{{Annotated link}}

[[:Category:Link templates|Category:Link templates]]

{{Annotated link/sandbox}}

[[:Category:Link templates|Category:Link templates]]

Wiki-markup in |name=; template markup
{{Annotated link| &#123;&#123;[[Template:Void|Void]]&#125;&#125; }}

{{Annotated link}}

<span style="color:#d33">[[Module:Annotated link]] requires only a page name (including namespace) without markup. If an attempt is being made to annotate a link to a template, provide only the template name with namespace e.g. "Template:Example".</span>[[Category:Pages displaying alarming messages about Module:Annotated link]]

{{Annotated link/sandbox}}

<span style="color:#d33">[[Module:Annotated link]] requires only a page name (including namespace) without markup. If an attempt is being made to annotate a link to a template, provide only the template name with namespace e.g. "Template:Example".</span>[[Category:Pages displaying alarming messages about Module:Annotated link]]

Section link provided
{{Annotated link| Albert Einstein#Life and career }}

{{Annotated link}}

Albert Einstein#Life and career – German-born physicist (1879–1955)

{{Annotated link/sandbox}}

Albert Einstein § Life and career – German-born physicist (1879–1955)

Handling of explicit short description templates[edit]

Badly configured[edit]

An entirely empty {{short description}} on the page
{{short description|}}
{{short description|1=}}
{{short description|pagetype= Talk || noreplace }}
{{short description|2 = noreplace | pagetype= Talk | 1 =}}
{{short description|Explicit short description with unknown params|unknown=params}}
{{Annotated link| User:Fred Gandt/sandbox/explicit short description with unknown params }}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description with unknown params – Explicit short description with unknown params

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description with unknown params – Explicit short description with unknown params

{{short description| unknown =param| 2= noreplace |things=stuff| Explicit short description with complex unknown params |pagetype = Talk }}
{{Annotated link| User:Fred Gandt/sandbox/explicit short description with complex unknown params }}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description with complex unknown params – Explicit short description with complex unknown params

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description with complex unknown params – Explicit short description with complex unknown params

Multiple[edit]

{{short description| Explicit short description first }} {{short description| Explicit short description second (used) }}
{{Annotated link| User:Fred Gandt/sandbox/two explicit short description templates }}

{{Annotated link}}

User:Fred Gandt/sandbox/two explicit short description templates – Explicit short description second (used)

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/two explicit short description templates – Explicit short description second (used)

{{short description| Explicit short description first (noreplace) | noreplace }} {{short description| Explicit short description second (used) }}
{{Annotated link| User:Fred Gandt/sandbox/two explicit short description templates first noreplace }}

{{Annotated link}}

User:Fred Gandt/sandbox/two explicit short description templates first noreplace – Explicit short description second (used)

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/two explicit short description templates first noreplace – Explicit short description second (used)

{{short description| Explicit short description first (used) }} {{short description| Explicit short description second (noreplace) | noreplace }}
{{Annotated link| User:Fred Gandt/sandbox/two explicit short description templates second noreplace }}

{{Annotated link}}

User:Fred Gandt/sandbox/two explicit short description templates second noreplace – Explicit short description first (used)

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/two explicit short description templates second noreplace – Explicit short description first (used)

{{short description| Explicit short description first }}

{{short description| Explicit short description second (noreplace) | noreplace }}

{{short description| Explicit short description third (used) }}
{{Annotated link| User:Fred Gandt/sandbox/three explicit short description templates second noreplace }}

{{Annotated link}}

User:Fred Gandt/sandbox/three explicit short description templates second noreplace – Explicit short description third (used)

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/three explicit short description templates second noreplace – Explicit short description third (used)

{{short description| Explicit short description first (used) }}

{{short description| none }}

{{short description| Explicit short description third (noreplace) | noreplace }}
{{Annotated link| User:Fred Gandt/sandbox/three explicit short description templates second none third noreplace }}

{{Annotated link}}

User:Fred Gandt/sandbox/three explicit short description templates second none third noreplace – Explicit short description first (used)

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/three explicit short description templates second none third noreplace – Explicit short description first (used)

Uncommon configurations[edit]

{{short description|pagetype= Talk | none| noreplace }}
{{short description|2 = noreplace | pagetype= Talk | 1 =none}}
{{short description|pagetype= Talk | Explicit short description complex| noreplace }}
{{Annotated link| User:Fred Gandt/sandbox/explicit short description complex }}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description complex – Explicit short description complex

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description complex – Explicit short description complex

{{short description|2 = noreplace | pagetype= Talk | 1 =Explicit short description complex numbered}}
{{Annotated link| User:Fred Gandt/sandbox/explicit short description complex numbered }}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description complex numbered – Explicit short description complex numbered

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description complex numbered – Explicit short description complex numbered

Common configurations[edit]

No explicit {{short description}} on the page
{{short description|none}}
{{short description|1=none}}
{{short description|Explicit short description}}
{{Annotated link| User:Fred Gandt/sandbox/explicit short description }}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description – Explicit short description

{{short description|1=Explicit short description numbered}}
{{Annotated link| User:Fred Gandt/sandbox/explicit short description numbered }}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description numbered – Explicit short description numbered

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description numbered – Explicit short description numbered

Template usage[edit]

Basic[edit]

Page name supplied as unnamed-or-numbered first parameter
{{Annotated link| User:Fred Gandt/sandbox/explicit short description }}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description – Explicit short description

Page name supplied as numbered first parameter
{{Annotated link|User:Fred Gandt/sandbox/explicit short description}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description – Explicit short description

Page name supplied as named parameter using alias |name=
{{Annotated link |name=User:Fred Gandt/sandbox/explicit short description}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description – Explicit short description

Page name supplied as named parameter using alias |title=
{{Annotated link |title=User:Fred Gandt/sandbox/explicit short description}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description – Explicit short description

Piped link display supplied as unnamed-or-numbered second parameter
{{Annotated link| User:Fred Gandt/sandbox/explicit short description | Test page }}

{{Annotated link}}

Test page – Explicit short description

{{Annotated link/sandbox}}

Test page – Explicit short description

Piped link display supplied as numbered second parameter
{{Annotated link| User:Fred Gandt/sandbox/explicit short description |Test page}}

{{Annotated link}}

Test page – Explicit short description

{{Annotated link/sandbox}}

Test page – Explicit short description

Piped link display supplied as named parameter using alias |display=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |display=Test page}}

{{Annotated link}}

Test page – Explicit short description

{{Annotated link/sandbox}}

Test page – Explicit short description

Piped link display supplied as named parameter using alias |disp=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |disp=Test page}}

{{Annotated link}}

Test page – Explicit short description

{{Annotated link/sandbox}}

Test page – Explicit short description

Dash replacement using unnamed-or-numbered third parameter, where the second param is empty
{{Annotated link| User:Fred Gandt/sandbox/explicit short description || , }}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description, Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description, Explicit short description

Dash replacement using unnamed-or-numbered third parameter, where the second param is used
{{Annotated link| User:Fred Gandt/sandbox/explicit short description | Test page | , }}

{{Annotated link}}

Test page, Explicit short description

{{Annotated link/sandbox}}

Test page, Explicit short description

Dash replacement using numbered third parameter
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |3=,}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description, Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description, Explicit short description

Dash replacement using named third parameter using alias |dash=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |dash=,}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description, Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description, Explicit short description

Dash replacement using named third parameter using alias |comma=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |comma=,}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description, Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description, Explicit short description

Extended[edit]

Double quoting of links using |quote=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description | Song Title  |quote=yes}}

{{Annotated link}}

"Song Title" – Explicit short description

{{Annotated link/sandbox}}

"Song Title" – Explicit short description

Double quoting of links using alias |quote_link=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description | Song Title  |quote_link=yes}}

{{Annotated link}}

"Song Title" – Explicit short description

{{Annotated link/sandbox}}

"Song Title" – Explicit short description

Double quoting of links using alias |quote-link=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description | Song Title  |quote-link=yes}}

{{Annotated link}}

"Song Title" – Explicit short description

{{Annotated link/sandbox}}

"Song Title" – Explicit short description

Double quoting of links using alias |ql=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description | Song Title  |ql=yes}}

{{Annotated link}}

"Song Title" – Explicit short description

{{Annotated link/sandbox}}

"Song Title" – Explicit short description

Adding an abbreviation using |abbr=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |abbr=ESD}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description (ESD) – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description (ESD) – Explicit short description

Adding an abbreviation using alias |abbreviation=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |abbreviation=ESD}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description (ESD) – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description (ESD) – Explicit short description

Adding an abbreviation title using |abbr_title=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |abbr=ESD |abbr_title=Explicit short description}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description (ESD) – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description (ESD) – Explicit short description

Adding an abbreviation title using alias |abbr-title=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |abbr=ESD |abbr-title=Explicit short description}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description (ESD) – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description (ESD) – Explicit short description

Adding an abbreviation title using alias |abbreviation_title=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |abbr=ESD |abbreviation_title=Explicit short description}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description (ESD) – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description (ESD) – Explicit short description

Adding an abbreviation title using alias |abbreviation-title=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |abbr=ESD |abbreviation-title=Explicit short description}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description (ESD) – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description (ESD) – Explicit short description

Adding an abbreviation title using alias |at=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |abbr=ESD |at=Explicit short description}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description (ESD) – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description (ESD) – Explicit short description

|abbr_title= used without |abbr=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |abbr_title=Explicit short description}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description – Explicit short description

Adding an "also known as" using |aka=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |aka=A test page}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description, also known as A test page – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description, also known as A test page – Explicit short description

Adding an abbreviation using |abbr= followed by an "also known as" using |aka=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |abbr=ESD |aka=A test page}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description (ESD), also known as A test page – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description (ESD), also known as A test page – Explicit short description

Adding extra information using |wedge=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |wedge=some extra information}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description, some extra information – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description, some extra information – Explicit short description

Adding extra information using alias |insert=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |insert=some extra information}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description, some extra information – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description, some extra information – Explicit short description

Adding extra information using alias |extra=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |extra=some extra information}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description, some extra information – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description, some extra information – Explicit short description

Adding an abbreviation using |abbr= followed by extra information using |wedge=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |abbr=ESD |wedge=some extra information}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description (ESD), some extra information – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description (ESD), some extra information – Explicit short description

Adding an "also known as" using |aka= followed by extra information using |wedge=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |aka=A test page |wedge=some extra information}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description, also known as A test page, some extra information – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description, also known as A test page, some extra information – Explicit short description

Adding an abbreviation using |abbr= followed by an "also known as" using |aka= followed by extra information using |wedge=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |abbr=ESD |aka=A test page |wedge=some extra information}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description (ESD), also known as A test page, some extra information – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description (ESD), also known as A test page, some extra information – Explicit short description

Template link formatting akin to that expected of {{template link}}
{{Annotated link| Template:annotated link }}

{{Annotated link}}

{{[[:Template:annotated link|annotated link]]}}&nbsp;– template used to display and annotate a wikilink using the short description of the linked page<span style="display:none" class="category-wikidata-fallback-annotation">Pages displaying wikidata descriptions as a fallback</span>[[Category:Pages displaying wikidata descriptions as a fallback via Module:Annotated link]]

{{Annotated link/sandbox}}

{{[[:Template:annotated link|annotated link]]}}&nbsp;– template used to display and annotate a wikilink using the short description of the linked page<span style="display:none" class="category-wikidata-fallback-annotation">Pages displaying wikidata descriptions as a fallback</span>[[Category:Pages displaying wikidata descriptions as a fallback via Module:Annotated link]]

Template link formatting akin to that expected of {{template link expanded}}
{{Annotated link| Template:annotated link  |template_link=code}}

{{Annotated link}}

<code>{{[[:Template:annotated link|annotated link]]}}</code>&nbsp;– template used to display and annotate a wikilink using the short description of the linked page<span style="display:none" class="category-wikidata-fallback-annotation">Pages displaying wikidata descriptions as a fallback</span>[[Category:Pages displaying wikidata descriptions as a fallback via Module:Annotated link]]

{{Annotated link/sandbox}}

<code>{{[[:Template:annotated link|annotated link]]}}</code>&nbsp;– template used to display and annotate a wikilink using the short description of the linked page<span style="display:none" class="category-wikidata-fallback-annotation">Pages displaying wikidata descriptions as a fallback</span>[[Category:Pages displaying wikidata descriptions as a fallback via Module:Annotated link]]

Disabled special template link formatting
{{Annotated link| Template:Annotated link  |template_link=no}}

{{Annotated link}}

[[:Template:Annotated link|Template:Annotated link]]&nbsp;– template used to display and annotate a wikilink using the short description of the linked page<span style="display:none" class="category-wikidata-fallback-annotation">Pages displaying wikidata descriptions as a fallback</span>[[Category:Pages displaying wikidata descriptions as a fallback via Module:Annotated link]]

{{Annotated link/sandbox}}

[[:Template:Annotated link|Template:Annotated link]]&nbsp;– template used to display and annotate a wikilink using the short description of the linked page<span style="display:none" class="category-wikidata-fallback-annotation">Pages displaying wikidata descriptions as a fallback</span>[[Category:Pages displaying wikidata descriptions as a fallback via Module:Annotated link]]

Disabled special template link formatting with piped link title
{{Annotated link| Template:Annotated link | Annotated link  |template_link=no}}

{{Annotated link}}

[[:Template:Annotated link|Annotated link]]&nbsp;– template used to display and annotate a wikilink using the short description of the linked page<span style="display:none" class="category-wikidata-fallback-annotation">Pages displaying wikidata descriptions as a fallback</span>[[Category:Pages displaying wikidata descriptions as a fallback via Module:Annotated link]]

{{Annotated link/sandbox}}

[[:Template:Annotated link|Annotated link]]&nbsp;– template used to display and annotate a wikilink using the short description of the linked page<span style="display:none" class="category-wikidata-fallback-annotation">Pages displaying wikidata descriptions as a fallback</span>[[Category:Pages displaying wikidata descriptions as a fallback via Module:Annotated link]]

Categorisation of short descriptions with no spaces
{{Annotated link| User:Fred Gandt/sandbox/explicit short description with no spaces }}

{{Annotated link}}

[[:User:Fred Gandt/sandbox/explicit short description with no spaces|User:Fred Gandt/sandbox/explicit short description with no spaces]]&nbsp;– Spacelessness<span style="display:none" class="category-spaceless-annotation">Pages displaying short descriptions with no spaces</span>[[Category:Pages displaying short descriptions with no spaces via Module:Annotated link]]

{{Annotated link/sandbox}}

[[:User:Fred Gandt/sandbox/explicit short description with no spaces|User:Fred Gandt/sandbox/explicit short description with no spaces]]&nbsp;– Spacelessness<span style="display:none" class="category-spaceless-annotation">Pages displaying short descriptions with no spaces</span>[[Category:Pages displaying short descriptions with no spaces via Module:Annotated link]]

Disabling categorisation of short descriptions with no spaces
{{Annotated link| User:Fred Gandt/sandbox/explicit short description with no spaces  |space_cat=no}}

{{Annotated link}}

[[:User:Fred Gandt/sandbox/explicit short description with no spaces|User:Fred Gandt/sandbox/explicit short description with no spaces]]&nbsp;– Spacelessness

{{Annotated link/sandbox}}

[[:User:Fred Gandt/sandbox/explicit short description with no spaces|User:Fred Gandt/sandbox/explicit short description with no spaces]]&nbsp;– Spacelessness

Converting first letter case using |desc_first_letter_case=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description with lowercase first letter  |desc_first_letter_case=lower}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description with lowercase first letter – explicit short description with a lowercase first letter

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description with lowercase first letter – explicit short description with a lowercase first letter

Converting first letter case using alias |desc-first-letter-case=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description with lowercase first letter  |desc-first-letter-case=lower}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description with lowercase first letter – explicit short description with a lowercase first letter

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description with lowercase first letter – explicit short description with a lowercase first letter

Converting first letter case using alias |desc_case =
{{Annotated link| User:Fred Gandt/sandbox/explicit short description with lowercase first letter  |desc_case=lower}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description with lowercase first letter – explicit short description with a lowercase first letter

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description with lowercase first letter – explicit short description with a lowercase first letter

Converting first letter case using alias |desc-case=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description with lowercase first letter  |desc-case=lower}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description with lowercase first letter – explicit short description with a lowercase first letter

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description with lowercase first letter – explicit short description with a lowercase first letter

Converting first letter case using alias |case=
{{Annotated link| User:Fred Gandt/sandbox/explicit short description with lowercase first letter  |case=lower}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description with lowercase first letter – explicit short description with a lowercase first letter

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description with lowercase first letter – explicit short description with a lowercase first letter

Specifying short description source preferences[edit]

Specifying |only=explicit where none exists but a Wikidata description does
{{Annotated link| Template:Annotated link  |only=explicit}}

{{Annotated link}}

{{Annotated link}}

{{Annotated link/sandbox}}

{{Annotated link}}

Specifying |only=wikidata where a Wikidata description exists
{{Annotated link| Template:Annotated link  |only=wikidata}}

{{Annotated link}}

{{[[:Template:Annotated link|Annotated link]]}}&nbsp;– template used to display and annotate a wikilink using the short description of the linked page

{{Annotated link/sandbox}}

{{[[:Template:Annotated link|Annotated link]]}}&nbsp;– template used to display and annotate a wikilink using the short description of the linked page

Specifying |prefer=explicit where none exists but a Wikidata description does
{{Annotated link| Template:Annotated link  |prefer=explicit}}

{{Annotated link}}

{{[[:Template:Annotated link|Annotated link]]}}&nbsp;– template used to display and annotate a wikilink using the short description of the linked page<span style="display:none" class="category-wikidata-fallback-annotation">Pages displaying wikidata descriptions as a fallback</span>[[Category:Pages displaying wikidata descriptions as a fallback via Module:Annotated link]]

{{Annotated link/sandbox}}

{{[[:Template:Annotated link|Annotated link]]}}&nbsp;– template used to display and annotate a wikilink using the short description of the linked page<span style="display:none" class="category-wikidata-fallback-annotation">Pages displaying wikidata descriptions as a fallback</span>[[Category:Pages displaying wikidata descriptions as a fallback via Module:Annotated link]]

Specifying |prefer=wikidata where an explicit short description exists
{{Annotated link| Wikipedia  |prefer=wikidata}}

{{Annotated link}}

Wikipedia – free multilingual online encyclopedia

{{Annotated link/sandbox}}

Wikipedia – free multilingual online encyclopedia

Specifying |only=explicit where none exists but a |fallback= is provided
{{Annotated link| User:Fred Gandt/sandbox/no explicit short description  |fallback=this is a fallback |only=explicit}}

{{Annotated link}}

User:Fred Gandt/sandbox/no explicit short description – this is a fallback

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/no explicit short description – this is a fallback

Specifying |only=explicit where one exists and a |fallback= is provided
{{Annotated link| User:Fred Gandt/sandbox/explicit short description  |fallback=this is a fallback |only=explicit}}

{{Annotated link}}

User:Fred Gandt/sandbox/explicit short description – Explicit short description

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description – Explicit short description

Foreign language handling[edit]

{{short description|Explicit short description}}
{{Annotated link| User:Fred Gandt/sandbox/explicit short description |La page de test de Fred  |aka=フレッドのテストページ |aka_lang=ja |link_lang=fr |wedge=Leathanach tástála Fred |wedge_lang=ga}}

{{Annotated link}}

La page de test de Fred, also known as フレッドのテストページ, Leathanach tástála Fred – Explicit short description
<span title="French-language text"><i lang="fr">[[:User:Fred Gandt/sandbox/explicit short description|La page de test de Fred]]</i></span>, also known as <span title="Japanese-language text"><span lang="ja">フレッドのテストページ</span></span>, <span title="Irish-language text"><i lang="ga">Leathanach tástála Fred</i></span>&nbsp;– Explicit short description

{{Annotated link/sandbox}}

La page de test de Fred, also known as フレッドのテストページ, Leathanach tástála Fred – Explicit short description
<span title="French-language text"><i lang="fr">[[:User:Fred Gandt/sandbox/explicit short description|La page de test de Fred]]</i></span>, also known as <span title="Japanese-language text"><span lang="ja">フレッドのテストページ</span></span>, <span title="Irish-language text"><i lang="ga">Leathanach tástála Fred</i></span>&nbsp;– Explicit short description