Difference between revisions of "Template:CURRENTMINUTE/doc"

From blackwiki
Jump to navigation Jump to search
imported>Darkicebot
imported>Gimmetrow
m (Reverted edits by Darkicebot (talk) to last version by Tlustulimu)
Line 15: Line 15:
 
[[Category:Date-computing templates based on current time|{{PAGENAME}}]]
 
[[Category:Date-computing templates based on current time|{{PAGENAME}}]]
  
 +
[[fr:Modèle:CURRENTMINUTE]]
 +
[[hr:Predložak:CURRENTMINUTE]]
 +
[[hsb:Předłoha:CURRENTMINUTE]]
 +
[[ja:Template:CURRENTMINUTE]]
 +
[[ru:Шаблон:CURRENTMINUTE]]
 +
[[su:Citakan:CURRENTMINUTE]]
 +
[[sv:Mall:CURRENTMINUTE]]
 
</includeonly>
 
</includeonly>
 
[[simple:Template:CURRENTMINUTE/doc]]
 

Revision as of 13:58, 21 February 2009

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 11:55.

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}} = 20260626115530, and different "current" templates and variables can reflect different timestamps near hh:mm:59.