Difference between revisions of "Template:Date"

From The iPhone Wiki
Jump to: navigation, search
m
m
Line 23: Line 23:
   
 
// ZONE
 
// ZONE
-->{{#if: {{{8|}}}<!--
+
-->{{#if: {{{z|}}}<!--
-->| &nbsp;({{{8}}})<!--
+
-->| &nbsp;({{{z}}})<!--
 
-->}}<!--
 
-->}}<!--
   
Line 31: Line 31:
 
== Usage ==
 
== Usage ==
 
Full parameter list:
 
Full parameter list:
<nowiki>{{</nowiki>date|&lt;year&gt;|&lt;month&gt;|&lt;day&gt;|&lt;hour&gt;|&lt;minute&gt;|&lt;second&gt;|&lt;zone&gt;|abbr=&lt;abbr&gt;<nowiki>}}</nowiki>
+
<nowiki>{{</nowiki>date|&lt;year&gt;|&lt;month&gt;|&lt;day&gt;|&lt;hour&gt;|&lt;minute&gt;|&lt;second&gt;|z=&lt;zone&gt;|abbr=&lt;abbr&gt;<nowiki>}}</nowiki>
   
 
Parameters:
 
Parameters:

Revision as of 20:48, 3 February 2016

Usage

Full parameter list:

{{date|<year>|<month>|<day>|<hour>|<minute>|<second>|z=<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