Difference between revisions of "Module:Small/doc"

From blackwiki
Jump to navigation Jump to search
test>DePiep
test>Frietjes
Line 41: Line 41:
 
</templatedata>
 
</templatedata>
  
 +
== Tracking category ==
 +
* {{clc|Pages using small with an empty input parameter}}
 
== See also ==
 
== See also ==
 
{{font size templates}}
 
{{font size templates}}
  
 
<includeonly>
 
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<!-- CATEGORIES HERE, THANKS -->
 
[[Category:Text-specific formatting and function templates|{{PAGENAME}}]]
 
[[Category:Text-specific formatting and function templates|{{PAGENAME}}]]
 
[[Category:Wikipedia XHTML tag-replacing templates]]
 
[[Category:Wikipedia XHTML tag-replacing templates]]
  
 
</includeonly>
 
</includeonly>

Revision as of 21:10, 19 February 2018

Usage

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

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=.

Thus
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

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Small

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

Template parameters

ParameterDescriptionTypeStatus
Text1

The text that you'd like to be made smaller

Stringrequired

Tracking category

See also

Font size templates

Code Size Semantics Result
{{small|text}} 85% <small> text
{{smaller|text}} 90% none text
{{resize|text}} 90% none text
{{midsize|text}} 92% none text
none 100% none text
{{larger|text}} 110% none text
{{big|text}} 120% none text
{{large|text}} large none text
{{huge|text}} 180% none text
{{resize|x%}} custom none varies
{{font|size=x%}} custom none varies