Template:CalendarDate: Difference between revisions
Jump to navigation
Jump to search
Hello world
mNo edit summary |
(use css class pirate-event) |
||
Line 1: | Line 1: | ||
<includeonly><div | <includeonly><div class="date"> | ||
<div | <div class="month">{{ucfirst:{{#time:M|{{{1}}}|{{int:language-code}}}}}}</div> | ||
<div | <div class="day">{{#time:j|{{{1}}}}}</div> | ||
<div | <div class="weekday">{{#time:D|{{{1}}}|{{int:language-code}}}}</div>{{#if: {{{2|}}} | ||
| <div | | <div class="time">{{{2}}}</div> | ||
}} | }} | ||
</div></includeonly><noinclude>== Usage == | </div></includeonly><noinclude>== Usage == | ||
<nowiki>{{CalendarDate|now|12:00}}</nowiki> | <nowiki><div class="pirate-event">{{CalendarDate|now|12:00}} Hello world</div></nowiki> | ||
== Example == | == Example == | ||
{{CalendarDate|now|12:00}}</noinclude> | <div class="pirate-event">{{CalendarDate|now|12:00}} Hello world</div></noinclude> |
Revision as of 17:47, 28 September 2017
Usage
<div class="pirate-event">{{CalendarDate|now|12:00}} Hello world</div>
Example
Dec
22
Sun
12:00