The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Template:Date"
(Created page with "<!-- WIP -->{{#if: {{{4|}}}<!-- -->| {{padleft:{{{4}}}|2|0}}:{{padleft:{{{5|00}}|2|0}}<!-- -->{{#if: {{{6|}}}<!-- -->| :{{padleft:{{{6}}}|2|0}}<!-- -->}}<!--...") |
|||
Line 1: | Line 1: | ||
− | <!-- |
+ | <includeonly><!-- |
+ | |||
− | WIP |
||
+ | |||
+ | // TIME |
||
-->{{#if: {{{4|}}}<!-- |
-->{{#if: {{{4|}}}<!-- |
||
− | -->| {{padleft:{{{4}}}|2 |
+ | -->| {{padleft:{{{4}}}|2}}:{{padleft:{{{5|00}}|2}}<!-- |
-->{{#if: {{{6|}}}<!-- |
-->{{#if: {{{6|}}}<!-- |
||
− | -->| :{{padleft:{{{6}}}|2 |
+ | -->| :{{padleft:{{{6}}}|2}}<!-- |
-->}}<!-- |
-->}}<!-- |
||
--> <!-- |
--> <!-- |
||
− | -->}} |
+ | -->}}<!-- |
+ | |||
+ | |||
+ | // DATE |
||
+ | -->{{#if: {{{3|}}}<!-- |
||
+ | -->| {{#expr: {{{3}}} }} <!-- |
||
+ | -->}}<!-- |
||
+ | -->{{#if: {{{2|}}}<!-- |
||
+ | // Could {{#time:}} be used instead? |
||
+ | -->| {{MONTHNAME|{{{2|}}}|abbr={{{abbr|}}}}} <!-- |
||
+ | -->}}<!-- |
||
+ | -->{{{1}}}<!-- |
||
+ | |||
+ | |||
+ | --></includeonly><noinclude> |
||
+ | = DO NOT USE = |
||
+ | This template is not complete. |
||
+ | == Usage == |
||
+ | Full parameter list: |
||
+ | <nowiki>{{</nowiki>date|<year>|<month>|<day>|<hour>|<minute>|<second>|abbr=<abbr><nowiki>}}</nowiki> |
||
+ | |||
+ | Parameters: |
||
+ | * '''year''' (required) |
||
+ | * '''month''': The month ''number'' |
||
+ | * '''day''' |
||
+ | * '''hour''' |
||
+ | * '''minute''' |
||
+ | * '''second''' |
||
+ | * '''abbr''': Use "<code>true</code>" to use the abbreviated month name instead of the full length |
||
+ | </noinclude> |
Revision as of 18:17, 26 February 2015
DO NOT USE
This template is not complete.
Usage
Full parameter list:
{{date|<year>|<month>|<day>|<hour>|<minute>|<second>|abbr=<abbr>}}
Parameters:
- year (required)
- month: The month number
- day
- hour
- minute
- second
- abbr: Use "
true
" to use the abbreviated month name instead of the full length