Jump to content

Template:Systime: Difference between revisions

m
Implement 'onlyinclude'.
m (Swap 'pre' for 'nowiki'.)
m (Implement 'onlyinclude'.)
Line 1: Line 1:
<includeonly><span title="{{#invoke: Systime | toTimestamp | year = {{{1|}}} | month = {{{2|}}} | day = {{{3|}}} | hour = {{{4|}}} | min = {{{5|}}} | sec = {{{6|}}} }}" style="text-decoration: underline; text-decoration-style: dotted;">{{#invoke: Systime | toSystime | year = {{{1|}}} | month = {{{2|}}} | day = {{{3|}}} | hour = {{{4|}}} | min = {{{5|}}} | sec = {{{6|}}} }}</span></includeonly>
<onlyinclude><span title="{{#invoke: Systime | toTimestamp | year = {{{1|}}} | month = {{{2|}}} | day = {{{3|}}} | hour = {{{4|}}} | min = {{{5|}}} | sec = {{{6|}}} }}" style="text-decoration: underline; text-decoration-style: dotted;">{{#invoke: Systime | toSystime | year = {{{1|}}} | month = {{{2|}}} | day = {{{3|}}} | hour = {{{4|}}} | min = {{{5|}}} | sec = {{{6|}}} }}</span></onlyinclude>


<noinclude>
Renders a Systime timestamp with hovertext displaying the calendar timestamp.
Renders a Systime timestamp with hovertext displaying the calendar timestamp.
== Usage ==
== Usage ==
Line 16: Line 15:
----
----
{{Systime|2399|12|31|23|45}}
{{Systime|2399|12|31|23|45}}
</noinclude>