Template talk:Reviseddate
Documentation[edit]
Wikitext[edit]
Note: No new line is in these templates.
Note: on this page the wikitext {{{a}}} is written as [a].
This Template:Reviseddate (talk, backlinks, edit) contains: (here the wikitext is too long, a short form is given)
{{reviseddate/h
|[2]
|[3]
|[4]
|[[00:00|]|00][[00:01|]|00]...[[00:59|]|00][[01:00|]|01]...[[23:59|]|23]{{{1}}}=hourandtimezone
|=
}}
and Template:Reviseddate/h (talk, backlinks, edit) contains: (here the wikitext is too long, a short form is given)
{{reviseddate/d
|[1][3][[00-12|]|-1]...[[00+12|]|]...[[23-11|]|]...[[23+11|]|+1]=[3] [2]
|=
}}
and and Template:Reviseddate/d (talk, backlinks, edit) contains: (here the wikitext is too long, a short form is given)
[[0101-1|]|31 December][0101|][[0101+1|]|02 January]
...
[[1231-1|]|30 December][1231|][[1231+1|]|01 January]
Purpose[edit]
This template gives local date of your specified timezone.
Mechanism[edit]
Similar to Template:Revisedtime, see Template talk:Revisedtime.
Usage[edit]
{{Reviseddate |your local timezone: -12,-11,...,-1,0,+1,...,+12 |{{CURRENTMONTH}} |{{CURRENTMONTHNAME}} |{{CURRENTDAY}} |{{CURRENTTIME}}=now |= }}
A little many parameter are for recuding server load. If you think it's too troublesome, or you just use it as your signature, you can use Template:Rdate to shield surplus parameters.
Note: because of the cache mechanism, the result will not update automatically without purging or editing. So it's not suggested to use it as revised CURRENTDAY or CURRENTMONTHNAME.
Examples[edit]
{{Reviseddate|0|{{CURRENTMONTH}}|{{CURRENTMONTHNAME}}|{{CURRENTDAY}}|{{CURRENTTIME}}=now|=}}
gives 19 April.{{Reviseddate|+8|{{CURRENTMONTH}}|{{CURRENTMONTHNAME}}|{{CURRENTDAY}}|{{CURRENTTIME}}=now|=}}
gives 20 April.{{Reviseddate|0|12|December|31|23:59=now|=}}
gives 31 December.{{Reviseddate|+8|12|December|31|23:59=now|=}}
gives 01 January.
See also[edit]
History[edit]
- Created
- Upssdr 07:57, 7 February 2006 (UTC)