Template:Resize: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Jo-Jo Eumerus
m Changed protection level for "Template:Resize": Allowing template editors on some templates with full protection dating back to pre-TPROT times which aren't too often or too sensitively used. ([Edit=Require template editor access] (ind...
meta>Ahecht
Copy from sandbox. Make substable
Line 1: Line 1:
{{#if:{{{2|}}}
{{safesubst<noinclude />:#if:{{{2|}}}
|<span style="font-size:{{{1|}}};">{{{2|}}}</span>
|<span style="font-size:{{{1|}}};">{{{2|}}}</span>
|<span style="font-size:90%;">{{{1}}}</span>
|<span style="font-size:90%;">{{{1}}}</span>

Revision as of 00:41, 17 April 2020

{{{1}}}

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for Resize

It is to change the font size of a text string. Two forms {{resize|<size>|<text>}} and {{resize|<text>}} are possible.

Template parameters

ParameterDescriptionTypeStatus
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%'.

Stringrequired
Text when size is given2

The text to display in the two parameter version.

Stringoptional