Template:Midsize/testcases
This is the template test cases page for the sandbox of Template:Midsize. 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: |
{{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.
{{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.
{{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.
{{Midsize|80%|This text is 80% normal size.}}
{{Midsize}}
This text is 80% normal size.
{{Midsize/sandbox}}
This text is 80% normal size.
{{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.
{{Midsize|We know 1+1=2 and 2+2=4. It will fail to render}}
{{Midsize}}
{{{1}}}
{{Midsize/sandbox}}
{{{1}}}
{{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.
{{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.
{{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.