Template:Format time/testcases
Jump to navigation
Jump to search
![]() | This is the template test cases page for the sandbox of Template:Format time. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Contents
No named parameters
ExpandHour and minute |
---|
ExpandHour and minute 2 |
---|
ExpandAll time params; none named |
---|
Named parameters
Expandnamed hour, minute and second |
---|
Time zones
Expandmm before hh |
---|
ExpandEST |
---|
ExpandTime zone Z |
---|
Hour formats
12 hour time
Unpadded (g)
Expand12 hour unpadded time |
---|
Expand12 hour unpadded time 2 |
---|
Padded (h)
Expand12 hour padded time |
---|
Expand12 hour padded time 2 |
---|
24 hour time
Unpadded (G)
Expand24 hour unpadded time |
---|
Expand24 hour unpadded time 2 |
---|
Padded (H)
Expand24 hour padded time |
---|
Expand24 hour padded time 2 |
---|
Combined tests
ExpandTime joiner and am/pm 1 |
---|
ExpandTime joiner and am/pm 2 |
---|
ExpandTime joiner and AM/PM 1 |
---|
ExpandTime joiner and AM/PM 2 |
---|
Just hours and less
No hour format supplied
ExpandJust hour |
---|
ExpandJust hour and minutes |
---|
Expandhh mm ss |
---|
12 hour unpadded (g)
Expandg Just hour |
---|
Expandg Just hour and minutes |
---|
Expandg hh mm ss |
---|
12 hour padded (h)
Expandh Just hour |
---|
Expandh Just hour and minutes |
---|
Expandh hh mm ss |
---|
24 hour unpadded (G)
ExpandG Just hour |
---|
ExpandG Just hour and minutes |
---|
ExpandG hh mm ss |
---|
24 hour padded (H)
ExpandH Just hour |
---|
ExpandH Just hour and minutes |
---|
ExpandH hh mm ss |
---|