Template:Progressbar/doc

Template page
Revision as of 08:21, 26 November 2022 by imported>Alistair3149
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{Progressbar}} is used to display a progress bar.

Usage

{{progressbar
|progressnumber = <!-- Current progress (number only) -->
|progresstext = <!-- Description text for the progress (optional) -->
|prev = <!-- Label for the previous item (optional) -->
|next = <!-- Label for the next item (optional) -->
}}

Example

{{progressbar
|progressnumber = 45
|progresstext = 10,324 exp to go
|prev = Level 15
|next = Level 16
}}

gives:

Level 15
Level 16

TemplateData

This template is used to display a progress bar

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Progress in percentprogressnumber

Current progress (number only)

Default
0
Example
45
Numberrequired
Previous itemprev

Label for the previous item

Example
Level 1
Unknownsuggested
Next itemnext

Label for the next item

Example
Level 2
Unknownsuggested
Progress descriptionprogresstext

Description text for the progress

Example
10,000 exp to go
Unknownsuggested