Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Statsbar/doc

Template page
Revision as of 08:45, 28 September 2024 by Adam (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


Cookies help us deliver our services. By using our services, you agree to our use of cookies. We only use cookie to make the site function and save your preferences, nothing else.