Template:Date table sorting/testcases/block: Difference between revisions

Content deleted Content added
m Jimp moved page Template talk:Dts/sandbox to Template:Dts/testcases/block without leaving a redirect: The page was only full of test cases. It's standard to put these on a page named ".../testcases". This is part of the creation of such.
test various formatting possibilities
Line 1:
<noinclude>{|class="wikitable sortable"
==Sandbox Examples==
</noinclude>{{dts/testcases/row
 
|{{{1|<noinclude>{{#time:j M Y}}</noinclude>}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|align=left
{|class=wikitable
|abbr={{{abbr|}}}|addkey={{{addkey|}}}
|-
|}}
!Dts
{{dts/testcases/row
!Dts/sandbox
|{{{1|<noinclude>{{#time:j M Y}}</noinclude>}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|align=left
|-
|abbr={{{abbr|}}}|addkey={{{addkey|}}}|format=dmy
|
}}
{{Dts/examples}}
{{dts/testcases/row
;debug
|{{{1|<noinclude>{{#time:j M Y}}</noinclude>}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|align=left
{{Dts/examples|debug=yes}}
|abbr={{{abbr|}}}|addkey={{{addkey|}}}|format=mdy
|
}}
{{Dts/examples|sb=/sandbox}}
{{dts/testcases/row
;debug
|{{{1|<noinclude>{{#time:j M Y}}</noinclude>}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|align=left
{{Dts/examples|sb=/sandbox|debug=yes}}
|abbr={{{abbr|}}}|addkey={{{addkey|}}}|format=dm
|}
}}
{{dts/testcases/row
|{{{1|<noinclude>{{#time:j M Y}}</noinclude>}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|align=left
|abbr={{{abbr|}}}|addkey={{{addkey|}}}|format=md
}}
{{dts/testcases/row
|{{{1|<noinclude>{{#time:j M Y}}</noinclude>}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|align=left
|abbr={{{abbr|}}}|addkey={{{addkey|}}}|format=my
}}
{{#if:{{{abbr|}}}||
{{dts/testcases/row
|{{{1|<noinclude>{{#time:j M Y}}</noinclude>}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|align=left
|abbr={{{abbr|}}}|addkey={{{addkey|}}}|format=d
}}
}}
{{dts/testcases/row
|{{{1|<noinclude>{{#time:j M Y}}</noinclude>}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|align=left
|abbr={{{abbr|}}}|addkey={{{addkey|}}}|format=m
}}
{{#if:{{{abbr|}}}||
{{dts/testcases/row
|{{{1|<noinclude>{{#time:j M Y}}</noinclude>}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|align=left
|abbr={{{abbr|}}}|addkey={{{addkey|}}}|format=y
}}
{{dts/testcases/row
|{{{1|<noinclude>{{#time:j M Y}}</noinclude>}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|align=left
|abbr={{{abbr|}}}|addkey={{{addkey|}}}|format=hide
}}
}}<noinclude>
|}</noinclude>