Template:Userbox/testcases

Standard boxesEdit

Side by side comparison
{{Userbox}}{{Userbox/sandbox2}}
xpfoodddd bar
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).
Side by side comparison
{{Userbox}}{{Userbox/sandbox2}}
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).
Side by side comparison
{{Userbox}}{{Userbox/sandbox2}}
ALAThis User Lives or Lived in Alameda, California
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).
Side by side comparison
{{Userbox}}{{Userbox/sandbox2}}
TSThis user likes Taylor Swift
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).

Border widthEdit

Border width test cases
border-s=10px
{{Userbox}}{{Userbox/sandbox2}}
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).
border-s=-9
{{Userbox}}{{Userbox/sandbox2}}
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).
border-s=-2
{{Userbox}}{{Userbox/sandbox2}}
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).
border-s=-1
{{Userbox}}{{Userbox/sandbox2}}
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).
border-s=0
{{Userbox}}{{Userbox/sandbox2}}
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).
border-s=1
{{Userbox}}{{Userbox/sandbox2}}
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).
border-s=2
{{Userbox}}{{Userbox/sandbox2}}
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).
border-s=3
{{Userbox}}{{Userbox/sandbox2}}
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).
border-s=5
{{Userbox}}{{Userbox/sandbox2}}
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).
border-s=12
{{Userbox}}{{Userbox/sandbox2}}
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).

border-s=10
{{Userbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
border-s=50
{{Userbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
border-s=21
{{Userbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
border-s=0
{{Userbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
border-s=1
{{Userbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
border-s=2
{{Userbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
border-s=15
{{Userbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
border-s=100
{{Userbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
border-s=150
{{Userbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}

MathsEdit

Math testcases

Side by side

{{Userbox}} to the left of {{Userbox/sandbox}}

Side by side comparison
{{Userbox}}{{Userbox/sandbox2}}
π3.1415926535897932384626433832795028841941693993751058209749445923808162...
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).
Side by side comparison
{{Userbox}}{{Userbox/sandbox2}}
42The Answer to Great Question of the Universe, Life, and Everything
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).
Side by side comparison
{{Userbox}}{{Userbox/sandbox2}}
;This user thinks TeX is cool.
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).

Floating

3 instances of {{Userbox}} precede 3 instances of {{Userbox/sandbox}} and 3 instances of {{Userbox/sandbox2}}.

π3.1415926535897932384626433832795028841941693993751058209749445923808162...
42The Answer to Great Question of the Universe, Life, and Everything
;This user thinks TeX is cool.

{{Userbox/sandbox}}

π3.1415926535897932384626433832795028841941693993751058209749445923808162...
42The Answer to Great Question of the Universe, Life, and Everything
;This user thinks TeX is cool.

{{Userbox/sandbox2}} Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).

Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).

Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).

Stacked

{{Userbox}} precedes {{Userbox/sandbox}} followed by {{Userbox/sandbox2}} in each case.

π3.1415926535897932384626433832795028841941693993751058209749445923808162...
π3.1415926535897932384626433832795028841941693993751058209749445923808162...

Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).

42The Answer to Great Question of the Universe, Life, and Everything
42The Answer to Great Question of the Universe, Life, and Everything

Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).

;This user thinks TeX is cool.
;This user thinks TeX is cool.

Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).

Long textEdit

Lorem ipsum 1
Side by side comparison
{{Userbox}}{{Userbox/sandbox2}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).
Lorem ipsum 2
Side by side comparison
{{Userbox}}{{Userbox/sandbox2}}
Mr. Lorem, I don't feel so good...Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).

Blank parametersEdit

{{userbox
| border-width=
| border-s=10
}}
Side by side comparison
{{Userbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
{{userbox
| 
| border-c=blue
}}
Side by side comparison
{{Userbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
{{userbox
| info-background =
}}
Side by side comparison
{{Userbox}}{{Userbox/sandbox2}}
id{{{info}}}
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).
{{userbox
| id = id
| id-w = 
}}
Side by side comparison
{{Userbox}}{{Userbox/sandbox2}}
id{{{info}}}
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).
{{userbox
| info-color = 
| info-fc = red
}}
Side by side comparison
{{Userbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}