De Familia Sanchez Arjona
|
|
(No se muestra una edición intermedia de otro usuario) |
Línea 1: |
Línea 1: |
− | <span style="font-size:{{{size|92}}}%; line-height:{{{height|1.30}}}em">{{{1}}}</span><noinclude> | + | <span style="font-size:{{{size|92}}}%;line-height:{{{height|1.30}}}em;">{{{1}}}</span><noinclude>{{Documentation}}</noinclude> |
− | | |
− | <br>The '''[[Template:Midsize]]''' displays parameter 1 as mid-size text, at font-size 92%, slightly larger than [[Template:Small]], which shows text at 85% size. The optional parameter "height=1.1" can wrap multiple lines closer together. Parameter "size=70" can set other sizes, such as "<span style="font-size:70%">This is size-70 text</span>".
| |
− | | |
− | :: '''Usage:''' {{midsize|This is middle-sized text.}} → <span style="font-size:92%; line-height:1.30em">This is middle-sized text.</span>
| |
− | | |
− | The line-height is also reduced so that the text wraps as less-tall lines, as in the following example of text with breaks in the lines:
| |
− | | |
− | ::* {{midsize|This example shows multiple lines of<br>middle-sized text as being wrapped<br><br>onto multiple lines, closer together.}} →<br><span style="font-size:92%; line-height:1.30em">This example shows multiple lines of<br>middle-sized text as being wrapped<br>onto multiple lines, closer together.</span>
| |
− | | |
− | ::* {{midsize|height=0.9|This 2nd example shows multiple lines of<br>middle-sized text being wrapped<br><br>onto multiple lines, even closer together.}} →<br><span style="font-size:92%; line-height:0.9em">This 2nd example shows multiple lines of<br>middle-sized text being wrapped<br>onto multiple lines, even closer together.</span>
| |
− | | |
− | Because many users are unaware of the style directives for changing both the font-size and the line-height attributes, then Template:Midsize provides an easy way to consistently reduce text as being middle-sized, but larger than small-font text, while also allowing "height=1.1" or "size=n" for other sizes.
| |
− | | |
− | ==See also==
| |
− | * [[Template:Small]] - for smaller text as: {{small|This is small text.}} → {{small|This is small text.}}
| |
− | | |
− | [[Category:Wikipedia formatting and function templates]]
| |
− | </noinclude> | |
Revisión actual del 22:20 7 jun 2016
{{{1}}}