跳转到内容

Template:Subject bar/testcases

维基百科,自由的百科全书

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
}}