الگو: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}}}

Documentation icon Template documentation[create]

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

پیش‌فرض
خالی
مثال
خالی
مقدار خودکار
خالی
stringضروری
Text when size is given2

The text to display in the two parameter version.

پیش‌فرض
خالی
مثال
خالی
مقدار خودکار
خالی
stringاختیاری