Template:Event inline feed: Difference between revisions

From Wikimedia UK
Jump to navigation Jump to search
m (→‎New template: Development)
m (→‎New template: Development)
Line 1: Line 1:
<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><span class="url">{{link}}} {{{desc}}}</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 class="url">{{{5}}} {{{4}}}</span><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|desc=Description|link=Link}}</nowiki></pre>
<pre><nowiki>{{event inline|Year|Month|Day|end=EndDay|Description|Link}}</nowiki></pre>


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

Revision as of 16:45, 10 January 2021

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

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}}