Difference between revisions of "Template:MINUTE/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎top: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
imported>Jonesey95
m (Fix Linter errors using AutoEd)
 
Line 4: Line 4:
 
; Syntax&nbsp;<nowiki>:</nowiki>
 
; Syntax&nbsp;<nowiki>:</nowiki>
 
: <nowiki>{{</nowiki>MINUTE<nowiki>|</nowiki>''time''}}
 
: <nowiki>{{</nowiki>MINUTE<nowiki>|</nowiki>''time''}}
−
* The ''time'' must be in the <tt>hh:mm</tt> format (between 00:00 and 23:60 or 24:00), or can be any valid numeric expression of a real number of minutes (this computed numeric value is processed modulo 60).
+
* The ''time'' must be in the <code>hh:mm</code> format (between 00:00 and 23:60 or 24:00), or can be any valid numeric expression of a real number of minutes (this computed numeric value is processed modulo 60).
  
 
; See also&nbsp;<nowiki>:</nowiki>
 
; See also&nbsp;<nowiki>:</nowiki>

Latest revision as of 17:51, 3 June 2020

This template simply returns the integer minute on two digits (between 00 and 59) for the time in parameter.

Syntax :
{{MINUTE|time}}
  • The time must be in the hh:mm format (between 00:00 and 23:60 or 24:00), or can be any valid numeric expression of a real number of minutes (this computed numeric value is processed modulo 60).
See also :