Template:Userbox/testcases
Jump to navigation
Jump to search
| This is the template test cases page for the sandbox of Template:Userbox. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Standard boxes
[edit source]| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
Border width
[edit source]Border width test cases
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | |||
|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | |||
|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | |||
|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | |||
|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | |||
|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | |||
|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | |||
|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | |||
|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | |||
|---|---|---|---|---|---|
|
|
|
Body margin
[edit source]Body margin test cases
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
Maths
[edit source]Math testcases
Side by side
{{Userbox}} to the left of {{Userbox/sandbox}}
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
Floating
3 instances of {{Userbox}} precede 3 instances of {{Userbox/sandbox}} and 3 instances of {{Userbox/sandbox2}}.
| π | 3.1415926535897932384626433832795028841941693993751058209749445923808162... |
| 42 | The Answer to Great Question of the Universe, Life, and Everything |
| ; | This user thinks TeX is cool. |
{{Userbox/sandbox}}
| π | 3.1415926535897932384626433832795028841941693993751058209749445923808162... |
| 42 | The Answer to Great Question of the Universe, Life, and Everything |
| ; | This user thinks TeX is cool. |
{{Userbox/sandbox2}}
| π | 3.1415926535897932384626433832795028841941693993751058209749445923808162... |
| 42 | The Answer to Great Question of the Universe, Life, and Everything |
| ; | This user thinks TeX is cool. |
Stacked
{{Userbox}} precedes {{Userbox/sandbox}} followed by {{Userbox/sandbox2}} in each case.
| π | 3.1415926535897932384626433832795028841941693993751058209749445923808162... |
| π | 3.1415926535897932384626433832795028841941693993751058209749445923808162... |
| π | 3.1415926535897932384626433832795028841941693993751058209749445923808162... |
| 42 | The Answer to Great Question of the Universe, Life, and Everything |
| 42 | The Answer to Great Question of the Universe, Life, and Everything |
| 42 | The Answer to Great Question of the Universe, Life, and Everything |
| ; | This user thinks TeX is cool. |
| ; | This user thinks TeX is cool. |
| ; | This user thinks TeX is cool. |
Long text
[edit source]Lorem ipsum 1
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
Lorem ipsum 2
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
Blank parameters
[edit source]{{userbox
| border-width=
| border-s=10
}}
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | |||
|---|---|---|---|---|---|
|
|
|
{{userbox
|
| border-c=blue
}}
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | |||
|---|---|---|---|---|---|
|
|
|
{{userbox
| id = id
| info-background =
}}
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
{{userbox
| id = id
| id-w =
}}
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
{{userbox
| info-color =
| info-fc = red
}}
| {{Userbox}} | {{Userbox/sandbox}} | {{Userbox/sandbox2}} | |||
|---|---|---|---|---|---|
|
|
|
Multiple boxes together
[edit source]Test default floating style with 3 userboxes together.
{{Userbox}}
| 1 | {{{info}}} |
| 2 | {{{info}}} |
| 3 | {{{info}}} |
{{Userbox/sandbox}}
| 1 | {{{info}}} |
| 2 | {{{info}}} |
| 3 | {{{info}}} |
{{Userbox|float=left}}
| 1 | {{{info}}} |
| 2 | {{{info}}} |
| 3 | {{{info}}} |
{{Userbox/sandbox|float=left}}
| 1 | {{{info}}} |
| 2 | {{{info}}} |
| 3 | {{{info}}} |
{{Userbox|float=right}}
| 1 | {{{info}}} |
| 2 | {{{info}}} |
| 3 | {{{info}}} |
{{Userbox/sandbox|float=right}}
| 1 | {{{info}}} |
| 2 | {{{info}}} |
| 3 | {{{info}}} |
{{Userbox|float=none}}
| 1 | {{{info}}} |
| 2 | {{{info}}} |
| 3 | {{{info}}} |
{{Userbox/sandbox|float=none}}
| 1 | {{{info}}} |
| 2 | {{{info}}} |
| 3 | {{{info}}} |