模板: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 }}