الگو:Resize: تفاوت بین نسخهها
از پژوهشکده امر به معروف
(صفحهای تازه حاوی «{{#if:{{{2|}}} |<span style="font-size:{{{1|}}};">{{{2|}}}</span> |<span style="font-size:90%;">{{{1}}}</span> }}<noinclude> {{documentatio...» ایجاد کرد) |
(صفحهای تازه حاوی «{{#if:{{{2|}}} |<span style="font-size:{{{1|}}};">{{{2|}}}</span> |<span style="font-size:90%;">{{{1}}}</span> }}<noinclude> {{documentatio...» ایجاد کرد) |
(بدون تفاوت)
| |
نسخهٔ ۱۳ اسفند ۱۳۹۴، ساعت ۱۳:۰۴
{{{1}}}
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for Resize
Template to aid switching the font-size used for a text string. Two forms {{resize|<size>|<text>}} and {{resize|<text>}} are possible.
| پارامتر | توضیحات | نوع | وضعیت | |
|---|---|---|---|---|
| Size/Text | 1 | 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%'.
| string | ضروری |
| Text when size is given | 2 | The text to display in the two parameter version.
| string | اختیاری |







