Template:Sister bar/testcases

Template page


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 bar}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).

With parameters

plain
{{Sister bar |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 bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).
all named arguments set to yes
{{Sister bar|test|b=yes|commons=true|d=yes|m=y|mw=y|n=yes|q=y|s=Y|species=y|species_author=y|v=YES|voy=1|wikt=y}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).
all named arguments set to no
{{Sister bar|test|b=no|commons=false|d=no|m=n|mw=0|n=no|q=n|s=N|species=n|species_author=n|v=NO|voy=0|wikt=n}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).
Only commons link
{{Sister bar|test|b=no|commons=test|d=no|m=n|mw=0|n=no|q=n|s=N|species=n|species_author=n|v=NO|voy=0|wikt=n}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).
Only commonscat link
{{Sister bar|test|b=no|commons=test|commonscat=yes|d=no|m=n|mw=0|n=no|q=n|s=N|species=n|species_author=n|v=NO|voy=0|wikt=n}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).
Display with single link
{{Sister bar|test|b=no|commons=true|d=no|display=Bears|m=n|mw=0|n=no|q=n|s=N|species=n|species_author=n|v=NO|voy=0|wikt=n}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).
Only wikispecies
{{Sister bar|test|b=no|commons=false|d=no|m=n|mw=0|n=no|q=n|s=N|species=Testus chicagoensis|species_author=n|v=NO|voy=0|wikt=n}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).

Test commonscat

commons provided, commonscat no
{{Sister bar|Polar bear|commons=Ursus maritimus}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).
commons provided, commonscat yes
{{Sister bar|Polar bear|commons=Ursus maritimus|commonscat=y}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).
commons has category, commonscat is category
{{Sister bar|Polar bear|commons=Category:Ursus maritimus|commonscat=Category:Ursus maritimus}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).
no commons, commonscat no
{{Sister bar|Polar bear}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).
no commons, commonscat yes
{{Sister bar|Polar bear|commonscat=y}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).

With Ursus maritimus metadata

commonscat yes
{{Sister bar|Polar bear|commonscat=yes|d=y|qid=Q33609|species=yes}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 181: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 178: attempt to index field 'wikibase' (a nil value).
commonscat no
{{Sister bar|Polar bear|commonscat=no|d=y|qid=Q33609|species=yes}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 181: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 178: attempt to index field 'wikibase' (a nil value).
commons yes
{{Sister bar|Polar bear|commons=yes|d=y|qid=Q33609|species=yes}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 181: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 178: attempt to index field 'wikibase' (a nil value).
commons no
{{Sister bar|Polar bear|commons=no|d=y|qid=Q33609|species=yes}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 181: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 178: attempt to index field 'wikibase' (a nil value).
commons Angola
{{Sister bar|Polar bear|commons=Angola|d=y|qid=Q33609|species=yes}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 181: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 178: attempt to index field 'wikibase' (a nil value).

Test auto

Alabama no auto
{{Sister bar| Alabama |qid=Q173}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 181: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 178: attempt to index field 'wikibase' (a nil value).
Alabama auto
{{Sister bar| Alabama |auto=1|qid=Q173}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 181: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 178: attempt to index field 'wikibase' (a nil value).
Alabama auto no qid
{{Sister bar| Alabama |auto=1}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).
Alabama no auto no qid
{{Sister bar| Alabama}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).
Abraham Lincoln no auto
{{Sister bar| Abraham Lincoln |qid=Q91}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 181: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 178: attempt to index field 'wikibase' (a nil value).
Abraham Lincoln auto
{{Sister bar| Abraham Lincoln |auto=1|qid=Q91}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 181: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 178: attempt to index field 'wikibase' (a nil value).
Abraham Lincoln auto no qid
{{Sister bar| Abraham Lincoln |auto=1}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).
Abraham Lincoln no auto no qid
{{Sister bar| Abraham Lincoln}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).

Test wikispecies

auto default
{{Sister bar| Polar bear |auto=1|qid=Q33609}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 181: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 178: attempt to index field 'wikibase' (a nil value).
species default, without QID
{{Sister bar| Polar bear |species=1}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).
species default, with QID
{{Sister bar| Polar bear |qid=Q33609|species=1}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 181: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 178: attempt to index field 'wikibase' (a nil value).
species specified
{{Sister bar| Polar bear |species=Ursus maritimus}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).
author default, with QID
{{Sister bar| Constantine John Phipps |author=1|qid=Q335143|species_author=1}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 181: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 178: attempt to index field 'wikibase' (a nil value).
author default, without QID
{{Sister bar| Constantine John Phipps |author=1|species_author=1}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).
author specified
{{Sister bar| Constantine John Phipps |author=1|species_author=Constantine John Phipps}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).
both species and author specified
{{Sister bar| Polar bear |author=1|species=Ursus maritimus|species_author=Constantine John Phipps}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).
species blank, author no, auto
{{Sister bar| Polar bear |auto=1|qid=Q33609|species_author=no}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 181: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 178: attempt to index field 'wikibase' (a nil value).
species no, author no, auto
{{Sister bar| Polar bear |auto=1|qid=Q33609|species=no|species_author=no}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 181: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 178: attempt to index field 'wikibase' (a nil value).

Test cookbook

From wikidata
{{Sister bar| Dessert |auto=1|qid=Q182940}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 181: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 178: attempt to index field 'wikibase' (a nil value).
cookbook specified
{{Sister bar| Cuisine of France|auto=1|b=Cuisine of France|c=Cuisine of France|commonscat=y|cookbook=y|qid=Q6661|voy=Cuisine of France}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 181: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 178: attempt to index field 'wikibase' (a nil value).
cookbook implicit
{{Sister bar| Vanilla |auto=1|c=y|cookbook=y|qid=Q13241|s=y|wikt=y}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 181: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 178: attempt to index field 'wikibase' (a nil value).
cookbook namespace used
{{Sister bar| Vanilla |auto=1|b=Cookbook:Vanilla|qid=Q13241}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 181: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 178: attempt to index field 'wikibase' (a nil value).

Test wikisource author

Colin Powell
{{Sister bar| Colin Powell |author=yes|qid=Q150851|s=Colin L. Powell}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 181: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 178: attempt to index field 'wikibase' (a nil value).
Leon Trotsky
{{Sister bar| Leon Trotsky |author=yes|commons=Лев Троцкий|d=Q33391|qid=Q33391}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 181: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 178: attempt to index field 'wikibase' (a nil value).

Adjacent navboxes

Adjacent navboxes
{{Carnivora|C.}}
{{Sister bar|auto=1|qid=Q33609}}
{{Authority control|qid=Q33609}}

{{Sister bar}}


Lua error in Module:Sister_project_links at line 472: attempt to index field 'wikibase' (a nil value). Lua error in Module:Authority_control at line 153: attempt to index field 'wikibase' (a nil value).


{{Sister bar/sandbox}}


Lua error in Module:Sister_project_links/sandbox at line 469: attempt to index field 'wikibase' (a nil value). Lua error in Module:Authority_control at line 153: attempt to index field 'wikibase' (a nil value).

Test interwiki

Esperanto
{{Sister bar|auto=1|iw=y|qid=Q143}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 472: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 469: attempt to index field 'wikibase' (a nil value).
Karnataka
{{Sister bar|auto=1|iw=kn|qid=Q1185}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 472: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 469: attempt to index field 'wikibase' (a nil value).
Belarusian (multiple iw)
{{Sister bar|auto=1|iw=be|iw2=be-x-old|qid=Q9091}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 472: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 469: attempt to index field 'wikibase' (a nil value).
Junk
Side by side comparison
{{Sister bar}}{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links at line 472: attempt to index field 'wikibase' (a nil value). Lua error in Module:Sister_project_links/sandbox at line 469: attempt to index field 'wikibase' (a nil value).

Test junk search

sdfjoisfj auto=0
{{Sister bar| sdfjoisfj |auto=0}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).
sdfjoisfj auto=1
{{Sister bar| sdfjoisfj |auto=1}}
{{Sister bar}}
Lua error in Module:Sister_project_links at line 469: attempt to index field 'wikibase' (a nil value).
{{Sister bar/sandbox}}
Lua error in Module:Sister_project_links/sandbox at line 466: attempt to index field 'wikibase' (a nil value).