Template:Progression

From Portals of Phereon Wiki
Revision as of 04:33, 21 November 2019 by portalsofphereon>Olaroll (Created page with "<includeonly>{{#switch:<translate></translate> | = <table width={{#if:{{{width|}}}|{{{width|}}}|50%}} align=center style="background:transparent"> <tr> <td align=center>{{#if:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[view | edit | purge]Documentation

Syntax

{{Progression|percent}}

The percent is a number between 0 and 100, without the trailing %.

{{Progression|param1|param2}}

Calculates the progression as a function of param1/param2

{{Progression|param1|param2|task=param3}}

Calculates the progression as a function of param1/param2, and displays a task label on the bar.

Examples

1 parameter (percent)

{{Progression|0}} : Script error: No such module "Template translation".

{{Progression|0.5}} : Script error: No such module "Template translation".

{{Progression|1}} : Script error: No such module "Template translation".

{{Progression|36.7}} : Script error: No such module "Template translation".

{{Progression|100}} : Script error: No such module "Template translation".

2 parameters

{{Progression|0|250}} : Script error: No such module "Template translation".

{{Progression|100|250}} : Script error: No such module "Template translation".

{{Progression|200|300}} : Script error: No such module "Template translation".

{{Progression|300|300}} : Script error: No such module "Template translation".

3 parameters

{{Progression|0|250|task=Sorting articles}} : Script error: No such module "Template translation".

{{Progression|100|250|task=Sorting articles}} : Script error: No such module "Template translation".

[view | edit | purge]The above documentation is transcluded fromTemplate:Progression/doc.