The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Template:Date"
m (W3C requires month) |
|||
Line 17: | Line 17: | ||
-->| {{#expr: {{{3}}} }} <!-- |
-->| {{#expr: {{{3}}} }} <!-- |
||
-->}}<!-- |
-->}}<!-- |
||
+ | // Could {{#time:}} be used instead? |
||
− | -->{{#if: {{{2|}}}<!-- |
||
+ | -->{{MONTHNAME|{{{2|}}}|abbr={{{abbr|}}}}} <!-- |
||
− | // Could {{#time:}} be used instead? |
||
− | -->| {{MONTHNAME|{{{2|}}}|abbr={{{abbr|}}}}} <!-- |
||
− | -->}}<!-- |
||
-->{{{1}}}<!-- |
-->{{{1}}}<!-- |
||
Line 31: | Line 29: | ||
Parameters: |
Parameters: |
||
* '''year''' (required) |
* '''year''' (required) |
||
− | * '''month''': The month ''number'' |
+ | * '''month''': (required) The month ''number'' |
* '''day''' |
* '''day''' |
||
* '''hour''' |
* '''hour''' |
Revision as of 17:06, 10 March 2015
Usage
Full parameter list:
{{date|<year>|<month>|<day>|<hour>|<minute>|<second>|abbr=<abbr>}}
Parameters:
- year (required)
- month: (required) The month number
- day
- hour
- minute
- second
- abbr: Use "
true
" to use the abbreviated month name instead of the full length