Difference between revisions of "Template:Event"

From Wikimedia Australia
Jump to navigation Jump to search
(Change 'state' to 'region' so we can add national and international events.)
(Make location optional)
Line 40: Line 40:
  
 
   Region (used to be called 'state'):
 
   Region (used to be called 'state'):
   --> ({{{region|{{{state|}}}}}})<!--
+
   --> ({{{region|{{{state|<span class="error">Please set 'region' parameter.</span>}}}}}})<!--
  
 
   Event title (page name):
 
   Event title (page name):
Line 46: Line 46:
  
 
   Location:
 
   Location:
   --><p class="event-venue" itemprop="location" itemscope itemtype="http://schema.org/Place"><!--
+
   -->{{#if: {{{location|}}} | <p class="event-venue" itemprop="location" itemscope itemtype="http://schema.org/Place"><!--
 
     -->Location: <span itemprop="name">{{{location}}}</span><!--
 
     -->Location: <span itemprop="name">{{{location}}}</span><!--
   --></p><!--
+
   --></p>}}<!--
 
   --><p>Share link: <span itemprop="url" class="plainlinks">{{#if: {{{link|}}} | {{{link}}} | {{canonicalurl:{{FULLPAGENAMEE}} }} }}</span></p><!--
 
   --><p>Share link: <span itemprop="url" class="plainlinks">{{#if: {{{link|}}} | {{{link}}} | {{canonicalurl:{{FULLPAGENAMEE}} }} }}</span></p><!--
 
   --><div itemprop="description">{{{description|}}}</div><!--
 
   --><div itemprop="description">{{{description|}}}</div><!--

Revision as of 23:29, 26 January 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