Template:Userbox/testcases
| 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 with these links: |
Contents
Standard boxes
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
| Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value). |
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
| Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value). |
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
| Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value). |
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
| Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value). |
Border width
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
| Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value). |
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
| Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value). |
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
| Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value). |
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
| Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value). |
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
| Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value). |
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
| Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value). |
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
| Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value). |
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
| Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value). |
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
| Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value). |
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
| Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value). |
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
|
|
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
|
|
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
|
|
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
|
|
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
|
|
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
|
|
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
|
|
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
|
|
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
|
|
Maths
Side by side
{{Userbox}} to the left of {{Userbox/sandbox}}
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
| Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value). |
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
| Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value). |
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
| 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 Template:Tl/sandbox2.
| π | 3.1415926535897932384626433832795028841941693993751058209749445923808162... |
| 42 | The Answer to Great Question of the Universe, Life, and Everything |
| <math>TeX</math>; | This user thinks TeX is cool. |
{{Userbox/sandbox}}
| π | 3.1415926535897932384626433832795028841941693993751058209749445923808162... |
| 42 | The Answer to Great Question of the Universe, Life, and Everything |
| <math>TeX</math>; | 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... |
| 42 | The Answer to Great Question of the Universe, Life, and Everything |
| 42 | The 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).
| <math>TeX</math>; | This user thinks TeX is cool. |
| <math>TeX</math>; | This user thinks TeX is cool. |
Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value).
Long text
| Lorem ipsum 1 | ||||||
|---|---|---|---|---|---|---|
|
| Lorem ipsum 2 | ||||||
|---|---|---|---|---|---|---|
|
Blank parameters
{{userbox
| border-width=
| border-s=10
}}
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
|
|
{{userbox
|
| border-c=blue
}}
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
|
|
{{userbox
| info-background =
}}
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
| Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value). |
{{userbox
| id = id
| id-w =
}}
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
| Lua error in Module:Userbox/sandbox2 at line 256: attempt to call method 'wikilink' (a nil value). |
{{userbox
| info-color =
| info-fc = red
}}
| {{Userbox}} | {{Userbox/sandbox2}} | ||
|---|---|---|---|
|
|