Difference between revisions of "Template:CURRENTMINUTE/doc"
Jump to navigation
Jump to search
imported>Daemorris m |
imported>Amalthea (Uses safesubst: (meta:Help:Safesubst)) |
||
| Line 4: | Line 4: | ||
This template extracts the current integer minute on two digits (between 00 and 59) from the current UTC time (as set on the Wikimedia server). | This template extracts the current integer minute on two digits (between 00 and 59) from the current UTC time (as set on the Wikimedia server). | ||
The shown value should match the right hand side of {{CURRENTTIME}}. | The shown value should match the right hand side of {{CURRENTTIME}}. | ||
| + | |||
| + | This template can be substituted. | ||
; Syntax: | ; Syntax: | ||
: <nowiki>{{</nowiki>CURRENTMINUTE<nowiki>}}</nowiki> | : <nowiki>{{</nowiki>CURRENTMINUTE<nowiki>}}</nowiki> | ||
| − | : Use {{subst:CURRENTMINUTE | + | : Use {{subst:CURRENTMINUTE}} to substitute the current minute. |
| − | : Use {{subst:CURRENTMINUTE}} to copy the code in a form that is ready for [[Help:Substitution#Optional substitution|optional substitution]] in another template. | + | : Use {{subst:CURRENTMINUTE|=}} to copy the code in a form that is ready for [[Help:Substitution#Optional substitution|optional substitution]] in another template. |
; Warning: | ; Warning: | ||
: Pages asking for the current minute often also need other parts of {{evaldemo|CURRENTTIMESTAMP|=}}, and different "current" templates and variables can reflect different timestamps near hh:mm:59. | : Pages asking for the current minute often also need other parts of {{evaldemo|CURRENTTIMESTAMP|=}}, and different "current" templates and variables can reflect different timestamps near hh:mm:59. | ||
Revision as of 13:34, 29 April 2010
| 40px | This is a documentation subpage for Template:CURRENTMINUTE. It contains usage information, categories and other content that is not part of the original template page. |
This template extracts the current integer minute on two digits (between 00 and 59) from the current UTC time (as set on the Wikimedia server). The shown value should match the right hand side of 14:20.
This template can be substituted.
- Syntax:
- {{CURRENTMINUTE}}
- Use {{subst:CURRENTMINUTE}} to substitute the current minute.
- Use {{subst:CURRENTMINUTE|=}} to copy the code in a form that is ready for optional substitution in another template.
- Warning:
- Pages asking for the current minute often also need other parts of
{{CURRENTTIMESTAMP}}= 20260624142023, and different "current" templates and variables can reflect different timestamps near hh:mm:59.