Jump to content

Module talk:Annotated link/testcases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Sandbox tests at Module:Annotated link/sandbox/testcases

Live

[edit]

All 68 tests passed.

test__abbr__abbr_title__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/no explicit short description|abbr=NESD|abbr_title=No Explicit Short Description}} Template:GetShortDescription/no explicit short description (NESD) Template:GetShortDescription/no explicit short description (NESD)
[[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]] (<abbr title="No Explicit Short Description">NESD</abbr>) [[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]] (<abbr title="No Explicit Short Description">NESD</abbr>)
test__abbr__abbr_title__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|abbr=ESD|abbr_title=Explicit Short Description}} Template:GetShortDescription/explicit short description (ESD) – Explicit short description Template:GetShortDescription/explicit short description (ESD) – Explicit short description
[[:Template:GetShortDescription/explicit short description|Template:GetShortDescription/explicit short description]] (<abbr title="Explicit Short Description">ESD</abbr>)&nbsp;– Explicit short description [[:Template:GetShortDescription/explicit short description|Template:GetShortDescription/explicit short description]] (<abbr title="Explicit Short Description">ESD</abbr>)&nbsp;– Explicit short description
test__abbr__aka__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/no explicit short description|abbr=NESD|aka=Fred's test page}} Template:GetShortDescription/no explicit short description (NESD), also known as Fred's test page Template:GetShortDescription/no explicit short description (NESD), also known as Fred's test page
[[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]] (<abbr>NESD</abbr>), also known as Fred's test page [[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]] (<abbr>NESD</abbr>), also known as Fred's test page
test__abbr__aka__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|abbr=ESD|aka=Fred's test page}} Template:GetShortDescription/explicit short description (ESD), also known as Fred's test page – Explicit short description Template:GetShortDescription/explicit short description (ESD), also known as Fred's test page – Explicit short description
[[:Template:GetShortDescription/explicit short description|Template:GetShortDescription/explicit short description]] (<abbr>ESD</abbr>), also known as Fred's test page&nbsp;– Explicit short description [[:Template:GetShortDescription/explicit short description|Template:GetShortDescription/explicit short description]] (<abbr>ESD</abbr>), also known as Fred's test page&nbsp;– Explicit short description
test__abbr__aka__wedge__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/no explicit short description|abbr=NESD|aka=Fred's test page|wedge=[[Tight Fit]]}} Template:GetShortDescription/no explicit short description (NESD), also known as Fred's test page, Tight Fit Template:GetShortDescription/no explicit short description (NESD), also known as Fred's test page, Tight Fit
[[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]] (<abbr>NESD</abbr>), also known as Fred's test page, [[Tight Fit]] [[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]] (<abbr>NESD</abbr>), also known as Fred's test page, [[Tight Fit]]
test__abbr__aka__wedge__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|abbr=ESD|aka=Fred's test page|wedge=[[Tight Fit]]}} Template:GetShortDescription/explicit short description (ESD), also known as Fred's test page, Tight Fit – Explicit short description Template:GetShortDescription/explicit short description (ESD), also known as Fred's test page, Tight Fit – Explicit short description
[[:Template:GetShortDescription/explicit short description|Template:GetShortDescription/explicit short description]] (<abbr>ESD</abbr>), also known as Fred's test page, [[Tight Fit]]&nbsp;– Explicit short description [[:Template:GetShortDescription/explicit short description|Template:GetShortDescription/explicit short description]] (<abbr>ESD</abbr>), also known as Fred's test page, [[Tight Fit]]&nbsp;– Explicit short description
test__abbr__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/no explicit short description|abbr=NESD}} Template:GetShortDescription/no explicit short description (NESD) Template:GetShortDescription/no explicit short description (NESD)
[[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]] (<abbr>NESD</abbr>) [[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]] (<abbr>NESD</abbr>)
test__abbr__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|abbr=ESD}} Template:GetShortDescription/explicit short description (ESD) – Explicit short description Template:GetShortDescription/explicit short description (ESD) – Explicit short description
[[:Template:GetShortDescription/explicit short description|Template:GetShortDescription/explicit short description]] (<abbr>ESD</abbr>)&nbsp;– Explicit short description [[:Template:GetShortDescription/explicit short description|Template:GetShortDescription/explicit short description]] (<abbr>ESD</abbr>)&nbsp;– Explicit short description
test__abbr__wedge__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/no explicit short description|abbr=NESD|wedge=[[Tight Fit]]}} Template:GetShortDescription/no explicit short description (NESD), Tight Fit Template:GetShortDescription/no explicit short description (NESD), Tight Fit
[[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]] (<abbr>NESD</abbr>), [[Tight Fit]] [[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]] (<abbr>NESD</abbr>), [[Tight Fit]]
test__abbr__wedge__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|abbr=ESD|wedge=[[Tight Fit]]}} Template:GetShortDescription/explicit short description (ESD), Tight Fit – Explicit short description Template:GetShortDescription/explicit short description (ESD), Tight Fit – Explicit short description
[[:Template:GetShortDescription/explicit short description|Template:GetShortDescription/explicit short description]] (<abbr>ESD</abbr>), [[Tight Fit]]&nbsp;– Explicit short description [[:Template:GetShortDescription/explicit short description|Template:GetShortDescription/explicit short description]] (<abbr>ESD</abbr>), [[Tight Fit]]&nbsp;– Explicit short description
test__aka__aka_lang_ja
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/no explicit short description|aka=フレッドのテストページ|aka_lang=ja}} Template:GetShortDescription/no explicit short description, also known as フレッドのテストページ Template:GetShortDescription/no explicit short description, also known as フレッドのテストページ
[[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]], also known as <span title="Japanese-language text"><span lang="ja">フレッドのテストページ</span></span> [[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]], also known as <span title="Japanese-language text"><span lang="ja">フレッドのテストページ</span></span>
test__aka__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/no explicit short description|aka=Fred's test page}} Template:GetShortDescription/no explicit short description, also known as Fred's test page Template:GetShortDescription/no explicit short description, also known as Fred's test page
test__aka__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|aka=Fred's test page}} Template:GetShortDescription/explicit short description, also known as Fred's test page – Explicit short description Template:GetShortDescription/explicit short description, also known as Fred's test page – Explicit short description
test__aka__wedge__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/no explicit short description|aka=Fred's test page|wedge=[[Tight Fit]]}} Template:GetShortDescription/no explicit short description, also known as Fred's test page, Tight Fit Template:GetShortDescription/no explicit short description, also known as Fred's test page, Tight Fit
test__aka__wedge__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|aka=Fred's test page|wedge=[[Tight Fit]]}} Template:GetShortDescription/explicit short description, also known as Fred's test page, Tight Fit – Explicit short description Template:GetShortDescription/explicit short description, also known as Fred's test page, Tight Fit – Explicit short description
test__categorise_no_space_descriptions
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description with no spaces}} [[:Template:GetShortDescription/explicit short description with no spaces|Template:GetShortDescription/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]] [[:Template:GetShortDescription/explicit short description with no spaces|Template:GetShortDescription/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]]
test__categorise_no_space_descriptions__space_cat
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description with no spaces|space_cat=meow}} Template:GetShortDescription/explicit short description with no spaces – Spacelessness Template:GetShortDescription/explicit short description with no spaces – Spacelessness
test__dash_value_comma
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|dash=,}} Template:GetShortDescription/explicit short description, Explicit short description Template:GetShortDescription/explicit short description, Explicit short description
test__desc_first_letter_case_upper
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|desc_first_letter_case=upper}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__display__link_lang_fr
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/no explicit short description|display=La page de test de Fred|link_lang=fr}} La page de test de Fred La page de test de Fred
<span title="French-language text"><i lang="fr">[[:Template:GetShortDescription/no explicit short description|La page de test de Fred]]</i></span> <span title="French-language text"><i lang="fr">[[:Template:GetShortDescription/no explicit short description|La page de test de Fred]]</i></span>
test__display__quote__link_lang_fr
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/no explicit short description|display=La page de test de Fred|quote=yes|link_lang=fr}} "La page de test de Fred" "La page de test de Fred"
"<span title="French-language text"><i lang="fr">[[:Template:GetShortDescription/no explicit short description|La page de test de Fred]]</i></span>" "<span title="French-language text"><i lang="fr">[[:Template:GetShortDescription/no explicit short description|La page de test de Fred]]</i></span>"
test__display__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/no explicit short description|display=Test page}} Test page Test page
test__display__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|display=Test page}} Test page – Explicit short description Test page – Explicit short description
test__link_lang_en
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/no explicit short description|link_lang=en}} Template:GetShortDescription/no explicit short description Template:GetShortDescription/no explicit short description
test__mixed_language
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/no explicit short description|display=La page de test de Fred|link_lang=fr|aka=フレッドのテストページ|aka_lang=ja|wedge=Leathanach tástála Fred|wedge_lang=ga}} La page de test de Fred, also known as フレッドのテストページ, Leathanach tástála Fred La page de test de Fred, also known as フレッドのテストページ, Leathanach tástála Fred
<span title="French-language text"><i lang="fr">[[:Template:GetShortDescription/no 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> <span title="French-language text"><i lang="fr">[[:Template:GetShortDescription/no 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>
test__no_abbr__no_abbr_title_value
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|abbr=|abbr_title=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_abbr_value
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|abbr=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_abbr_value__abbr_title
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|abbr=|abbr_title=Abbreviation}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_aka_lang_value
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|aka_lang=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_aka_value
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|aka=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_dash_value
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|dash=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_desc_first_letter_case_value
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|desc_first_letter_case=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_display_value
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|display=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_fallback_value
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/no explicit short description|fallback=}} Template:GetShortDescription/no explicit short description Template:GetShortDescription/no explicit short description
test__no_link_lang_value
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|link_lang=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_name_param
Text Expected Actual
checkY {{#invoke:Annotated link|main}} <span style="color:#d33">[[Module:Annotated link]] requires a page name (including namespace).</span>[[Category:Pages displaying alarming messages about Module: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]]
test__no_name_value
Text Expected Actual
checkY {{#invoke:Annotated link|main|name=}} <span style="color:#d33">[[Module:Annotated link]] requires a page name (including namespace).</span>[[Category:Pages displaying alarming messages about Module: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]]
test__no_only_value
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|only=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_prefer_value
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|prefer=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_quote_value
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|quote=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_unknown_value
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|unknown=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_wedge_lang_value
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|wedge_lang=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_wedge_value
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|wedge=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__nonexistent_page_name
Text Expected Actual
checkY {{#invoke:Annotated link|main|name=Intentionally permanent red link}} Intentionally permanent red link Intentionally permanent red link
test__only_explicit__explicit_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/no explicit short description|only=explicit}} Template:GetShortDescription/no explicit short description Template:GetShortDescription/no explicit short description
test__only_explicit__explicit_does_not_exist__wikidata_exists
Text Expected Actual
checkY {{#invoke:Annotated link|main|name=Example|prefer=explicit}} [[:Example|Example]]&nbsp;– Wikimedia disambiguation 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]] [[:Example|Example]]&nbsp;– Wikimedia disambiguation 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]]
test__only_explicit__explicit_exists
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|only=explicit}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__only_explicit__explicit_exists__wikidata_exists
Text Expected Actual
checkY {{#invoke:Annotated link|main|name=Wikipedia|prefer=explicit}} Wikipedia – Free online crowdsourced encyclopedia Wikipedia – Free online crowdsourced encyclopedia
test__only_explicit__fallback__explicit_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/no explicit short description|only=explicit|fallback=this is a fallback}} Template:GetShortDescription/no explicit short description – this is a fallback Template:GetShortDescription/no explicit short description – this is a fallback
test__only_wikidata__fallback__wikidata_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|only=wikidata|fallback=this is a fallback}} Template:GetShortDescription/explicit short description – this is a fallback Template:GetShortDescription/explicit short description – this is a fallback
test__only_wikidata__wikidata_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|only=wikidata}} Template:GetShortDescription/explicit short description Template:GetShortDescription/explicit short description
test__only_wikidata__wikidata_does_not_exist__explicit_exists
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|prefer=wikidata}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__only_wikidata__wikidata_exists
Text Expected Actual
checkY {{#invoke:Annotated link|main|name=Wikipedia|only=wikidata}} Wikipedia – free multilingual online encyclopedia Wikipedia – free multilingual online encyclopedia
test__only_wikidata__wikidata_exists__explicit_exists
Text Expected Actual
checkY {{#invoke:Annotated link|main|name=Wikipedia|prefer=wikidata}} Wikipedia – free multilingual online encyclopedia Wikipedia – free multilingual online encyclopedia
test__prefix_parentheses
Text Expected Actual
checkY {{#invoke:Annotated_link|main|name=Jimmy Wales|dash=,|prefix_parentheses=y|desc_first_letter_case=lower}} Jimmy Wales (born 1966), co-founder of Wikipedia Jimmy Wales (born 1966), co-founder of Wikipedia
checkY {{#invoke:Annotated_link|main|name=Jimmy Wales|dash=,|desc_first_letter_case=lower}} Jimmy Wales, co-founder of Wikipedia (born 1966) Jimmy Wales, co-founder of Wikipedia (born 1966)
test__quote__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/no explicit short description|quote=yes}} "Template:GetShortDescription/no explicit short description" "Template:GetShortDescription/no explicit short description"
test__quote__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|quote=yes}} "Template:GetShortDescription/explicit short description" – Explicit short description "Template:GetShortDescription/explicit short description" – Explicit short description
test__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/no explicit short description}} Template:GetShortDescription/no explicit short description Template:GetShortDescription/no explicit short description
test__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__template_link__only_explicit
Text Expected Actual
checkY {{#invoke:Annotated link|main|name=Template:Annotated link|only=explicit}} {{Annotated link}} {{Annotated link}}
test__template_link_code__only_explicit
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=code|name=Template:annotated link|only=explicit}} {{annotated link}} {{annotated link}}
test__template_link_no__display__only_explicit
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:Annotated link|display=Annotated link|only=explicit}} Annotated link Annotated link
test__template_link_no__only_explicit
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:Annotated link|only=explicit}} Template:Annotated link Template:Annotated link
test__unknown_value
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|unknown=unknown}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__wedge__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/no explicit short description|wedge=[[Tight Fit]]}} Template:GetShortDescription/no explicit short description, Tight Fit Template:GetShortDescription/no explicit short description, Tight Fit
test__wedge__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/explicit short description|wedge=[[Tight Fit]]}} Template:GetShortDescription/explicit short description, Tight Fit – Explicit short description Template:GetShortDescription/explicit short description, Tight Fit – Explicit short description
test__wedge__wedge_lang_ga
Text Expected Actual
checkY {{#invoke:Annotated link|main|template_link=no|name=Template:GetShortDescription/no explicit short description|wedge=Leathanach tástála Fred|wedge_lang=ga}} Template:GetShortDescription/no explicit short description, Leathanach tástála Fred Template:GetShortDescription/no explicit short description, Leathanach tástála Fred
[[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]], <span title="Irish-language text"><i lang="ga">Leathanach tástála Fred</i></span> [[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]], <span title="Irish-language text"><i lang="ga">Leathanach tástála Fred</i></span>


Sandbox

[edit]

Sandbox tests at Module:Annotated link/sandbox/testcases

All 68 tests passed.

test__abbr__abbr_title__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/no explicit short description|abbr=NESD|abbr_title=No Explicit Short Description}} Template:GetShortDescription/no explicit short description (NESD) Template:GetShortDescription/no explicit short description (NESD)
[[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]] (<abbr title="No Explicit Short Description">NESD</abbr>) [[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]] (<abbr title="No Explicit Short Description">NESD</abbr>)
test__abbr__abbr_title__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|abbr=ESD|abbr_title=Explicit Short Description}} Template:GetShortDescription/explicit short description (ESD) – Explicit short description Template:GetShortDescription/explicit short description (ESD) – Explicit short description
[[:Template:GetShortDescription/explicit short description|Template:GetShortDescription/explicit short description]] (<abbr title="Explicit Short Description">ESD</abbr>)&nbsp;– Explicit short description [[:Template:GetShortDescription/explicit short description|Template:GetShortDescription/explicit short description]] (<abbr title="Explicit Short Description">ESD</abbr>)&nbsp;– Explicit short description
test__abbr__aka__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/no explicit short description|abbr=NESD|aka=Fred's test page}} Template:GetShortDescription/no explicit short description (NESD), also known as Fred's test page Template:GetShortDescription/no explicit short description (NESD), also known as Fred's test page
[[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]] (<abbr>NESD</abbr>), also known as Fred's test page [[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]] (<abbr>NESD</abbr>), also known as Fred's test page
test__abbr__aka__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|abbr=ESD|aka=Fred's test page}} Template:GetShortDescription/explicit short description (ESD), also known as Fred's test page – Explicit short description Template:GetShortDescription/explicit short description (ESD), also known as Fred's test page – Explicit short description
[[:Template:GetShortDescription/explicit short description|Template:GetShortDescription/explicit short description]] (<abbr>ESD</abbr>), also known as Fred's test page&nbsp;– Explicit short description [[:Template:GetShortDescription/explicit short description|Template:GetShortDescription/explicit short description]] (<abbr>ESD</abbr>), also known as Fred's test page&nbsp;– Explicit short description
test__abbr__aka__wedge__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/no explicit short description|abbr=NESD|aka=Fred's test page|wedge=[[Tight Fit]]}} Template:GetShortDescription/no explicit short description (NESD), also known as Fred's test page, Tight Fit Template:GetShortDescription/no explicit short description (NESD), also known as Fred's test page, Tight Fit
[[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]] (<abbr>NESD</abbr>), also known as Fred's test page, [[Tight Fit]] [[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]] (<abbr>NESD</abbr>), also known as Fred's test page, [[Tight Fit]]
test__abbr__aka__wedge__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|abbr=ESD|aka=Fred's test page|wedge=[[Tight Fit]]}} Template:GetShortDescription/explicit short description (ESD), also known as Fred's test page, Tight Fit – Explicit short description Template:GetShortDescription/explicit short description (ESD), also known as Fred's test page, Tight Fit – Explicit short description
[[:Template:GetShortDescription/explicit short description|Template:GetShortDescription/explicit short description]] (<abbr>ESD</abbr>), also known as Fred's test page, [[Tight Fit]]&nbsp;– Explicit short description [[:Template:GetShortDescription/explicit short description|Template:GetShortDescription/explicit short description]] (<abbr>ESD</abbr>), also known as Fred's test page, [[Tight Fit]]&nbsp;– Explicit short description
test__abbr__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/no explicit short description|abbr=NESD}} Template:GetShortDescription/no explicit short description (NESD) Template:GetShortDescription/no explicit short description (NESD)
[[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]] (<abbr>NESD</abbr>) [[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]] (<abbr>NESD</abbr>)
test__abbr__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|abbr=ESD}} Template:GetShortDescription/explicit short description (ESD) – Explicit short description Template:GetShortDescription/explicit short description (ESD) – Explicit short description
[[:Template:GetShortDescription/explicit short description|Template:GetShortDescription/explicit short description]] (<abbr>ESD</abbr>)&nbsp;– Explicit short description [[:Template:GetShortDescription/explicit short description|Template:GetShortDescription/explicit short description]] (<abbr>ESD</abbr>)&nbsp;– Explicit short description
test__abbr__wedge__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/no explicit short description|abbr=NESD|wedge=[[Tight Fit]]}} Template:GetShortDescription/no explicit short description (NESD), Tight Fit Template:GetShortDescription/no explicit short description (NESD), Tight Fit
[[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]] (<abbr>NESD</abbr>), [[Tight Fit]] [[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]] (<abbr>NESD</abbr>), [[Tight Fit]]
test__abbr__wedge__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|abbr=ESD|wedge=[[Tight Fit]]}} Template:GetShortDescription/explicit short description (ESD), Tight Fit – Explicit short description Template:GetShortDescription/explicit short description (ESD), Tight Fit – Explicit short description
[[:Template:GetShortDescription/explicit short description|Template:GetShortDescription/explicit short description]] (<abbr>ESD</abbr>), [[Tight Fit]]&nbsp;– Explicit short description [[:Template:GetShortDescription/explicit short description|Template:GetShortDescription/explicit short description]] (<abbr>ESD</abbr>), [[Tight Fit]]&nbsp;– Explicit short description
test__aka__aka_lang_ja
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/no explicit short description|aka=フレッドのテストページ|aka_lang=ja}} Template:GetShortDescription/no explicit short description, also known as フレッドのテストページ Template:GetShortDescription/no explicit short description, also known as フレッドのテストページ
[[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]], also known as <span title="Japanese-language text"><span lang="ja">フレッドのテストページ</span></span> [[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]], also known as <span title="Japanese-language text"><span lang="ja">フレッドのテストページ</span></span>
test__aka__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/no explicit short description|aka=Fred's test page}} Template:GetShortDescription/no explicit short description, also known as Fred's test page Template:GetShortDescription/no explicit short description, also known as Fred's test page
test__aka__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|aka=Fred's test page}} Template:GetShortDescription/explicit short description, also known as Fred's test page – Explicit short description Template:GetShortDescription/explicit short description, also known as Fred's test page – Explicit short description
test__aka__wedge__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/no explicit short description|aka=Fred's test page|wedge=[[Tight Fit]]}} Template:GetShortDescription/no explicit short description, also known as Fred's test page, Tight Fit Template:GetShortDescription/no explicit short description, also known as Fred's test page, Tight Fit
test__aka__wedge__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|aka=Fred's test page|wedge=[[Tight Fit]]}} Template:GetShortDescription/explicit short description, also known as Fred's test page, Tight Fit – Explicit short description Template:GetShortDescription/explicit short description, also known as Fred's test page, Tight Fit – Explicit short description
test__categorise_no_space_descriptions
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description with no spaces}} [[:Template:GetShortDescription/explicit short description with no spaces|Template:GetShortDescription/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]] [[:Template:GetShortDescription/explicit short description with no spaces|Template:GetShortDescription/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]]
test__categorise_no_space_descriptions__space_cat
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description with no spaces|space_cat=meow}} Template:GetShortDescription/explicit short description with no spaces – Spacelessness Template:GetShortDescription/explicit short description with no spaces – Spacelessness
test__dash_value_comma
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|dash=,}} Template:GetShortDescription/explicit short description, Explicit short description Template:GetShortDescription/explicit short description, Explicit short description
test__desc_first_letter_case_upper
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|desc_first_letter_case=upper}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__display__link_lang_fr
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/no explicit short description|display=La page de test de Fred|link_lang=fr}} La page de test de Fred La page de test de Fred
<span title="French-language text"><i lang="fr">[[:Template:GetShortDescription/no explicit short description|La page de test de Fred]]</i></span> <span title="French-language text"><i lang="fr">[[:Template:GetShortDescription/no explicit short description|La page de test de Fred]]</i></span>
test__display__quote__link_lang_fr
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/no explicit short description|display=La page de test de Fred|quote=yes|link_lang=fr}} "La page de test de Fred" "La page de test de Fred"
"<span title="French-language text"><i lang="fr">[[:Template:GetShortDescription/no explicit short description|La page de test de Fred]]</i></span>" "<span title="French-language text"><i lang="fr">[[:Template:GetShortDescription/no explicit short description|La page de test de Fred]]</i></span>"
test__display__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/no explicit short description|display=Test page}} Test page Test page
test__display__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|display=Test page}} Test page – Explicit short description Test page – Explicit short description
test__link_lang_en
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/no explicit short description|link_lang=en}} Template:GetShortDescription/no explicit short description Template:GetShortDescription/no explicit short description
test__mixed_language
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/no explicit short description|display=La page de test de Fred|link_lang=fr|aka=フレッドのテストページ|aka_lang=ja|wedge=Leathanach tástála Fred|wedge_lang=ga}} La page de test de Fred, also known as フレッドのテストページ, Leathanach tástála Fred La page de test de Fred, also known as フレッドのテストページ, Leathanach tástála Fred
<span title="French-language text"><i lang="fr">[[:Template:GetShortDescription/no 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> <span title="French-language text"><i lang="fr">[[:Template:GetShortDescription/no 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>
test__no_abbr__no_abbr_title_value
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|abbr=|abbr_title=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_abbr_value
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|abbr=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_abbr_value__abbr_title
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|abbr=|abbr_title=Abbreviation}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_aka_lang_value
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|aka_lang=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_aka_value
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|aka=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_dash_value
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|dash=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_desc_first_letter_case_value
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|desc_first_letter_case=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_display_value
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|display=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_fallback_value
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/no explicit short description|fallback=}} Template:GetShortDescription/no explicit short description Template:GetShortDescription/no explicit short description
test__no_link_lang_value
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|link_lang=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_name_param
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main}} <span style="color:#d33">[[Module:Annotated link]] requires a page name (including namespace).</span>[[Category:Pages displaying alarming messages about Module: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]]
test__no_name_value
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|name=}} <span style="color:#d33">[[Module:Annotated link]] requires a page name (including namespace).</span>[[Category:Pages displaying alarming messages about Module: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]]
test__no_only_value
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|only=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_prefer_value
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|prefer=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_quote_value
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|quote=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_unknown_value
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|unknown=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_wedge_lang_value
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|wedge_lang=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__no_wedge_value
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|wedge=}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__nonexistent_page_name
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|name=Intentionally permanent red link}} Intentionally permanent red link Intentionally permanent red link
test__only_explicit__explicit_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/no explicit short description|only=explicit}} Template:GetShortDescription/no explicit short description Template:GetShortDescription/no explicit short description
test__only_explicit__explicit_does_not_exist__wikidata_exists
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|name=Example|prefer=explicit}} [[:Example|Example]]&nbsp;– Wikimedia disambiguation 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]] [[:Example|Example]]&nbsp;– Wikimedia disambiguation 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]]
test__only_explicit__explicit_exists
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|only=explicit}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__only_explicit__explicit_exists__wikidata_exists
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|name=Wikipedia|prefer=explicit}} Wikipedia – Free online crowdsourced encyclopedia Wikipedia – Free online crowdsourced encyclopedia
test__only_explicit__fallback__explicit_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/no explicit short description|only=explicit|fallback=this is a fallback}} Template:GetShortDescription/no explicit short description – this is a fallback Template:GetShortDescription/no explicit short description – this is a fallback
test__only_wikidata__fallback__wikidata_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|only=wikidata|fallback=this is a fallback}} Template:GetShortDescription/explicit short description – this is a fallback Template:GetShortDescription/explicit short description – this is a fallback
test__only_wikidata__wikidata_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|only=wikidata}} Template:GetShortDescription/explicit short description Template:GetShortDescription/explicit short description
test__only_wikidata__wikidata_does_not_exist__explicit_exists
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|prefer=wikidata}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__only_wikidata__wikidata_exists
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|name=Wikipedia|only=wikidata}} Wikipedia – free multilingual online encyclopedia Wikipedia – free multilingual online encyclopedia
test__only_wikidata__wikidata_exists__explicit_exists
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|name=Wikipedia|prefer=wikidata}} Wikipedia – free multilingual online encyclopedia Wikipedia – free multilingual online encyclopedia
test__prefix_parentheses
Text Expected Actual
checkY {{#invoke:Annotated_link|main|name=Jimmy Wales|dash=,|prefix_parentheses=y|desc_first_letter_case=lower}} Jimmy Wales (born 1966), co-founder of Wikipedia Jimmy Wales (born 1966), co-founder of Wikipedia
checkY {{#invoke:Annotated_link|main|name=Jimmy Wales|dash=,|desc_first_letter_case=lower}} Jimmy Wales, co-founder of Wikipedia (born 1966) Jimmy Wales, co-founder of Wikipedia (born 1966)
test__quote__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/no explicit short description|quote=yes}} "Template:GetShortDescription/no explicit short description" "Template:GetShortDescription/no explicit short description"
test__quote__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|quote=yes}} "Template:GetShortDescription/explicit short description" – Explicit short description "Template:GetShortDescription/explicit short description" – Explicit short description
test__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/no explicit short description}} Template:GetShortDescription/no explicit short description Template:GetShortDescription/no explicit short description
test__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__template_link__only_explicit
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|name=Template:Annotated link|only=explicit}} {{Annotated link}} {{Annotated link}}
test__template_link_code__only_explicit
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=code|name=Template:annotated link|only=explicit}} {{annotated link}} {{annotated link}}
test__template_link_no__display__only_explicit
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:Annotated link|display=Annotated link|only=explicit}} Annotated link Annotated link
test__template_link_no__only_explicit
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:Annotated link|only=explicit}} Template:Annotated link Template:Annotated link
test__unknown_value
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|unknown=unknown}} Template:GetShortDescription/explicit short description – Explicit short description Template:GetShortDescription/explicit short description – Explicit short description
test__wedge__short_description_does_not_exist
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/no explicit short description|wedge=[[Tight Fit]]}} Template:GetShortDescription/no explicit short description, Tight Fit Template:GetShortDescription/no explicit short description, Tight Fit
test__wedge__short_description_exists
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/explicit short description|wedge=[[Tight Fit]]}} Template:GetShortDescription/explicit short description, Tight Fit – Explicit short description Template:GetShortDescription/explicit short description, Tight Fit – Explicit short description
test__wedge__wedge_lang_ga
Text Expected Actual
checkY {{#invoke:Annotated link/sandbox|main|template_link=no|name=Template:GetShortDescription/no explicit short description|wedge=Leathanach tástála Fred|wedge_lang=ga}} Template:GetShortDescription/no explicit short description, Leathanach tástála Fred Template:GetShortDescription/no explicit short description, Leathanach tástála Fred
[[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]], <span title="Irish-language text"><i lang="ga">Leathanach tástála Fred</i></span> [[:Template:GetShortDescription/no explicit short description|Template:GetShortDescription/no explicit short description]], <span title="Irish-language text"><i lang="ga">Leathanach tástála Fred</i></span>