Template:Event inline feed: Difference between revisions

From Wikimedia UK
Jump to navigation Jump to search
m (Development)
No edit summary
Line 1: Line 1:
<h2>TEST</h2><span class="vevent">'''<abbr class="dtstart" title="{{{1}}}-{{{2}}}-{{{3}}}">{{{3}}}</abbr>{{#ifeq: {{{end|}}} | | |&ndash;<abbr class="dtend" title="{{{1}}}-{{{2}}}-{{{end}}}">{{{end}}}</abbr>}}{{#ifeq: {{{endmonth|}}} | | |&ndash;<abbr class="dtend" title="{{{1}}}-{{{endmonth}}}-{{{endday}}}">{{{endday}}}</abbr>}}''' - <span class="summary">{{{4}}}</span></span><noinclude>
<span class="vevent">'''<abbr class="dtstart" title="{{{1}}}-{{{2}}}-{{{3}}}">{{{3}}}</abbr>{{#ifeq: {{{end|}}} | | |&ndash;<abbr class="dtend" title="{{{1}}}-{{{2}}}-{{{end}}}">{{{end}}}</abbr>}}{{#ifeq: {{{endmonth|}}} | | |&ndash;<abbr class="dtend" title="{{{1}}}-{{{endmonth}}}-{{{endday}}}">{{{endday}}}</abbr>}}''' - <span class="summary">{{{4}}}</span></span><span>{{{5}}}<noinclude>


A simple inline event designed to be used on [[Events]] page, with added hCalendar support. Use as:
A simple inline event designed to be used on [[Events]] page, with added hCalendar support. Use as:
<pre><nowiki>{{event inline|Year|Month|Day|end=EndDay|Description}}</nowiki></pre>
<pre><nowiki>{{event inline|Year|Month|Day|end=EndDay|Description|Link}}</nowiki></pre>


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 13:23, 17 December 2020

{{{3}}} - {{{4}}}{{{5}}}

A simple inline event designed to be used on Events page, with added hCalendar support. Use as:

{{event inline|Year|Month|Day|end=EndDay|Description|Link}}