Template:Decrease/doc

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search

Icons to show fluctuation

<span style="" title="<translate nowrap> View this template</translate>"><translate> view</translate> · <span style="" title="<translate nowrap> Discuss this template</translate>"><translate> talk</translate> · <span style="" title="<translate nowrap> Edit this template</translate>"><translate> edit</translate>


This is the TemplateData documentation for this template used by VisualEditor and other tools.

Decrease

This is one of a series of templates to display an increase or decrease arrow icon. Increase {{Increase}} = {{IncreasePositive}} = {{Up}} = {{Gain}} = {{Profit}} is a green up arrow. Decrease {{Decrease}} = {{DecreaseNegative}} = {{Down}} = {{Loss}} is a red down arrow. Steady {{Steady}} = {{Nochange}} = {{Same}} is a flat line for no change. Where the quantity involved should be minimized (e.g. road accidents), use Negative increase {{IncreaseNegative}} and Positive decrease {{DecreasePositive}} instead, which flip the colors. Where the quantity involved is neither color, use Neutral increase {{IncreaseNeutral}} and Neutral decrease {{DecreaseNeutral}}.

To automatically display the appropriate symbol along with a value, use {{Fluctuation formatter}}.
Tooltip text1
Changes the text displayed on hover.
Default
Defaults to something appropriate to the chosen template, such as "Increase".
Example
−5%
sizesize
Changes the size of the icon. Use when adjacent to small/large text.
Default
11px

See also