Jump to content

Template:Systime: Difference between revisions

m
Swap 'pre' for 'nowiki'.
m (Typo)
m (Swap 'pre' for 'nowiki'.)
Line 5: Line 5:
== Usage ==
== Usage ==
The template accepts positional arguments for year, month, day, hour, minute, and second.
The template accepts positional arguments for year, month, day, hour, minute, and second.
<pre>{{ Systime | <year> | <month> | <day> | <hour> | <minute> | <second> }}</pre>
 
<code><nowiki>{{ Systime | <year> | <month> | <day> | <hour> | <minute> | <second> }}</nowiki></code>
* At minimum, the template must be provided with the year.
* At minimum, the template must be provided with the year.
* The template requires both the month ''and'' the day to display the day of the year.
* The template requires both the month ''and'' the day to display the day of the year.
Line 12: Line 13:


=== Example ===
=== Example ===
<pre>{{Systime|2399|12|31|23|45}}</pre>
<code><nowiki>{{Systime|2399|12|31|23|45}}</nowiki></code>
----
----
{{Systime|2399|12|31|23|45}}
{{Systime|2399|12|31|23|45}}
</noinclude>
</noinclude>