Template:Sister project links/testcases
这是Template:Sister project links及其沙盒的测试样例。刷新本页以更新内容。 如果这里有许多复杂的模板的用例,可能会因为MediaWiki的技术限制而出错。 您还可以用Special:展开模板来测试模板的使用效果。 您可以通过以下链接测试本模板在不同皮肤下的效果: |
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
all named arguments set to yes
all named arguments set to no
Only commons link
Only commonscat link
Display with single link
Only wikispecies
After floats
Test commonscat
commons provided, commonscat no
commons provided, commonscat yes
commons has category, commonscat is category
no commons, commonscat no
no commons, commonscat yes
With Ursus maritimus metadata
commonscat yes
commonscat no
commons yes
commons no
commons Angola
Test auto
Alabama no auto
Alabama auto
Alabama auto no qid
{{Sister project links}} | {{Sister project links/sandbox}} | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Alabama no auto no qid
Abraham Lincoln no auto
Abraham Lincoln auto
Abraham Lincoln auto no qid
{{Sister project links}} | {{Sister project links/sandbox}} | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Abraham Lincoln no auto no qid
Test wikispecies
auto default
species default, without QID
species default, with QID
species specified
author default, with QID
author default, without QID
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
species no, author no, auto
{{Sister project links}} | {{Sister project links/sandbox}} | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Test cookbook
From wikidata
cookbook specified
cookbook implicit
cookbook namespace used
cookbook search
{{Sister project links}} | {{Sister project links/sandbox}} | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Test wikisource author
Colin Powell
Leon Trotsky
Test single sister
Single commons
Single cookbook
Single iw
Test interwiki
Esperanto
Karnataka
{{Sister project links}} | {{Sister project links/sandbox}} | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Belarusian (multiple iw)
{{Sister project links}} | {{Sister project links/sandbox}} | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Test junk search
sdfjoisfj auto=0
sdfjoisfj auto=1
{{Sister project links}} | {{Sister project links/sandbox}} | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|