Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 See also  














Template:Midsize






Azərbaycanca
تۆرکجه

 / Bân-lâm-gú
Беларуская
Corsu
Dansk
فارسی

ि
Kurdî

Bahasa Melayu
Мокшень
Монгол


Português
Scots

Simple English
Slovenščina
 

Türkçe
Українська
اردو
Tiếng Vit


 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikiversity
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


{{{1}}}

{{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 "This is size-70 text".

Usage:   {{midsize|This is middle-sized text.}} → This is middle-sized text.

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>
    onto multiple lines, closer together.}} →
    This example shows multiple lines of
    middle-sized text as being wrapped
    onto multiple lines, closer together.
  • {{midsize|height=0.9|This 2nd example shows multiple lines of<br>middle-sized text being wrapped<br>
    onto multiple lines, even closer together.}} →
    This 2nd example shows multiple lines of
    middle-sized text being wrapped
    onto multiple lines, even closer together.

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

Font size templates
  • edit
  • Code for inline content Code for block content Size Result
    {{small|text}}
    {{smaller|text}}
    {{smalldiv|text}} 85% text
    {{resize|text}} {{resizediv|text}} 90% text
    {{midsize|text}} 92% text
    none none 100% text
    {{large|text}}
    {{larger|text}}
    {{big|text}}
    {{largediv|text}} 120% text
    {{huge|text}} 180% text
    {{resize|x%|text}} {{resizediv|x%|text}} custom varies
    {{font|size=x%}} custom varies

    For block content (including multiple lines of text), use {{midsizediv}}.


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Midsize&oldid=1197991192"

    Category: 
    Resizing templates
    Hidden category: 
    Wikipedia extended-confirmed-protected templates
     



    This page was last edited on 22 January 2024, at 18:00 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki