Template:TimeHMS: Difference between revisions

Use :Time instead of :Common
(Created page with "Takes in a number of seconds and converts it into "X days, H:M:S" For example, {{T|Time|90135}} becomes {{Time|90135}}. This is a convenience function for Template:Time. This uses a function inside of Module:Common.<onlyinclude><includeonly>{{#invoke:common|prettyPrintTime|{{{1}}}|hms=true}}</includeonly></onlyinclude>")
 
(Use :Time instead of :Common)
Line 1: Line 1:
Takes in a number of seconds and converts it into "X days, H:M:S"
Takes in a number of seconds and converts it into "X days, H:M:S"
For example, {{T|Time|90135}} becomes {{Time|90135}}. This is a convenience function for [[Template:Time]].
For example, {{T|TimeHMS|90135}} becomes {{TimeHMS|90135}}. This is a convenience function for [[Template:Time]].


This uses a function inside of [[Module:Common]].<onlyinclude><includeonly>{{#invoke:common|prettyPrintTime|{{{1}}}|hms=true}}</includeonly></onlyinclude>
This uses a function inside of [[Module:Time]].<onlyinclude><includeonly>{{#invoke:Time|prettyPrintTime|{{{1}}}|hms=true}}</includeonly></onlyinclude>
2,875

edits