跳至內容

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