Template:Decrease: Difference between revisions
m (1 revision imported) |
en>Sdkb (adding size parameter, per Template_talk:Increase#Size_parameter) |
||
| Line 1: | Line 1: | ||
[[File:Decrease2.svg|11px|alt={{{1|Decrease}}}|link=|{{{1|Decrease}}}]]<noinclude> | [[File:Decrease2.svg|{{{size|11px}}}|alt={{{1|Decrease}}}|link=|{{{1|Decrease}}}]]<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 17:55, 8 September 2020
| Warning | This template is used on 33,000+ pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Icons to show fluctuation
TemplateData for Decrease
To automatically display the appropriate symbol along with a value, use {{Fluctuation formatter}}.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Tooltip text | 1 | Changes the text displayed on hover.
| String | optional |
| size | size | Changes the size of the icon. Use when adjacent to small/large text.
| Unknown | optional |
Format: inline
This is one of a series of templates to display an increase or decrease arrow icon. {{Increase}} = {{IncreasePositive}} = {{Gain}} = {{Profit}} is a green up arrow. {{Decrease}} = {{DecreaseNegative}} = {{Down}} = {{Loss}} is a red down arrow. {{Steady}} = {{Nochange}} is a flat line for no change. Where the quantity involved should be minimized (e.g. road accidents), use {{IncreaseNegative}} and {{DecreasePositive}} instead, which flip the colors. Where the quantity involved is neither color, use {{IncreaseNeutral}} and {{DecreaseNeutral}}., , To automatically display the appropriate symbol along with a value, use {{Fluctuation formatter}}.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Tooltip text | 1 | Changes the text displayed on hover.
| String | optional |
| size | size | Changes the size of the icon. Use when adjacent to small/large text.
| Unknown | optional |