Template:CalendarDate: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><div style="width:4em;border:1px solid #c2c2c2;border-radius:5px;border-top:0;float:left;font-weight:bold;margin:0 1em 1em;text-align:center;line-height:1.2em">...") |
No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>< | <includeonly><time datetime="{{#time:Y-m-d|{{{1}}}}}{{#if: {{{2|}}} | T{{{2}}} }}" class="date"><div class="month">{{ucfirst:{{#time:M|{{{1}}}|{{int:language-code}}}}}}</div><div class="day">{{#time:j|{{{1}}}}}</div><div class="weekday">{{#time:D|{{{1}}}|{{int:language-code}}}}</div><div class="time">{{#if: {{{2|}}} | {{#time:G:i|{{{2}}}}} | }}</div></time></includeonly><noinclude>== Usage == | ||
| | |||
</ | |||
<nowiki>{{CalendarDate|now| | <nowiki><div class="pirate-event">{{CalendarDate|now|9:00}} Hello world</div></nowiki> | ||
== Example == | == Example == | ||
{{CalendarDate|now| | <div class="pirate-event">{{CalendarDate|now|9:00}} Hello world</div></noinclude> |
Latest revision as of 08:47, 2 November 2017
Usage
<div class="pirate-event">{{CalendarDate|now|9:00}} Hello world</div>
Example
Hello world