Template:Increase/sandbox

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Increase

Template documentation[view] [edit] [history] [purge]

Icons to show fluctuation[edit]

These templates show icons to indicate increase or decrease, such as ranking in a list or company profit.

An optional first argument alters the tooltip comment. For example, {{Decrease|-5%}} produces -5%.

In cases where a symbol is needed to represent an increase that is "bad" or a decrease that is "good", such as a rise or fall in road accident fatalities, the following should be used:

TemplateData[edit]

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

See the monthly error report for this template.

TemplateData for Increase

This is one of a series of templates to display an increase or decrease arrow icon. {{Increase}} is a green up arrow, {{Decrease}} a red down arrow, and {{Steady}} 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.

Template parameters

This template has custom formatting.

Parameter Description Type Status
Tooltip text 1

Changes the text displayed on hover.

Default
Defaults to something appropriate to the chosen template, such as "Increase".
Example
-5%
Auto value
empty
String optional