Handling of misuse

සංස්කරණය
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 – නොමිලේ ලැබෙන සැමටම සංස්කරණය කල හැකි අන්තර්ජාල විශ්වකෝශය

{{Annotated link/sandbox}}

Wikipedia – නොමිලේ ලැබෙන සැමටම සංස්කරණය කල හැකි අන්තර්ජාල විශ්වකෝශය

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

{{Annotated link}}

This project – නොමිලේ ලැබෙන සැමටම සංස්කරණය කල හැකි අන්තර්ජාල විශ්වකෝශය

{{Annotated link/sandbox}}

This project – නොමිලේ ලැබෙන සැමටම සංස්කරණය කල හැකි අන්තර්ජාල විශ්වකෝශය

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 theoretical physicist (1879–1955)

{{Annotated link/sandbox}}

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

Handling of explicit short description templates

සංස්කරණය
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}}
{{short description| unknown =param| 2= noreplace |things=stuff| Explicit short description with complex unknown params |pagetype = Talk }}
{{short description| Explicit short description first }} {{short description| Explicit short description second (used) }}
{{short description| Explicit short description first (noreplace) | noreplace }} {{short description| Explicit short description second (used) }}
{{short description| Explicit short description first (used) }} {{short description| Explicit short description second (noreplace) | noreplace }}
{{short description| Explicit short description first }}

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

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

{{short description| none }}

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

Uncommon configurations

සංස්කරණය
{{short description|pagetype= Talk | none| noreplace }}
{{short description|2 = noreplace | pagetype= Talk | 1 =none}}
{{short description|pagetype= Talk | Explicit short description complex| noreplace }}
{{short description|2 = noreplace | pagetype= Talk | 1 =Explicit short description complex numbered}}

Common configurations

සංස්කරණය
No explicit {{short description}} on the page
{{short description|none}}
{{short description|1=none}}
{{short description|Explicit short description}}
{{short description|1=Explicit short description numbered}}
Page name supplied as unnamed-or-numbered first parameter
Page name supplied as numbered first parameter
Page name supplied as named parameter using alias |name=
Page name supplied as named parameter using alias |title=
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

{{Annotated link/sandbox}}

Test page

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

{{Annotated link}}

Test page

{{Annotated link/sandbox}}

Test page

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

{{Annotated link/sandbox}}

Test page

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

{{Annotated link/sandbox}}

Test page

Dash replacement using unnamed-or-numbered third parameter, where the second param is empty
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

{{Annotated link/sandbox}}

Test page

Dash replacement using numbered third parameter
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

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/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

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description

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

{{Annotated link}}

"Song Title"

{{Annotated link/sandbox}}

"Song Title"

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"

{{Annotated link/sandbox}}

"Song Title"

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"

{{Annotated link/sandbox}}

"Song Title"

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

{{Annotated link}}

"Song Title"

{{Annotated link/sandbox}}

"Song Title"

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)

{{Annotated link/sandbox}}

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

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)

{{Annotated link/sandbox}}

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

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)

{{Annotated link/sandbox}}

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

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)

{{Annotated link/sandbox}}

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

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)

{{Annotated link/sandbox}}

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

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)

{{Annotated link/sandbox}}

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

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)

{{Annotated link/sandbox}}

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

|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

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/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

{{Annotated link/sandbox}}

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

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

{{Annotated link/sandbox}}

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

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

{{Annotated link/sandbox}}

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

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

{{Annotated link/sandbox}}

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

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

{{Annotated link/sandbox}}

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

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

{{Annotated link/sandbox}}

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

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

{{Annotated link/sandbox}}

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

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

{{Annotated link/sandbox}}

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

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]]

{{Annotated link/sandbox}}

[[:User:Fred Gandt/sandbox/explicit short description with no spaces|User:Fred Gandt/sandbox/explicit short description with no spaces]]

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]]

{{Annotated link/sandbox}}

[[:User:Fred Gandt/sandbox/explicit short description with no spaces|User:Fred Gandt/sandbox/explicit short description with no spaces]]

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

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description with 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

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description with 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

{{Annotated link/sandbox}}

User:Fred Gandt/sandbox/explicit short description with 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

{{Annotated link/sandbox}}

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

Converting first letter case using alias |case=

Specifying short description source preferences

සංස්කරණය
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 – නොමිලේ ලැබෙන සැමටම සංස්කරණය කල හැකි අන්තර්ජාල විශ්වකෝශය

{{Annotated link/sandbox}}

Wikipedia – නොමිලේ ලැබෙන සැමටම සංස්කරණය කල හැකි අන්තර්ජාල විශ්වකෝශය

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 – this is a fallback

{{Annotated link/sandbox}}

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

Foreign language handling

සංස්කරණය
{{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
<span title="ප්‍රංශ-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="ජපන්-language text"><span lang="ja">フレッドのテストページ</span></span>, <span title="අයිරිෂ්-language text"><i lang="ga">Leathanach tástála Fred</i></span>

{{Annotated link/sandbox}}

La page de test de Fred, also known as フレッドのテストページ, Leathanach tástála Fred
<span title="ප්‍රංශ-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="ජපන්-language text"><span lang="ja">フレッドのテストページ</span></span>, <span title="අයිරිෂ්-language text"><i lang="ga">Leathanach tástála Fred</i></span>


"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Annotated_link/testcases&oldid=648654" වෙතින් සම්ප්‍රවේශනය කෙරිණි