قالب:User time pro
قالب:Userbox documentation subpage مستخدم:UBX/Purge This template displays date and time with a plain icon on the left. The date-time format as well as look and feel of the userbox can be customized.
الأنماط
First parameter controls which mode is used for the displayed date and/or time.
Wikitext | النتيجة | وصف النمط | ||
---|---|---|---|---|
{{User time pro}}
|
Default with no parameter, or set explicitly. | |||
{{User time pro|iso}}
|
ISO 8601, Zulu time | |||
{{User time pro|date}}
|
Uses {{Date}}, supports its second parameter. | |||
{{User time pro|date|YMD}}
|
||||
{{User time pro|date|MDY}}
|
||||
{{User time pro|today}}
|
First half of the default. | |||
{{User time pro|time}}
|
|
Second half of the default. | ||
{{User time pro|justtime}}
|
||||
{{User time pro|currenttime}}
|
يستخدم magic word {{CURRENTTIME}}
| |||
{{User time pro|format|[[Y "(year)"]]}}
|
Arbitrary formatting using parser function {{#time}} .
| |||
{{User time pro|format|d F Y}}
|
Look and feel
For look and feel customization, this userbox supports following parameters of Template:Userbox:
- border-c
- border color
- border-s
- border size
- id
- left box content
- id-c
- left box background color
- id-fc
- left box text color
- info-c
- info box background color
- info-fc
- info box text color
- info-s
- text size
- info-a
- horizontal text alignment
- info-op
- additional info box CSS
- float
- positioning of the userbox
Other parameters
Purge link can be hidden using |purge=no
.
The above documentation is transcluded from قالب:User time pro/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |