Jump to content

Template:Su/testcases

From Wikipedia, the free encyclopedia

Simple example

[edit]

X{{su|p=p}}X{{su|b=b}}X{{su|p=p|b=b}}X

Main

Xp
X
b
Xp
b
X

Sandbox

Xp
X
b
Xp
b
X

Left aligned (default)

[edit]

X{{su|p=paaaa|b=b}}X{{su|p=p|b=bbbbb}}X

Main

Xpaaaa
b
Xp
bbbbb
X

Sandbox

Xpaaaa
b
Xp
bbbbb
X

Right aligned

[edit]

X{{su|a=r|p=paaaa|b=b}}X{{su|a=r|p=p|b=bbbbb}}X

Main

Xpaaaa
b
Xp
bbbbb
X

Sandbox

Xpaaaa
b
Xp
bbbbb
X

Center aligned

[edit]

X{{su|a=c|p=paaaa|b=b}}X{{su|a=c|p=p|b=bbbbb}}X

Main

Xpaaaa
b
Xp
bbbbb
X

Sandbox

Xpaaaa
b
Xp
bbbbb
X

Smaller font

[edit]

<small>X{{su|p=p}}X{{su|b=b}}X{{su|p=p|b=b}}X</small>

Main

Xp
X
b
Xp
b
X

Sandbox

Xp
X
b
Xp
b
X

Larger font

[edit]

<big>X{{su|p=p}}X{{su|b=b}}X{{su|p=p|b=b}}X</big>

Main

Xp
X
b
Xp
b
X

Sandbox

Xp
X
b
Xp
b
X

Fixed width

[edit]

X{{su|p=...|b=www}}X{{su|w=f|p=...|b=www}}X

Main

X...
www
X...
www
X

Sandbox

X...
www
X...
www
X

Small letter

[edit]

''a''{{su|p=2|b=0}} / ''a''{{su|p=2}} / ''a''{{su|b=0}}, compare to superscript: ''a''<sup>2</sup> and subscript: ''a''<sub>0</sub>

Main

a2
0
/ a2
/ a
0
, compare to superscript: a2 and subscript: a0

Sandbox

a2
0
/ a2
/ a
0
, compare to superscript: a2 and subscript: a0

Line breaks

[edit]

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX{{su|p=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx|b=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}}XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Main

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Sandbox

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX