Predloga:Small/peskovnik
{{{1}}}{{{1}}}
| To je stran za peskovnik predloge za Predloga:Small (razl). Glej tudi podstran za testniprimeri. |
| Predloga se uporablja na številnih straneh. Z urejanjem te predloge lahko zelo obremenite strežnike, zato pred uvedbo vse spremembe, ki jih želite uvesti, preizkusite na njenih podstraneh (/peskovnik oziroma /testniprimeri) ali na svojih lastnih podstraneh. Preizkusite jih lahko tudi v posebnem peskovniku za predloge. Preizkušene spremembe se lahko v predlogo dodajo z enim samim urejanjem. Preden predlogo spremenite, se o spremembah rajši pogovorite na njeni pogovorni strani. |
| Ta predloga se ne sme uporabljati v predlogah za navajanje v slogih, kot sta slog navajanja 1 in slog navajanja 2, ker vključuje označevanje, ki bo kontaminiralo metapodatke COinS, ki jih te ustvarijo. |
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. |
Usage
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#Font size 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}}
Template data
TemplateData za Small
A template shortcut for the "small" HTML tag that makes the font smaller
| Parameter | Opis | Vrsta | Stanje | |
|---|---|---|---|---|
| Text | 1 | The text that you'd like to be made smaller | Niz | zahtevano |
Tracking category
See also
| Koda za znotrajvrstično vsebino | Koda za vsebino bloka | Velikost | Rezultat |
|---|---|---|---|
{{small|besedilo}}{{smaller|besedilo}} |
{{smalldiv|besedilo}} |
85 % | besedilo |
{{resize|besedilo}} |
{{resizediv|besedilo}} |
90 % | besedilo |
{{midsize|besedilo}} |
92 % | besedilo | |
| Predloga:CNone | Predloga:CNone | 100 % | besedilo |
{{large|besedilo}}{{larger|besedilo}}{{big|besedilo}} |
{{largediv|besedilo}} |
120 % | besedilo |
{{huge|besedilo}} |
180 % | besedilo | |
{{resize|x%|besedilo}} |
{{resizediv|besedilo}} |
po meri | variira |
{{font|size=x%}} |
po meri | variira |
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.









