This is the template test cases page for the sandbox of Template:Subject bar. 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: |
Blank
One portal
Portal1
Portal parameter overriding portal1
Two portals
Sister projects
{{Subject bar|b=y |commons=y |commons-search=Category:Lemur catta |n=y |q=y |s=y |species=y |species-search=Lemur catta |v=y |voy=y |voy-search=Madagascar |wikt=y |wikt-search=Lemur}}
{{Subject bar}}
Sister projects with whitespace
{{Subject bar|b=y |commons=y |commons-search=Category:Lemur catta |n=y |q=y |s=y |species=y |species-search=Lemur catta |v=y |voy=y |voy-search=Madagascar |wikt=y |wikt-search=Lemur}}
{{Subject bar}}
Sister projects with wikidata lookup
{{Subject bar|b=y |commons=y |n=y |q=y |qid=Q185385 |s=y |species=y |v=y |voy=y |wikt=y |wikt-search=Lemur}}
{{Subject bar}}
Sister projects with auto=1
Sister projects with search override
{{Subject bar|b=y |commons=y |n=y |q=y |qid=Q185385 |s=y |search=King Julien |species=y |v=y |voy=y |wikt=y}}
{{Subject bar}}
Sister projects with display override
Portals and sister projects
{{Subject bar|b=y |commons=y |commons-search=Category:Lemur catta |n=y |portal=Primates |portal2=Madagascar |q=y |s=y |species=y |species-search=Lemur catta |v=y |voy=y |voy-search=Madagascar |wikt=y |wikt-search=Lemur}}
{{Subject bar}}
Positional arguments
{{Subject bar|Australia|Biography|Japan|Korea|Olympics|Philippines|United States|United States Army|World War I}}
{{Subject bar}}
Strange portal alignment
{{Subject bar|commons=y |portal1=Australia |portal10=World War II |portal2=Biography |portal3=Japan |portal4=Korea |portal5=Olympics |portal6=Philippines |portal7=United States |portal8=United States Army |portal9=World War I |q=y |s=y}}
{{Subject bar}}
Commonscat
Adjacent navboxes
{{Czech Republic topics}} {{Subject bar|auto=1|qid=Q214|portal1=Czech Republic|portal2=Slovakia}} {{Authority control|qid=Q214}}
{{Subject bar}}
All no