Teamplaid:Small/documentation
This is a documentation subpage for Teamplaid:Small. It contains usage information, categories and other content that is not part of the original teamplaid page. |
This template is used on a very large number of pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages, or in your own user space. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on the talk page before implementing them. |
This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see Wikipedia:COinS. |
As of June 10, 2016, a rule has been added to MediaWiki:Common.css, so now <small> consistently renders at size that is 85% of the surrounding text. This template remains as a convenience wrapper. |
Ùsaid - Usage
deasaichThis 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
deasaichSmall
A template shortcut for the "small" HTML Tag that makes the font smaller
Paramadair | Tuairisgeul | Seòrsa | Staid | |
---|---|---|---|---|
Text | 1 | The text that you'd like to be made smaller | Sreang | riatanach |
Roinn-seòrsa tracaidh - Tracking category
deasaichFaic cuideachd - Also see
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 |