Jump to content

Template:Midsize/testcases

From Wikipedia, the free encyclopedia
1 parameter
{{Midsize|This example shows multiple lines of<br>middle-sized text as being wrapped<br>
onto multiple lines, closer together.}}

{{Midsize}}

This example shows multiple lines of
middle-sized text as being wrapped
onto multiple lines, closer together.

{{Midsize/sandbox}}

This example shows multiple lines of
middle-sized text as being wrapped
onto multiple lines, closer together.

1 and height
{{Midsize|This 2nd example shows multiple lines of<br>middle-sized text being wrapped<br>
onto multiple lines, even closer together.|height=0.9}}

{{Midsize}}

This 2nd example shows multiple lines of
middle-sized text being wrapped
onto multiple lines, even closer together.

{{Midsize/sandbox}}

This 2nd example shows multiple lines of
middle-sized text being wrapped
onto multiple lines, even closer together.

90%
{{Midsize|This text defaults to 90% normal size.}}

{{Midsize}}

This text defaults to 90% normal size.

{{Midsize/sandbox}}

This text defaults to 90% normal size.

80%
{{Midsize|80%|This text is 80% normal size.}}

{{Midsize}}

This text is 80% normal size.

{{Midsize/sandbox}}

This text is 80% normal size.

1.2em
{{Midsize|1.2em|This text is 0.2em larger than normal.}}

{{Midsize}}

This text is 0.2em larger than normal.

{{Midsize/sandbox}}

This text is 0.2em larger than normal.

with broken equals
{{Midsize|We know 1+1=2 and 2+2=4. It will fail to render}}

{{Midsize}}

{{{1}}}

{{Midsize/sandbox}}

{{{1}}}

with equals
{{Midsize|1=We know 1+1=2 and 2+2=4.}}

{{Midsize}}

We know 1+1=2 and 2+2=4.

{{Midsize/sandbox}}

We know 1+1=2 and 2+2=4.

also with equals
{{Midsize|1=We know 1+1=2 and 2+2=4.}}

{{Midsize}}

We know 1+1=2 and 2+2=4.

{{Midsize/sandbox}}

We know 1+1=2 and 2+2=4.

equals and percent
{{Midsize|120%|2=We know 1+1=2 and 2+2=4. This text is 120% normal size.}}

{{Midsize}}

We know 1+1=2 and 2+2=4. This text is 120% normal size.

{{Midsize/sandbox}}

We know 1+1=2 and 2+2=4. This text is 120% normal size.