Jump to content

Template:Timeline-event: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Made a minor correction.
account for both year ranges and full dates
Line 1: Line 1:
<span class="vevent">{{{date}}}{{#if:{{{end_date|}}}|–{{{end_date}}}|}}: {{#if:{{{event|}}}|<span class="summary">{{{event}}}</span>|}}{{#if:{{{location|}}}|<span class="location {{#if:{{{event|}}}||summary}}">{{#if:{{{event|}}}|,|}} {{{location}}}</span>|}}</span><includeonly>[[Category:Pages with timeline metadata]]</includeonly><noinclude>{{documentation}}</noinclude>
<span class="vevent">{{{date}}}{{#if:{{#invoke:String|match|{{{date}}}{{{end_date}}}| |plain=true|nomatch=1}}|–|&nbsp;–&#32;}}{{{end_date}}}: {{#if:{{{event|}}}|<span class="summary">{{{event}}}</span>|}}{{#if:{{{location|}}}|<span class="location {{#if:{{{event|}}}||summary}}">{{#if:{{{event|}}}|,|}} {{{location}}}</span>|}}</span><includeonly>[[Category:Pages with timeline metadata]]</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 21:20, 9 September 2017

{{{date}}}–{{{end_date}}}: