Difference between revisions of "Template:Event"

From Wikimedia Australia
Jump to navigation Jump to search
Line 25: Line 25:
 
<div itemscope itemtype="http://schema.org/Event" style="border:1px solid #bbb; background-color:#efefef; padding:0.3em; text-align:center; margin:0"><!--
 
<div itemscope itemtype="http://schema.org/Event" style="border:1px solid #bbb; background-color:#efefef; padding:0.3em; text-align:center; margin:0"><!--
 
   --><time itemprop="startDate" content="{{#time: c | {{{start_date|}}} }}">{{#time: g:i a l, j F Y | {{{start_date|}}} }}</time><!--
 
   --><time itemprop="startDate" content="{{#time: c | {{{start_date|}}} }}">{{#time: g:i a l, j F Y | {{{start_date|}}} }}</time><!--
   -->{{#if: {{{end_date|}}} | (to <time itemprop="endDate" content="{{#time: c | {{{end_date}}} }}">{{#time: g:i a l | {{{end_date}}} }}</time>) }}<!--
+
   -->{{#if: {{{end_date|}}} | &nbsp;(to <time itemprop="endDate" content="{{#time: c | {{{end_date}}} }}">{{#time: g:i a l | {{{end_date}}} }}</time>) }}<!--
 
   --><div itemprop="name" style="font-size:2em">'''{{PAGENAME}}'''</div><!--
 
   --><div itemprop="name" style="font-size:2em">'''{{PAGENAME}}'''</div><!--
 
   --><p class="event-venue" itemprop="location" itemscope itemtype="http://schema.org/Place"><!--
 
   --><p class="event-venue" itemprop="location" itemscope itemtype="http://schema.org/Place"><!--

Revision as of 21:53, 7 October 2018

This template defines the table "events". View table.

Event
Event

Location: [[{{{location}}}]]

Share link:

[edit] Template-info.svg Template documentation

Create a new event:

See also