Template:Track listing total length
Appearance
Usage
[edit]The purpose of the {{Track listing total length}} template is to calculate the total length of the track lengths passed as parameters, when passed in standarized format (i.e. MM:SS). The template does not input or output the inclusion of hours (i.e. no H:MM:SS formats). Up to 20 track times can be passed into the template; however, given that the template itself returns a standarized format timestamp, the results can then be nested if the total time of more than 20 track times is required.
Examples
[edit]- Standard timestamp entries
{{Track listing total length|2:16|3:26|2:33|3:39|3:06|1:09|6:57|8:43|3:50|4:01|3:28|3:56|4:11|3:06}}
54:21
- Timestamp entries and nested template
{{Track listing total length|2:16|3:26|2:33|3:39|3:06|1:09|6:57|8:43|3:50|4:01|3:28|3:56|4:11|3:06|
{{Track listing total length|2:47|3:55|7:33|5:06|3:59|7:26|5:18|4:48|6:06}}
}}
101:19
- Purely nested templates
{{Track listing total length|
{{Track listing total length|2:16|3:26|2:33|3:39|3:06|1:09|6:57|8:43|3:50|4:01|3:28|3:56|4:11|3:06}}|
{{Track listing total length|2:47|3:55|7:33|5:06|3:59|7:26|5:18|4:48|6:06}}|
{{Track listing total length|6:54|2:52|7:00|6:38|3:20|5:40|4:34|2:37|6:02|7:47|7:17|3:30|6:11|7:20}}
}}
179:01