Template:Add colon minutes/doc
< Template:Add colon minutes
Jump to navigation
Jump to search
Revision as of 15:46, 24 January 2018 by blackwiki>Sawol
| This is a documentation subpage for Template:Add colon minutes. It contains usage information, categories and other content that is not part of the original template page. |
|
The Template:Add_colon_minutes adds times of minutes/seconds (in format "mm:ss") and displays the total (as mmm:ss). A typical usage would be to add the times of music tracks for an album. Each time is specified as a parameter (up to 50 parameters). Usage:
The template cannot handle times with dots (".") due to checking the position of the colon, in the calculations. The total time is calculated using the MediaWiki parser function "padleft" and the highly complex substring template {{str_rightc}}.
|