Template:Subject bar/testcases
这是Template:Subject bar及其沙盒的测试样例。刷新本页以更新内容。 如果这里有许多复杂的模板的用例,可能会因为MediaWiki的技术限制而出错。 您还可以用Special:展开模板来测试模板的使用效果。 您可以通过以下链接测试本模板在不同皮肤下的效果: |
Blank
[编辑]Main
{{subject bar}}
Sandbox
{{subject bar/sandbox}}
Book
[编辑]Main
{{subject bar|book=Lemurs}}
Sandbox
{{subject bar/sandbox|book=Lemurs}}
Book1
[编辑]Main
{{subject bar|book1=Lemurs}}
Sandbox
{{subject bar/sandbox|book1=Lemurs}}
Book overrides book1
[编辑]Main
{{subject bar|book=Lemurs|book1=Subfossil lemurs}}
Sandbox
{{subject bar/sandbox|book=Lemurs|book1=Subfossil lemurs}}
Two books
[编辑]Main
{{subject bar|book=Lemurs|book2=Subfossil lemurs}}
Sandbox
{{subject bar/sandbox|book=Lemurs|book2=Subfossil lemurs}}
Small gap between book numbers
[编辑]Main
{{subject bar|book=Lemurs|book5=Subfossil lemurs}}
Sandbox
{{subject bar/sandbox|book=Lemurs|book5=Subfossil lemurs}}
Large gap between book numbers
[编辑]Main
{{subject bar|book=Lemurs|book25=Subfossil lemurs}}
Sandbox
{{subject bar/sandbox|book=Lemurs|book25=Subfossil lemurs}}
Book100
[编辑]Main
{{subject bar|book100=Lemurs}}
Sandbox
{{subject bar/sandbox|book100=Lemurs}}
Long book title
[编辑]Main
{{subject bar|book1=Chemical elements (sorted alphabetically)|book2=Chemical elements (sorted by number)}}
Sandbox
{{subject bar/sandbox|book1=Chemical elements (sorted alphabetically)|book2=Chemical elements (sorted by number)}}
One portal
[编辑]Main
{{subject bar|portal=Primates}}
Sandbox
{{subject bar/sandbox|portal=Primates}}
Portal1
[编辑]Main
{{subject bar|portal1=Primates}}
Sandbox
{{subject bar/sandbox|portal1=Primates}}
Portal parameter overriding portal1
[编辑]Main
{{subject bar|portal=Primates|portal1=Madagascar}}
Sandbox
{{subject bar/sandbox|portal=Primates|portal1=Madagascar}}
Two portals
[编辑]Main
{{subject bar|portal=Primates|portal2=Madagascar}}
Sandbox
{{subject bar/sandbox|portal=Primates|portal2=Madagascar}}
Sister projects
[编辑]Main
{{subject bar|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}}
Sandbox
{{subject bar/sandbox|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}}
Sister projects with whitespace
[编辑]Main
{{subject bar|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 }}
Sandbox
{{subject bar/sandbox|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 }}
Books and portals
[编辑]Main
{{subject bar|book=Lemurs|book2=Subfossil lemurs|portal=Primates|portal2=Madagascar}}
Sandbox
{{subject bar/sandbox|book=Lemurs|book2=Subfossil lemurs|portal=Primates|portal2=Madagascar}}
Books and sister projects
[编辑]Main
{{subject bar|book=Lemurs|book2=Subfossil lemurs|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}}
Sandbox
{{subject bar/sandbox|book=Lemurs|book2=Subfossil lemurs|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}}
Portals and sister projects
[编辑]Main
{{subject bar|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}}
Sandbox
{{subject bar/sandbox|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}}
Books, portals and sister projects
[编辑]Main
{{subject bar|book=Lemurs|book2=Subfossil lemurs|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}}
Sandbox
{{subject bar/sandbox|book=Lemurs|book2=Subfossil lemurs|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}}
Strange portal alignment
[编辑]Main
{{subject bar |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 }}
Sandbox
{{subject bar/sandbox |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 }}