Template:Subject bar/testcases
{{template test cases notice}}
{{test case|_collapsible=yes|_showcode=yes|_title=Blank}}
{{test case|_collapsible=yes|_showcode=yes|_title=One portal|portal=Primates}}
{{test case|_collapsible=yes|_showcode=yes|_title=Portal1|portal1=Primates}}
{{test case|_collapsible=yes|_showcode=yes|_title=Portal parameter overriding portal1|portal=Primates|portal1=Madagascar}}
{{test case|_collapsible=yes|_showcode=yes|_title=Two portals|portal=Primates|portal2=Madagascar}}
{{test case|_collapsible=yes|_showcode=yes|_title=Sister projects|commons=y|commons-search=Category:Lemur catta|species=y|species-search=Lemur catta|n=y|wikt=y|wikt-search=Lemur|b=y|q=y|s=y|v=y|voy=y|voy-search=Madagascar}}
{{test case|_collapsible=yes|_showcode=yes|_title=Sister projects with whitespace|commons= y |commons-search= Category:Lemur catta |species= y |species-search= Lemur catta |n= y |wikt= y |wikt-search= Lemur |b= y |q= y |s= y |v= y |voy= y |voy-search= Madagascar }}
{{test case|_collapsible=yes|_showcode=yes|_title=Sister projects with wikidata lookup|qid=Q185385|commons=y|species=y|n=y|wikt=y|wikt-search=Lemur|b=y|q=y|s=y|v=y|voy=y}}
{{test case|_collapsible=yes|_showcode=yes|_title=Sister projects with auto=1|qid=Q185385|auto=1}}
{{test case|_collapsible=yes|_showcode=yes|_title=Sister projects with search override|qid=Q185385|search=King Julien|commons= y |species= y |n= y |wikt= y |b= y |q= y |s= y |v= y |voy= y}}
{{test case|_collapsible=yes|_showcode=yes|_title=Sister projects with display override|display=King Julien|qid=Q185385|auto=1}}
{{test case|_collapsible=yes|_showcode=yes|_title=Portals and sister projects|portal=Primates|portal2=Madagascar|commons=y|commons-search=Category:Lemur catta|species=y|species-search=Lemur catta|n=y|wikt=y|wikt-search=Lemur|b=y|q=y|s=y|v=y|voy=y|voy-search=Madagascar}}
{{test case|_collapsible=yes|_showcode=yes|_title=Positional arguments|Australia|Biography|Japan|Korea|Olympics|Philippines|United States|United States Army|World War I}}
{{test case|_collapsible=yes|_showcode=yes|_title=Strange portal alignment
|portal1=Australia
|portal2=Biography
|portal3=Japan
|portal4=Korea
|portal5=Olympics
|portal6=Philippines
|portal7=United States
|portal8=United States Army
|portal9=World War I
|portal10=World War II
|commons=y
|q=y
|s=y
}}
{{test case|_collapsible=yes|_showcode=yes|_title=Commonscat|commons=Lemur catta|commonscat=y}}
{{Test case nowiki|collapsible=yes|showcode=yes|title=Adjacent navboxes|
{{Czech Republic topics}}
{{__TEMPLATENAME__|auto=1|qid=Q214|portal1=Czech Republic|portal2=Slovakia}}
{{Authority control|qid=Q214}}
}}
{{test case|_collapsible=yes|_showcode=yes|_title=All no|c=n|q=n|s=n}}