跳转到内容

Template:Sister project links/testcases

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

Note: Sandbox CSS classes have different names than the Main CSS Classes, due to technical limitations in {{test case}}. The sandbox and main will display correctly, but will be flagged as different due to these different names. You will have to manually inspect each test case for correctness.

No parameters

[编辑]
no parameters
左右对比
{{Sister project links}}{{Sister project links/sandbox}}

With parameters

[编辑]
plain
{{Sister project links |m=Category:Categories |d=Category:Contents |voy=Category:Project |commons=Category:CommonsRoot |b=Category:Categories |n=Category:Categories |q=Category:Categories |s=Category:Categories |wikt=Category:Fundamental |v=Category:Categories |mw=Category:Languages |species=Category:Categories}}
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
collapsible
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
all named arguments set to yes
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
all named arguments set to no
Only commons link
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
Only commonscat link
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
Display with single link
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
Only wikispecies
左右对比
{{Sister project links}}{{Sister project links/sandbox}}

After floats

[编辑]

{{Sister project links}}

Right float

{{Sister project links/sandbox}}

Right float

Test commonscat

[编辑]
commons provided, commonscat no
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
commons provided, commonscat yes
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
commons has category, commonscat is category
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
no commons, commonscat no
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
no commons, commonscat yes
左右对比
{{Sister project links}}{{Sister project links/sandbox}}

With Ursus maritimus metadata

[编辑]
commonscat yes
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
commonscat no
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
commons yes
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
commons no
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
commons Angola
左右对比
{{Sister project links}}{{Sister project links/sandbox}}

Test auto

[编辑]
Alabama no auto
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
Alabama auto
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
Alabama auto no qid
Alabama no auto no qid
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
Abraham Lincoln no auto
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
Abraham Lincoln auto
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
Abraham Lincoln auto no qid
Abraham Lincoln no auto no qid
左右对比
{{Sister project links}}{{Sister project links/sandbox}}

Test wikispecies

[编辑]
auto default
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
species default, without QID
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
species default, with QID
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
species specified
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
author default, with QID
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
author default, without QID
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
author specified
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
both species and author specified
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
species blank, author no, auto
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
species no, author no, auto
左右对比
{{Sister project links}}{{Sister project links/sandbox}}

Test cookbook

[编辑]
From wikidata
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
cookbook specified
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
cookbook implicit
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
cookbook namespace used
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
cookbook search
左右对比
{{Sister project links}}{{Sister project links/sandbox}}

Test wikisource author

[编辑]
Colin Powell
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
Leon Trotsky
左右对比
{{Sister project links}}{{Sister project links/sandbox}}

Test single sister

[编辑]
Single commons
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
Single cookbook
左右对比
{{Sister project links}}{{Sister project links/sandbox}}

Test interwiki

[编辑]
Esperanto
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
Karnataka
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
Belarusian (multiple iw)
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
[编辑]
sdfjoisfj auto=0
左右对比
{{Sister project links}}{{Sister project links/sandbox}}
sdfjoisfj auto=1