Difference between revisions of "Template:Event"

From Wikimedia Australia
Jump to navigation Jump to search
(Make location optional)
(datetime attribute)
Line 30: Line 30:
  
 
   Start time and state:
 
   Start time and state:
   --><time itemprop="startDate" content="{{#time: c | {{{start_date|}}} }}"><!--
+
   --><time itemprop="startDate" datetime="{{#time: c | {{{start_date|}}} }}"><!--
 
     -->{{#time: l, j F Y, g:i a | @{{#expr: {{#time:U| {{{start_date|}}} }} + (60*60*{{{timezone}}}) }} }}<!--
 
     -->{{#time: l, j F Y, g:i a | @{{#expr: {{#time:U| {{{start_date|}}} }} + (60*60*{{{timezone}}}) }} }}<!--
 
   --></time> <!--
 
   --></time> <!--
Line 36: Line 36:
 
   End time:
 
   End time:
 
   -->{{#if: {{{end_date|}}}<!--
 
   -->{{#if: {{{end_date|}}}<!--
     -->| to <time itemprop="endDate" content="{{#time: c | {{{end_date|}}} }}">{{#time: g:i a | @{{#expr: {{#time:U| {{{end_date|}}} }} + (60*60*{{{timezone}}}) }} }}</time><!--
+
     -->| to <time itemprop="endDate" datetime="{{#time: c | {{{end_date|}}} }}">{{#time: g:i a | @{{#expr: {{#time:U| {{{end_date|}}} }} + (60*60*{{{timezone}}}) }} }}</time><!--
 
   -->}}<!--
 
   -->}}<!--
  

Revision as of 00:48, 5 April 2019

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

Event
(Please set 'region' parameter.)
Event

Share link:

[edit] Template-info.svg Template documentation

Create a new event:

See also