Template:Date and time cal
Appearance
Thursday
14
November
03:54 UTC
- options
Option | default | description |
---|---|---|
border-width | 1px | general border width (not including shadow). Options include keywords like thin, medium, or thick relative and absolute lengths (px (pixel, em (the 'font-size' of the relevant font - em length), cm (centimetres), mm (milimetres), ex (ex-length of font (basically half an em)), in (inch), pt (point 1/72nd of an inch), pc (pica 1/12 point)) however its recommended to only use pixles (px) and EMs (em) or keyword for this option |
border-colour | #CCC (medium grey) | colour of border specified by either rgb(0-255, 0-255, 0-255) or rgb(0-100%, 0-100%, 0-100%) for each red green blue value(for example if you want white it would be rgb(255,255,255) or rgb(100%,100%,100%) ). Or using sRGB #00-FF 00-FF 00-FF (white is #FFFFFF) or in shortened form #0-F 0-F 0-F (white is #FFF). Or you can use a colour name (white is white) |
background | transparent | Same as colour. you can also specify inherit, transparent as well as an image via url(http://whatever.the.url.is.invalid). see here for more complex options |
shadow-width | 3px | How big the shadow is. Same units as border-width |
shadow-colour | #CCC | Same units as border-colour |
align | right | which side of the page its floated to |
class | none | CSS class to assign. in form of space separated list. try putting in rss as the class to see what happens. Note the class of timedatebox is always assigned to this template regardless of the option of this template |
text-colour | inherit | Colour of text. standard colors |
timecolour | text-colour if set else #000 | Colour of time text. standard colours |
timehighlight | #aaa | Colour of highlighted time. standard colours, plus background properties |
timezonedif | +0 hours | Time zone difference. in form of +x hours, or -x hours. |
timezone | UTC | Timezone name. Make sure to coordinate with timezonedif. If you don't want to use one leave blank like timezone= |
time-format | H":"i | For the time only. use quotes to escape stuff. H is hour, i is minute, s is minute. case sensitive. for more codes see meta:ParserFunctions#.23time: |
See source for timezone options.