The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Template:Date"
m |
m |
||
Line 20: | Line 20: | ||
-->{{MONTHNAME|{{{2|}}}|abbr={{{abbr|}}}}} <!-- |
-->{{MONTHNAME|{{{2|}}}|abbr={{{abbr|}}}}} <!-- |
||
-->{{{1}}}<!-- |
-->{{{1}}}<!-- |
||
+ | |||
+ | |||
+ | // ZONE |
||
+ | -->{{#if: {{{8|}}}<!-- |
||
+ | -->| ({{{8}}})<!-- |
||
+ | -->}}<!-- |
||
Line 25: | Line 31: | ||
== Usage == |
== Usage == |
||
Full parameter list: |
Full parameter list: |
||
− | <nowiki>{{</nowiki>date|<year>|<month>|<day>|<hour>|<minute>|<second>|abbr=<abbr><nowiki>}}</nowiki> |
+ | <nowiki>{{</nowiki>date|<year>|<month>|<day>|<hour>|<minute>|<second>|<zone>|abbr=<abbr><nowiki>}}</nowiki> |
Parameters: |
Parameters: |
||
Line 34: | Line 40: | ||
* '''minute''' |
* '''minute''' |
||
* '''second''' |
* '''second''' |
||
+ | * '''zone''': Currently, all this does is append "<code>(<zone>)</code>" to the date, but in [http://meta.stackexchange.com/a/19514 6 to 8 weeks], this will have the date be adjusted to the timezone specified in the user's settings |
||
* '''abbr''': Use "<code>false</code>" to use the full month name instead of the abbreviated form |
* '''abbr''': Use "<code>false</code>" to use the full month name instead of the abbreviated form |
||
</noinclude> |
</noinclude> |
Revision as of 20:47, 3 February 2016
Usage
Full parameter list:
{{date|<year>|<month>|<day>|<hour>|<minute>|<second>|<zone>|abbr=<abbr>}}
Parameters:
- year (required)
- month: (required) The month number
- day
- hour
- minute
- second
- zone: Currently, all this does is append "
(<zone>)
" to the date, but in 6 to 8 weeks, this will have the date be adjusted to the timezone specified in the user's settings - abbr: Use "
false
" to use the full month name instead of the abbreviated form