Template:Interlanguage link info/testcases: Difference between revisions

Content deleted Content added
Establish basic tests
 
Add lang code test cases with 'small'.
 
(2 intermediate revisions by 2 users not shown)
Line 1:
{{Testcases notice <!--|toc=on-->}}
 
{{Test case|_collapsible=yes|_showcode=yes|_title=Test1Defaults
}}
 
{{Test case|_collapsible=yes|_showcode=yes|_title=TestSection
|section=yes}}
 
{{Test case|_collapsible=yes|_showcode=yes|_title=TestAlternative text
|section=test}}
 
{{Test case|_collapsible=yes|_showcode=yes|_title=TestPage header small - should not differ
|small=left}}
 
{{Test case|_collapsible=yes|_showcode=yes|_title=TestSection small - should reduce
|section=yes|small=left}}
 
{{cot|bg=cornsilk|Six lang code tests}}
{{Test case|_collapsible=yes|_showcode=yes|_title=One lang code
|lang=fr}}
 
{{Test case|_collapsible=yes|_showcode=yes|_title=A different lang code
|lang=de}}
 
{{Test case|_collapsible=yes|_showcode=yes|_title=And another lang code
|lang=hr}}
 
{{Test case|_collapsible=yes|_showcode=yes|_title=Invalid lang code is okay
|lang=xx}}
 
{{Test case|_collapsible=yes|_showcode=yes|_title=article/section + 1 lang code as arg2
|article|fr}}
 
{{Test case|_collapsible=yes|_showcode=yes|_title=section/article + different lang code as arg2
|section|de}}
 
{{Test case|_collapsible=yes|_showcode=yes|_title=articlel + invalid lang code is okay
|article|xx}}
{{cob}}
 
{{cot|bg=cornsilk|Lang code tests with 'small'}}
{{Test case|_collapsible=yes|_showcode=yes|_title=One lang code
|small=left |lang=fr}}
 
{{Test case|_collapsible=yes|_showcode=yes|_title=A different lang code
|small=left |lang=de}}
 
{{Test case|_collapsible=yes|_showcode=yes|_title=And another lang code
|small=left |lang=hr}}
 
{{Test case|_collapsible=yes|_showcode=yes|_title=Invalid lang code is okay
|small=left |lang=xx}}
 
{{Test case|_collapsible=yes|_showcode=yes|_title=article/section + 1 lang code as arg2
|article|fr|small=left }}
 
{{Test case|_collapsible=yes|_showcode=yes|_title=section/article + different lang code as arg2
|section|de|small=left }}
 
{{Test case|_collapsible=yes|_showcode=yes|_title=articlel + invalid lang code is okay
|article|xx|small=left }}
{{cob}}
<!--
{{clear}}