قالب:Resize
{{{1}}}
[edit] Template documentation
This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see Wikipedia:COinS. |
This template is a tailored shortcut to {{resize}}.
Comparison
Code | Equivalent | Result |
---|---|---|
{{smaller|text}} | خطأ: لا توجد وحدة بهذا الاسم "Template link general". | text |
{{larger|text}} | خطأ: لا توجد وحدة بهذا الاسم "Template link general". | text |
{{large|text}} | خطأ: لا توجد وحدة بهذا الاسم "Template link general". | text |
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% | <big> |
text |
{{large|text}} | 125% | none | text |
{{huge|text}} | 180% | none | text |
{{resize|x%}} | custom | none | varies |
{{font|size=x%}} | custom | none | varies |
See also
- Category:Resizing templates
- {{smalldiv}}, for wrapping multiple lines of text that cause syntax errors when wrapped by {{resize}} or {{small}}
- font-size - CSS: Cascading Style Sheets | Mozilla Developer Network
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
خطأ: لا توجد وحدة بهذا الاسم "Check for unknown parameters".
TemplateData for Resize
It is to change the font size of 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%'. | نص | مطلوب |
Text when size is given | 2 | The text to display in the two parameter version. | نص | اختياري |
Use div tag | div | Set to yes to use a div instead of a span tag. | نص | اختياري |