Template:User time pro

From Hârn
Jump to navigation Jump to search
Clock simple.svgToday is Sunday, December 29, 2024
Current time is 19:04 UTC refresh
Template documentation[view] [edit] [history] [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.

Modes[edit source]

First parameter controls which mode is used for the displayed date and/or time.

Wikitext Result Mode description
{{User time pro}}

{{User time pro|default}}

Clock simple.svgToday is Sunday, December 29, 2024
Current time is 19:04 UTC refresh
Default with no parameter, or set explicitly.
{{User time pro|iso}}
Clock simple.svg2024-12-29T19:04Z refresh
ISO 8601, Zulu time
{{User time pro|date}}
Line-style-icons-calendar-black.svg29 December 2024 refresh
Uses {{Date}}, supports its second parameter.
{{User time pro|date|YMD}}
Line-style-icons-calendar-black.svg2024 December 29 refresh
{{User time pro|date|MDY}}
Line-style-icons-calendar-black.svgDecember 29, 2024 refresh
{{User time pro|today}}
Line-style-icons-calendar-black.svgToday is Sunday, December 29, 2024 refresh
First half of the default.
{{User time pro|time}}
Clock simple.svgCurrent time is 19:04 UTC refresh
Second half of the default.
{{User time pro|justtime}}
Clock simple.svg19:04 UTC refresh
{{User time pro|currenttime}}
Clock simple.svg19:04 refresh
Uses magic word {{CURRENTTIME}}
{{User time pro|format|[[Y "(year)"]]}} Arbitrary formatting using parser function {{#time}}.
{{User time pro|format|d F Y}}
Clock simple.svg29 December 2024 refresh

Look and feel[edit source]

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[edit source]

Purge link can be hidden using |purge=no.