Teamplaid:Small

O Wiktionary
Jump to navigation Jump to search

{{{1}}}

Template documentation[view] [edit] [history] [purge]

Ùsaid - Usage[deasaich]

This template is a replacement for <small>...</small>.

Remember "Avoid using smaller font sizes in elements that already use a smaller font size, such as infoboxes, navboxes and reference sections.", per MOS:ACCESS and MOS:SMALLFONT. Use of this template within an infobox produces a font size 75% of the page default, well below the 85% minimum specified in the linked guidelines.

The only parameter is the content and may contain templates, images, etc. if a block needs to be wrapped in this template and contains such elements. Note that if the = character appears in the content, the parameter must be explicitly specified as |1=.

Do not use this template to wrap multiple lines; doing so will cause Linter errors. If you need to wrap multiple list items or multiple paragraphs, use {{Smalldiv}} around the entire block, or wrap each list item or paragraph separately.

Thus  Good practice
input shows
What a wonderful world What a wonderful world
{{Small|What a wonderful world}} What a wonderful world
{{Small|1=3 + 2 = 5}} 3 + 2 = 5
{{Small|1=103}}
{{Small|1=+ 2}}
——
{{Small|1=105}}
103

+ 2

——

105


Don't do this:

{{Small|
*One
*Two
*Three}}

 Do this instead:

{{Smalldiv|
*One
*Two
*Three}}

Teamplaid-dàta - TemplateData[deasaich]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Small

A template shortcut for the "small" HTML Tag that makes the font smaller

Paramadairean na teamplaide

ParamadairTuairisgeulSeòrsaStaid
Text1

The text that you'd like to be made smaller

Sreangriatanach

Roinn-seòrsa tracaidh - Tracking category[deasaich]

Faic cuideachd - Also see

Font size templates
Code Size Semantics Result
{{Small|text}} 85% <small> text
{{Mór|text|85%|0%}} 85% <small> text
{{Resize|85%|text}} 85% <small> text
{{Resize|small|text}} 85% <small> text
{{Resize|Small|text}} 85% <small> text
{{Smaller|text}} 90% none text
{{Mór|text|90%|0%}} 90% none text
{{Resize|text}} 90% none text
{{Resize|smaller|text}} 90% none text
{{Resize|Smaller|text}} 90% none text
{{Midsize|text}} 92% none text
{{Mór|text|92%|0%}} 92% none text
{{Resize|92%|text}} 92% none text
{{Resize|midsize|text}} 92% none text
{{Resize|Midsize|text}} 92% none text
none 100% none text
{{Mór|text|100%|0%}} 100% none text
{{Resize|100%|text}} 100% none text
{{Larger|text}} 110% none text
{{Mór|text|110%|0%}} 110% none text
{{Resize|110%|text}} 110% none text
{{Resize|larger|text}} 110% none text
{{Resize|Larger|text}} 110% none text
{{Mór|text}} 120% none text
{{Mór|text|120%|0%}} 120% none text
{{Resize|120%|text}} 120% none text
{{Resize|big|text}} 120% none text
{{Resize|Big|text}} 120% none text
{{Large|text}} large none text
{{Resize|large|text}} Large none text
{{Resize|Large|text}} Large none text
{{Huge|text}} 180% none text
{{Mór|text|180%|0%}} 180% none text
{{Resize|180%|text}} 180% none text
{{Resize|huge|text}} 180% none text
{{Resize|Huge|text}} 180% none text
{{Resize|x-large|text}} 180% none text
{{Resize|X-large|text}} 180% none text
{{Resize|XL|text}} 180% none text
{{Resize|xl|text}} 180% none text
{{Resize|Xl|text}} 180% none text
{{Resize|x%}} custom none
{{Font|size=x%}} custom none