Mal:Service award progress/doc
This is a documentation subpage for Mal:Terminate sentence It may contain usage information, categories and other content that is not part of the original mal page. |
This template uses Lua: |
A template to show progress towards a service award, in both edits and days. The values in the second progress bar will sometimes be fractional because of the varying number of days that go in a month.
Usage
[uah wit]{{Service award progress|year=year|month=month|day=day|edits=edits}}
The first four parameters (|year=
, |month=
, |day=
, and |edits=
) are all required and should be set in the same manner as those in {{Service awards}}. So:
|year=
4-digit year of account creation (e.g. "2001")|month=
Numerical month of account creation (e.g. "9" for September or "11" for November)|day=
Numerical day of account creation (e.g. "8" or "21")|edits=
Number of user edits
Optional parameters
[uah wit]|genderoverride=
– If you don't want the system to indicate the gender set in your preferences, set this parameter to the one you want to be indicated (eitherhe
,she
,he or she
, or any other desired pronoun).|style=
Style to be appended to the box's style (at the moment,border:1px solid #A3B1BF; padding:.5em 1em 1em 1em; background-color:#f7fff8; color:#000
)|styleoverride=
Style which completely replaces the default box style.|displayall=
– When given any non-empty value, forces the display of both the "time" progress bar and the "edits" progress bar.|edit_count_url=
custom URL fragment for the edit counter. The default URL fragment used ishttps://xtools.wmflabs.org/ec/en.wikipedia.org/
. If you want the "quick and simple edit counter", usehttps://xtools.wmflabs.org/sc/en.wikipedia.org/
. The value for this parameter will have your username appended to it.
See also
[uah wit]TemplateData
[uah wit]A template to show progress towards a service award, in both edits and days. The values in the second progress bar will sometimes be fractional because of the varying number of days that go in a month.
Paraméter | Déskripsi | Soroh | Status | |
---|---|---|---|---|
Year of account creation | year | Year of account creation (4 digits) | Angka | perlu |
Month of account creation | month | Month of account creation (2 digits)
| Angka | perlu |
Day of account creation | day | Day of account creation (2 digits)
| Angka | perlu |
User edits | edits | Number of user edits | Angka | perlu |
Gender | genderoverride | If you don't want the system to indicate the gender set in your preferences, set this parameter to the one you want to be indicated (either he, she, he or she, or any other desired pronoun).
| Kruna | kanikayang |
Style | style | Style to be appended to the box's style (see doc) | Kruna | dadi-dadi |
Style (override default) | styleoverride | Style which completely replaces the default box style. | Kruna | dadi-dadi |
Display both bars | displayall | When given any non-empty value, forces the display of both the "time" progress bar and the "edits" progress bar | Nénten kauningin | dadi-dadi |
Edit count URL | edit_count_url | Custom URL fragment for the edit counter. The value for this parameter will have your username appended to it.
| URL | dadi-dadi |