Andoza:Fluctuation formatter: Versiyalar orasidagi farq
Qiyofa
# | {{#switch:{{{type|{{{2|maximize}}}}}}<!-- Check type and use appropriate symbols --> | ||
| maximize = {{#switch:1 | |||
| {{#expr: {{formatnum:{{{1}}}|R}} > {{{threshold|0}}}}} = {{Increase}}{{nbs}}{{{display|{{{custom label|+{{#expr:{{formatnum:{{{1}}}|R}}}}}}}}}} | |||
| {{#expr: {{formatnum:{{{1}}}|R}} < -{{{threshold|0}}}}} = {{Decrease}}{{nbs}}{{{display|{{{custom label|−{{#expr:abs{{formatnum:{{{1}}}|R}}}}}}}}}} | |||
| {{#expr: abs{{formatnum:{{{1}}}|R}} <= {{{threshold|0}}}}} = {{Steady}}{{nbs}}{{#switch:1<!-- Check value and display number or steady label --> | |||
| {{#expr: {{formatnum:{{{1}}}|R}} > 0}} = {{{display|{{{custom label|+{{#expr:{{formatnum:{{{1}}}|R}}}}}}}}}} | |||
| {{#expr: {{formatnum:{{{1}}}|R}} < 0}} = {{{display|{{{custom label|−{{#expr:abs{{formatnum:{{{1}}}|R}}}}}}}}}} | |||
| 1 = {{{display|{{{custom label|{{{steady label|no change}}}}}}}}} | |||
}} | |||
| 1 = <includeonly>{{Error|Error: Unrecognized value.}}</includeonly> | |||
}} | |||
{{ | | minimize = {{#switch:1 | ||
{{ | | {{#expr: {{formatnum:{{{1}}}|R}} > {{{threshold|0}}}}} = {{IncreaseNegative}}{{nbs}}{{{display|{{{custom label|+{{#expr:{{formatnum:{{{1}}}|R}}}}}}}}}} | ||
| {{#expr: {{formatnum:{{{1}}}|R}} < -{{{threshold|0}}}}} = {{DecreasePositive}}{{nbs}}{{{display|{{{custom label|−{{#expr:abs{{formatnum:{{{1}}}|R}}}}}}}}}} | |||
| {{#expr: abs{{formatnum:{{{1}}}|R}} <= {{{threshold|0}}}}} = {{Steady}}{{nbs}}{{#switch:1<!-- Check value and display number or steady label --> | |||
| {{#expr: {{formatnum:{{{1}}}|R}} > 0}} = {{{display|{{{custom label|+{{#expr:{{formatnum:{{{1}}}|R}}}}}}}}}} | |||
| {{#expr: {{formatnum:{{{1}}}|R}} < 0}} = {{{display|{{{custom label|−{{#expr:abs{{formatnum:{{{1}}}|R}}}}}}}}}} | |||
| 1 = {{{display|{{{custom label|{{{steady label|no change}}}}}}}}} | |||
}} | |||
| 1 = <includeonly>{{Error|Error: Unrecognized value.}}</includeonly> | |||
}} | }} | ||
| neutral = {{#switch:1 | |||
| {{#expr: {{formatnum:{{{1}}}|R}} > {{{threshold|0}}}}} = {{IncreaseNeutral}}{{nbs}}{{{display|{{{custom label|+{{#expr:{{formatnum:{{{1}}}|R}}}}}}}}}} | |||
| {{#expr: {{formatnum:{{{1}}}|R}} < -{{{threshold|0}}}}} = {{DecreaseNeutral}}{{nbs}}{{{display|{{{custom label|−{{#expr:abs{{formatnum:{{{1}}}|R}}}}}}}}}} | |||
| {{#expr: abs{{formatnum:{{{1}}}|R}} <= {{{threshold|0}}}}} = {{Steady}}{{nbs}}{{#switch:1<!-- Check value and display number or steady label --> | |||
| {{#expr: {{formatnum:{{{1}}}|R}} > 0}} = {{{display|{{{custom label|+{{#expr:{{formatnum:{{{1}}}|R}}}}}}}}}} | |||
| {{#expr: {{formatnum:{{{1}}}|R}} < 0}} = {{{display|{{{custom label|−{{#expr:abs{{formatnum:{{{1}}}|R}}}}}}}}}} | |||
| 1 = {{{display|{{{custom label|{{{steady label|no change}}}}}}}}} | |||
}} | |||
| 1 = <includeonly>{{Error|Error: Unrecognized value.}}</includeonly> | |||
}} | |||
| {{{type|{{{2|maximize}}}}}} = {{Error|Error: Unrecognized type. Please use "maximize", "minimize", or "neutral".}} | |||
}}<noinclude> | |||
{{Documentation}} | |||
</noinclude> | |||
$2, $3 dagi (joriy) koʻrinishi
| Tajriba oʻtkazish uchun qumloq va test sahifasidan foydalaning. Iltimos, turkumlarni hujjat sahifasiga va intervikilarni vikimaʼlumotlarga joylashtiring. Ushbu andoza ostsahifalari. |