Difference between revisions of "Template:CURRENTMINUTE/doc"

From blackwiki
Jump to navigation Jump to search
imported>Yahia.barie
imported>DixonDBot
m (Migrating 11 interwiki links, now provided by Wikidata on d:Q7486677)
Line 16: Line 16:
 
<!-- 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}}]]
[[bn:টেমপ্লেট:CURRENTMINUTE]]
 
[[dsb:Pśedłoga:CURRENTMINUTE]]
 
[[fr:Modèle:CURRENTMINUTE]]
 
[[hr:Predložak:CURRENTMINUTE]]
 
[[hsb:Předłoha:CURRENTMINUTE]]
 
[[ja:Template:CURRENTMINUTE]]
 
[[pt:Predefinição:CURRENTMINUTE]]
 
[[ru:Шаблон:CURRENTMINUTE]]
 
[[stq:Foarloage:CURRENTMINUTE]]
 
[[su:Citakan:CURRENTMINUTE]]
 
[[sv:Mall:CURRENTMINUTE]]
 
 
</includeonly>
 
</includeonly>

Revision as of 03:24, 27 March 2013

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 07:46.

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