Lompat ke isi

Cèṭa'an:Fluctuation formatter

Ḍâri Wikipèḍia bhâsa Madhurâ, lombhung pangataowan mardhika
Dokumentasi cèṭaan[tèngghu] [beccè] [sejarah] [purge]

Takes a value and displays an

  1. REEDIRECT Template:Template link
TemplateStyles' src attribute must not be empty.,
  1. REEDIRECT Template:Template link
TemplateStyles' src attribute must not be empty., or
  1. REEDIRECT Template:Template link
TemplateStyles' src attribute must not be empty. symbol with the value based (by default) on whether it is positive, negative, or zero. The type of value can be specified using the second parameter as "maximize", "minimize", or "neutral". Can be called using the shortcut
  1. REEDIRECT Template:Template link
TemplateStyles' src attribute must not be empty.. It's meant to be used to show a fluctuation snapshot, where the provided value indicates a move up (positive) or down (negative), or possibly held steady (zero = no change) in relationship to some earlier measurement.

For example, a positive Value with a Type of "maximize" (the default) will show the green upward arrow of

  1. REEDIRECT Template:Template link
TemplateStyles' src attribute must not be empty., as that type assumes the goal is for the value to be maximized. Likewise, a negative Value with a Type of "maximize" produces the red downward arrow of
  1. REEDIRECT Template:Template link
TemplateStyles' src attribute must not be empty..

Inversely, a positive Value with a Type of "minimize" will show the red downward arrow of

  1. REEDIRECT Template:Template link
TemplateStyles' src attribute must not be empty., as that type assumes the goal is for the value to be minimized, but as a positive number, it's gone the wrong direction. Likewise, a negative Value with a Type of "minimize" produces the green upward arrow of
  1. REEDIRECT Template:Template link
TemplateStyles' src attribute must not be empty., since a minimized value is sought and the value has moved in that direction.

Examples

[beccè' sombher]

TemplateData

[beccè' sombher]

Takes a value and displays an increase, decrease, or steady symbol based on whether the value is positive, negative, or zero.

Parameter templat

ParameterKeteranganJenisStatus
Value1

The value being fed to the template

Contoh
-47
Angkawajib diisi
Type2 type

The type of value being fed to the template, which affects the arrow color. Use "maximize", "minimize", or "neutral".

Baku
Maximize
Tak dikenalopsional
steady labelsteady label

Specifies custom text to use alongside a steady result

Baku
no change
Contoh
unchanged
Kataopsional
custom labelcustom label

Specifies a custom value to display instead of the one being fed into the template

Kataopsional
thresholdthreshold

Specifies the maximum deviation from zero for which a steady symbol will display

Baku
0
Angkaopsional

See also

[beccè' sombher]