Difference between revisions of "Template:CURRENTMINUTE/doc"

From blackwiki
Jump to navigation Jump to search
imported>Gimmetrow
m (Reverted edits by Darkicebot (talk) to last version by Tlustulimu)
imported>Tlustulimu
m (interwiki)
Line 14: Line 14:
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Date-computing templates based on current time|{{PAGENAME}}]]
 
[[Category:Date-computing templates based on current time|{{PAGENAME}}]]
 
+
[[dsb:Pśedłoga:CURRENTMINUTE]]
 
[[fr:Modèle:CURRENTMINUTE]]
 
[[fr:Modèle:CURRENTMINUTE]]
 
[[hr:Predložak:CURRENTMINUTE]]
 
[[hr:Predložak:CURRENTMINUTE]]
Line 20: Line 20:
 
[[ja:Template:CURRENTMINUTE]]
 
[[ja:Template:CURRENTMINUTE]]
 
[[ru:Шаблон:CURRENTMINUTE]]
 
[[ru:Шаблон:CURRENTMINUTE]]
 +
[[stq:Foarloage:CURRENTMINUTE]]
 
[[su:Citakan:CURRENTMINUTE]]
 
[[su:Citakan:CURRENTMINUTE]]
 
[[sv:Mall:CURRENTMINUTE]]
 
[[sv:Mall:CURRENTMINUTE]]
 
</includeonly>
 
</includeonly>

Revision as of 18:11, 2 January 2010

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:21.

Syntax:
{{CURRENTMINUTE}}
Use {{subst:CURRENTMINUTE|subst=subst:}} 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}} = 20260625142144, and different "current" templates and variables can reflect different timestamps near hh:mm:59.