Difference between revisions of "Template:Large/doc"

(Creation (as this is needed))
 
m (Updating)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) -->
 
<!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) -->
{{High-use}}
 
 
 
This template renders the text in the first parameter, {{para|1}}, at 120% of the size at which it would otherwise display.  
 
This template renders the text in the first parameter, {{para|1}}, at 120% of the size at which it would otherwise display.  
  
{{tl|Larger}} and {{tl|Big}} redirect to this template.
+
{{tl|Larger}} {{tl|Big}}and {{tl|Bigger}} redirect to this template.
  
 
== Comparison ==
 
== Comparison ==
Line 16: Line 14:
  
 
==TemplateData==
 
==TemplateData==
{{TemplateData header}}
 
 
 
<templatedata>
 
<templatedata>
 
{
 
{

Latest revision as of 19:41, 5 March 2023

This template renders the text in the first parameter, |1=, at 120% of the size at which it would otherwise display.

{{Larger}} {{Big}}and {{Bigger}} redirect to this template.

Comparison[edit]

Font size templates

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}} {{midsizediv|text}} 92% text
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

See also[edit]

TemplateData[edit]

Resizes text so it is in the css-'large' size.

Template parameters

ParameterDescriptionTypeStatus
Text1

The text to display

Stringrequired