Template:Statsbar/doc

Template page
Revision as of 20:27, 10 January 2024 by Royken (talk | contribs) (Created page with "{{Documentation}} {{t|Statsbar}} displays a list of stats in a horizontal scrollable bar. == Usage == Please remove the parameters that are left blank. <syntaxhighlight lang="wiki"> {{Statsbar |label1 = |data1 = |label2 = |data2 = |label3 = |data3 = }} </syntaxhighlight> == Parameter list == ;<code>label<sub>n</sub></code> :Label text for the stat ;<code>data<sub>n</sub></code> :Data/value for the stat ;<code>desc<sub>n</sub></code> :Description text for th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{Statsbar}} displays a list of stats in a horizontal scrollable bar.

Usage

Please remove the parameters that are left blank.

{{Statsbar
|label1 = 
|data1 = 

|label2 = 
|data2 = 

|label3 = 
|data3 = 
}}

Parameter list

labeln
Label text for the stat
datan
Data/value for the stat
descn
Description text for the stat
id
ID used for HTML, mostly used in template

Example

{{Statsbar
|label1 = MPUV Cargo
|data1 = 18,211
|desc1 = Winner

|label2 = Mercury
|data2 = 18,037

|label3 = C2 Hercules
|data3 = 12,894
}}

gives

MPUV Cargo
18,211
Winner
Mercury
18,037
C2 Hercules
12,894