Template:Resize/testcases

From Wikipedia, the free encyclopedia


Test0
{{Resize}}

{{Resize}}

{{{1}}}

{{Resize/sandbox}}

{{{1}}}

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

{{Resize}}

This text defaults to 90% normal size.

{{Resize/sandbox}}

This text defaults to 90% normal size.

Test2
{{Resize|80%|This text is 80% normal size.}}

{{Resize}}

This text is 80% normal size.

{{Resize/sandbox}}

This text is 80% normal size.

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

{{Resize}}

This text is 0.2em larger than normal.

{{Resize/sandbox}}

This text is 0.2em larger than normal.

Test4
{{Resize |We know 1+1=2 and 2+2=4. It will fail to render}}

{{Resize}}

{{{1}}}

{{Resize/sandbox}}

{{{1}}}

Test5
{{Resize |1=We know 1+1=2 and 2+2=4.}}

{{Resize}}

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

{{Resize/sandbox}}

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

Test6
{{Resize |1=We know 1+1=2 and 2+2=4.}}

{{Resize}}

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

{{Resize/sandbox}}

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

Test7
{{Resize|120% |2=We know 1+1=2 and 2+2=4. This text is 120% normal size.}}

{{Resize}}

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

{{Resize/sandbox}}

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

Test8
{{Resize|90%|text}}

{{Resize}}

text

{{Resize/sandbox}}

text

Test9
{{Resize|110%|text}}

{{Resize}}

text

{{Resize/sandbox}}

text

Test10
{{Resize|large|text}}

{{Resize}}

text

{{Resize/sandbox}}

text