Template:Further interlanguage link/testcases
Appearance
This is the template test cases page for the sandbox of Template:Further interlanguage link. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
1. One interwiki link
{{Further interlanguage link|Ocean swell fairies|fr|Fée des houles}}
2a. Multiple links
{{Further interlanguage link|Geiseltal fossil bed|de|Fossillagerstätte Geiseltal|fr|Gisement de fossiles du Geiseltal|es|Yacimiento de Geiseltal}}
2b. Multiple; same name in English as in other languages
{{Further interlanguage link|Margarita Cueto|ca||es||pt}}
3a. Redirect (show blue link and a superscript note)
{{Further interlanguage link|Tropical Storm Zia|ja|平成11年台風第16号|zh|热带风暴思雅}}
3b. Redirect + 'lt' param (blue link; super note, lt param w/o interaction with redirect)
{{Further interlanguage link|Tropical Storm Zia|ja|平成11年台風第16号|zh|热带风暴思雅|lt=Typhoon Zia}}
4. Excess links (>3) don't throw an error but are ignored
{{Further interlanguage link|Luigi Madonis|ca||de||fi||it||kk|Луиджи Мадонис|ru|Мадонис, Луиджи}}
5. With 'topic' + one link
{{Further interlanguage link|Tropical Storm Zia|ja|平成11年台風第16号|topic=Storms in Japan}}
6. Multiple links + 'topic' + 'lt' param
{{Further interlanguage link|ArticleName|es|Página1#Sección uno|de|Seite2|ru|страница3|lt=Anchor-link |topic=Some Topic}}
7a. Baseline style (multiple links)
{{Further interlanguage link|Luigi Madonis|de||it||ru|Мадонис, Луиджи|vertical-align=baseline}}
7b. Subscript style (multiple links)
{{Further interlanguage link|Luigi Madonis|de||it||ru|Мадонис, Луиджи|vertical-align=sub}}
8a. Article already exists in English – interwiki links suppressed
{{Further interlanguage link|The Hague|nl|Den Haag|fr|La Haie|es|La Haya}}
8b. Article already exists in English – interwiki links displayed
{{Further interlanguage link|The Hague|nl|Den Haag|fr|La Haie|es|La Haya|display=1}}
9a. Article exists in English – blue link generated, interwiki links suppressed
{{Further interlanguage link|Fundamental laws of the Kingdom of France|fr|Lois fondamentales du royaume de France}}
title=9b. Redirect exists in English – redirect tagged (test case missing)
10. Missing required param 1 throws red error message
{{Further interlanguage link|Luigi Madonis}}
{{Further interlanguage link}}
Error: no interlanguage code specified. (help).{{Further interlanguage link/sandbox}}
Error: no interlanguage code specified. (help).