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 Usage  





2 When not to use this template  





3 Template data  





4 Tracking category  





5 See also  














Template:Smalldiv






العربية
Авар
Azərbaycanca
تۆرکجه
Basa Bali

 / Bân-lâm-gú
Башҡортса
Bosanski
Català
Cebuano
Dagbanli
الدارجة
فارسی
Galego
ГӀалгӀай


Hawaiʻi
Հայերեն
Hrvatski
Ilokano

Kurdî
Кыргызча
Ladin


مصرى

Монгол

Nederlands

Нохчийн
Norsk bokmål
Norsk nynorsk
Oʻzbekcha / ўзбекча

Português
Русский
Scots

Simple English
Slovenščina
Српски / srpski
Srpskohrvatski / српскохрватски
ி
 

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  



Wikimedia Commons
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


{{{1}}}

  • {{div-small}}
  • Usage

    Use this template instead of {{small}}or<small>...</small> to wrap multiple lines of text, or to wrap a template that contains <div>...</div> tags.

    This template is a drop-in replacement for {{small}} templates or <small>...</small> tags that wrap multiple lines or wrap a template containing <div>...</div> tags. When a {{small}} template or <small>...</small> tags wrap multiple lines, Linter errors are caused, typically "Missing end tag", "Misnested tag", or "Stripped tag".

    The only parameter, |, is the content that is intended to be rendered at a font size of 85% of normal.

    Note that if the = character appears in the content, it should be replaced with {{=}}, or the content must be explicitly preceded with |1=. See examples in the table below. Pages ignoring this instruction are likely to appear in Category:Pages using small with an empty input parameter (1,713).

    Examples of uses for {{smalldiv}}
    input shows
    {{smalldiv|
    *One
    *Two
    *Three}}
    

    • One
    • Two
    • Three

    {{smalldiv|{{unbulleted list|One|Two|Three}}}}
    • One
  • Two
  • Three
  • {{smalldiv|{{hlist|One|Two|Three}}}}
    • One
  • Two
  • Three
  • {{smalldiv|{{hidden||{{nowrap|Ichirō Hatoyama – 394<br/>Nobusuke Kishi – 4<br/>''Others'' – 15}}}}}}
    Ichirō Hatoyama – 394
    Nobusuke Kishi – 4
    Others – 15
    Example with = character in the content (error):
    {{smalldiv|Ichirō Hatoyama = 394<br/>Nobusuke Kishi = 4<br/>''Others'' = 15}}

    {{{1}}}

    Example with = character in the content using |1=:
    {{smalldiv|1=Ichirō Hatoyama = 394<br/>Nobusuke Kishi = 4<br/>''Others'' = 15}}

    Ichirō Hatoyama = 394
    Nobusuke Kishi = 4
    Others = 15

    When not to use this template

    Remember to "avoid using smaller font sizes in elements that already use a smaller font size, such as infoboxes, navboxes and reference sections", per MOS:ACCESS#Font size and MOS:SMALLFONT. Using this template within an infobox or a navbox reduces the text size to about 75%, which is smaller than the 85% limit prescribed by the MOS guideline.

    Template data

    This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Smalldiv in articles based on its TemplateData.

    TemplateData for Smalldiv

    Tracking category

    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

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

    Categories: 
    Resizing templates
    Wikipedia XHTML tag-replacing templates
    Hidden categories: 
    Wikipedia template-protected templates
    Templates not safe for use in citation templates
    Pages using small with an empty input parameter
    Templates using TemplateData
    Templates that add a tracking category
     



    This page was last edited on 21 February 2021, at 21:16 (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