Jump to content

Template:Userbox-r/testcases

From Wikipedia, the free encyclopedia

Standard boxes

[edit]
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
foodddd barxp
foodddd barxp
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
This User Lives or Lived in Alameda, CaliforniaALA
This User Lives or Lived in Alameda, CaliforniaALA
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
This user likes Taylor SwiftTS
This user likes Taylor SwiftTS

{{Userbox | border-c=#F99C99 | border-s=1| id-c=#F99C99| id-s=12| id-fc=#000000| id-op=| info-c=#F9CBC9| info-s=8| info-fc=#000000| info-lh=1.2em| info-op=| id=🇹🇹| info=This

Box width

[edit]
Box width examples
border-s=10px
{{Userbox-r}}{{Userbox-r/sandbox}}
This user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel Johnson
This user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel Johnson
border-s=-9
{{Userbox-r}}{{Userbox-r/sandbox}}
This user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel Johnson
This user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel Johnson
border-s=-2
{{Userbox-r}}{{Userbox-r/sandbox}}
This user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel Johnson
This user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel Johnson
border-s=-1
{{Userbox-r}}{{Userbox-r/sandbox}}
This user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel Johnson
This user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel Johnson
border-s=0
{{Userbox-r}}{{Userbox-r/sandbox}}
This user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel Johnson
This user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel Johnson
border-s=1
{{Userbox-r}}{{Userbox-r/sandbox}}
This user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel Johnson
This user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel Johnson
border-s=2
{{Userbox-r}}{{Userbox-r/sandbox}}
This user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel Johnson
This user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel Johnson
border-s=3
{{Userbox-r}}{{Userbox-r/sandbox}}
This user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel Johnson
This user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel Johnson
border-s=5
{{Userbox-r}}{{Userbox-r/sandbox}}
This user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel Johnson
This user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel Johnson
border-s=12
{{Userbox-r}}{{Userbox-r/sandbox}}
This user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel Johnson
This user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel Johnson

Small / wide

[edit]
Side by side comparison
{{Userbox|small=yes}}{{Userbox/sandbox|small=yes}}
This user participates in Wikiprojects.
This user participates in Wikiprojects.
Side by side comparison
{{Userbox|wide=yes}}{{Userbox/sandbox|wide=yes}}
This user participates in Wikiprojects.
This user participates in Wikiprojects.

Maths

[edit]
Math testcases

Side by side

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

Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
3.1415926535897932384626433832795028841941693993751058209749445923808162...π
3.1415926535897932384626433832795028841941693993751058209749445923808162...π
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
The Answer to Great Question of the Universe, Life, and Everything42
The Answer to Great Question of the Universe, Life, and Everything42
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
This user thinks TeX is cool.;
This user thinks TeX is cool.;

Floating

3 instances of {{Userbox-r}} precede 3 instances of {{Userbox-r/sandbox}}.

π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.

Stacked

{{Userbox-r}} precedes {{Userbox-r/sandbox}} in each case.

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

Long text

[edit]
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
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.
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.
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
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.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.Mr. Lorem, I don't feel so good...

Height and width comparison

[edit]
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
{{{info}}}id
{{{info}}}id
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
{{{info}}}id
{{{info}}}id
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
{{{info}}}id
{{{info}}}id
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
{{{info}}}id
{{{info}}}id
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
{{{info}}}id
{{{info}}}id
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
{{{info}}}id
{{{info}}}id
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
{{{info}}}id
{{{info}}}id
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
{{{info}}}id
{{{info}}}id
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
{{{info}}}id
{{{info}}}id

Blank parameters

[edit]
{{userbox
| border-width=
| border-s=10
}}
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
{{{info}}}id
{{{info}}}id
{{userbox
| 
| border-c=blue
}}
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
{{{info}}}id
{{{info}}}id
{{userbox
| info-background =
}}
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
{{{info}}}id
{{{info}}}id
{{userbox
| id = id
| id-w = 
}}
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
{{{info}}}id
{{{info}}}id
{{userbox
| info-color = 
| info-fc = red
}}
Side by side comparison
{{Userbox-r}}{{Userbox-r/sandbox}}
{{{info}}}id
{{{info}}}id