Microformats | ||||
|
![]() | This template was considered for deletion on 7 March 2013. The result of the discussion was "keep". |
Further work is needed:
s > 59
m > 59
((HMS))
is taken :-( )Can you help? Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 19:27, 8 August 2010 (UTC)
For some reason, all the occurrences of "duration" now have a message saying: "‹The template Duration is being considered for possible deletion.›"
That leads to the following layout issues in the track listing template: example. As you can see, in the "length" column, this sentence is added before the track length, making each row 9 lines tall, instead of just one line.
Can somebody please fix this and make sure the notice of consideration does not get displayed where it shouldn't? Thank you. --Eddyspeeder (talk) 07:50, 7 March 2013 (UTC)
We could do with adding a switch or switches, such that, say:
((Duration|h=1|m=22|s=34|labels=y))
renders as: 1hr 22min 34sec((Duration|h=1|m=22|labels=y))
renders as: 1hr 22min 00sec((Duration|h=1|m=2|nosec=y))
renders as: 1:02((Duration|h=1|m=2|nosec=y|labels=y))
renders as: 1hr 02min((Duration|m=22|s=34|label=y))
renders as: 22min 34secThoughts? Should we implement Lua at the same time? Can someone help, please? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 23:55, 20 March 2013 (UTC)
The result of the move request was: moved (closed by non-admin page mover) DannyS712 (talk) 06:23, 11 May 2020 (UTC)
– Match name with template * Pppery * it has begun... 03:40, 3 May 2020 (UTC)
Pppery Please change the error message in module line 4: "Error in Module:Hms:" → "Error in Module:Duration:". -DePiep (talk) 14:04, 11 May 2020 (UTC)
Should this template only be used in Template:Infobox album and Template:Infobox song? The documentation states so, but in my years on Wikipedia I've come across quite a few uses in Template:Track listing, which I have removed per what the template explains microformats are for. It seems that there are some editors on Wikipedia who believe any instance of a duration should be formatted using this template and my understanding of what the documentation states is that is not what it's for. Ping Pigsonthewing as the creator of this template to clarify. Ss112 13:09, 30 September 2022 (UTC)
((Infobox album))
and ((Infobox song))
are not the only templates where this one may be used. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 11:55, 2 October 2022 (UTC)
((Track listing))
, but it has no microformat markup, so ((Duration))
is not needed for that purpose It may be desirable for its standardised formatting. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 20:31, 3 October 2022 (UTC)