imported>Tjtrumpet2323 |
imported>Tjtrumpet2323 |
(18 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | My sandbox | + | '''My sandbox:''' [[User:Tjtrumpet2323/sandbox/1|1]] | [[User:Tjtrumpet2323/sandbox/2|2]] | [[User:Tjtrumpet2323/sandbox/3|3]] – [{{fullurl:{{FULLPAGENAME}}|action=purge}} Refresh this page] |
− | | + | * [[User:Tjtrumpet2323/sandbox/Main Page|Replacement candidate for Main Page]] |
− | == MediaWiki Implementation Tests ==
| |
− | | |
− | {| class="wikitable" style="text-align: left; vertical-align: top; border: 3px solid black; border-collapse: collapse; margin: 1em" border="1" cellpadding="2"
| |
− | ! Code !! Output
| |
− | |-
| |
− | | <nowiki>{{#vardefine: date|2008-07-01}}</nowiki>
| |
− | | {{#vardefine: date|2008-07-01}}
| |
− | |-
| |
− | | <nowiki>{{#dow:{{#time: Y|{{#var:date}}}}|{{#time: m|{{#var:date}}}}|{{#time: d|{{#var:date}}}}}}</nowiki>
| |
− | | {{#dow:{{#time: Y|{{#var:date}}}}|{{#time: m|{{#var:date}}}}|{{#time: d|{{#var:date}}}}}} | |
− | |-
| |
− | ! Non-30W Code !! Non-30W Output
| |
− | |-
| |
− | | <nowiki>{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}}}}|{{#time: m|{{#var:date}}}}|{{#time: d|{{#var:date}}}}}} }}</nowiki>
| |
− | | {{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}}}}|{{#time: m|{{#var:date}}}}|{{#time: d|{{#var:date}}}}}} }}
| |
− | |-
| |
− | | <nowiki>{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}}}}|{{#time: m|{{#var:date}}}}|{{#time: d|{{#var:date}}}}}} |1}}</nowiki>
| |
− | | {{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}}}}|{{#time: m|{{#var:date}}}}|{{#time: d|{{#var:date}}}}}} |1}}
| |
− | |-
| |
− | | <nowiki>{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}}}}|{{#time: m|{{#var:date}}}}|{{#time: d|{{#var:date}}}}}} |2}}</nowiki>
| |
− | | {{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}}}}|{{#time: m|{{#var:date}}}}|{{#time: d|{{#var:date}}}}}} |2}}
| |
− | |-
| |
− | ! 30W Code !! 30W Output
| |
− | |-
| |
− | | <nowiki>{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}} -1 day}}|{{#time: m|{{#var:date}} -1 day}}|{{#time: d|{{#var:date}} -1 day}}}} }}</nowiki> | |
− | | {{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}} -1 day}}|{{#time: m|{{#var:date}} -1 day}}|{{#time: d|{{#var:date}} -1 day}}}} }} | |
− | |-
| |
− | | <nowiki>{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}} -1 day}}|{{#time: m|{{#var:date}} -1 day}}|{{#time: d|{{#var:date}} -1 day}}}} |1}}</nowiki>
| |
− | | {{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}} -1 day}}|{{#time: m|{{#var:date}} -1 day}}|{{#time: d|{{#var:date}} -1 day}}}} |1}}
| |
− | |-
| |
− | | <nowiki>{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}} -1 day}}|{{#time: m|{{#var:date}} -1 day}}|{{#time: d|{{#var:date}} -1 day}}}} |2}}</nowiki>
| |
− | | {{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}} -1 day}}|{{#time: m|{{#var:date}} -1 day}}|{{#time: d|{{#var:date}} -1 day}}}} |2}} | |
− | |}
| |