Predloga:Resize

{{{1}}}

Dokumentacija za predlogo[poglej] [uredi] [zgodovina] [osveži]

Template to aid switching the font-size used for a text string.

SyntaxUredi

{{resize|N|text}}  or  {{resize|text}}
N specifies a size, such as "90%", "1.2em", etc. For the default case (the second above), N is set to "90%".
If the text happens to contain an equality sign "=", specify {{resize|N|2=text}} or {{resize|1=text}}.

ExamplesUredi

{{resize|1.2em|This text is 0.2em larger than normal}}    This text is 0.2em larger than normal
{{resize|80%|This text is 80% normal size}} This text is 80% normal size
{{resize|This text defaults to 90% normal size}} This text defaults to 90% normal size

RedirectsUredi

{{small|...}} instead of {{resize|85%|...}}. An alternative to <small>...</small>.
{{smaller|...}} instead of {{resize|90%|...}} (or {{resize|...}}).
{{95%|...}} instead of {{resize|95%|...}}.
{{105%|...}} instead of {{resize|105%|...}}.
{{larger|...}}
 {{bigger|...}}
instead of {{resize|110%|...}}.
redirects to {{larger}}.
{{big|...}} instead of {{resize|115%|...}}. An alternative to <big>...</big>.
{{large|...}} is equivalent to  <span style="font-size:large;">...</span>.
{{150%|...}} instead of {{resize|150%|...}}.

TemplateData for variantsUredi

The templateData for each variant of the template can be found at

See alsoUredi

  • {{huge}}, for diacritic marks only; similar to {{big}} but considerably larger and also compensates for vertical alignment.
  • {{color}}, to add a span of text with a given foreground color.
  • {{background color}} (or {{background}}), to add a span of text with a given background color.

TemplateDataUredi

To je TemplateData dokumentacija za predlogo, ki jo uporablja VisualEditor in druga orodja; glejte mesečno poročilo o uporabi parametrov za to predlogo.

TemplateData za Resize

Template to aid switching the font-size used for a text string. Two forms {{resize|<size>|<text>}} and {{resize|<text>}} are possible.

Parametri predloge

ParameterOpisVrstaStanje
Size/Text1

Specifies a css font size e.g. '80%', '1.2em', 'x-large', 'larger'. In the one parameter version the first parameter is the text and the font size is '90%'.

Nizzahtevano
Text when size is given2

The text to display in the two parameter version.

Nizizbirno
https://sl.m.wikipedia.org/wiki/Predloga:Resize
sl.m.wikipedia.org
crawl=CC-MAIN-2021-31
33354
application/http; msgtype=response
sha1:JUXNLF36RH3A3QEVKWAYPISXBKXZDA7L
<urn:uuid:eeaaa044-e9b5-4d3c-88fb-5ccbf8ec2423>
2021-08-05T02:49:48Z
208.80.154.224
text/html
sha1:R5XNL5MC32TN3ECVM2PO7JEXADY7SDKW
<urn:uuid:314df38a-8e05-4eb4-910d-1e3c9465c203>
https://sl.m.wikipedia.org/wiki/Predloga:Resize
response
<urn:uuid:e59d47a8-9625-44e1-b0a2-8f5002857c6d>
isPartOf: CC-MAIN-2021-31
publisher: Common Crawl
description: Wide crawl of the web for July/August 2021
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-228.ec2.internal
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.2-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/