模板: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
{{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
{{Sister project links}} | {{Sister project links/sandbox}} |
---|---|
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
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
{{Sister project links}} | {{Sister project links/sandbox}} |
---|---|
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
{{Sister project links}} | {{Sister project links/sandbox}} |
---|---|
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}} |
---|---|
Single iw
{{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}} |
---|---|
Test junk search
sdfjoisfj auto=0
{{Sister project links}} | {{Sister project links/sandbox}} |
---|---|
sdfjoisfj auto=1
{{Sister project links}} | {{Sister project links/sandbox}} |
---|---|