Difference between revisions of "EventBob"

From Sega Retro

m (Dates ranges are marked with en dashes; not sure how I missed this before)
(4 intermediate revisions by the same user not shown)
Line 50: Line 50:
 
| if={{{startdate|}}}
 
| if={{{startdate|}}}
 
| title=Date
 
| title=Date
| content=<span itemprop="startDate">{{{startdate}}}</span> {{#if:{{{enddate|}}}|&mdash; <span itemprop="endDate">{{{enddate}}}</span>}}
+
| content=<span itemprop="startDate">{{{startdate}}}</span> {{#if:{{{enddate|}}}|&ndash; <span itemprop="endDate">{{{enddate}}}</span>}}
 
}}
 
}}
 
{{BobRowPlus
 
{{BobRowPlus
Line 56: Line 56:
 
| title=Location
 
| title=Location
 
| content=<span itemprop="location" itemscope itemtype="https://schema.org/Place">{{{location|}}}</span>
 
| content=<span itemprop="location" itemscope itemtype="https://schema.org/Place">{{{location|}}}</span>
 +
}}
 +
{{BobRowPlus
 +
| if={{{attendance|}}}
 +
| title=Attendance
 +
| content={{{attendance|}}}
 
}}
 
}}
 
{{BobRowPlus
 
{{BobRowPlus
| if={{{attendance|}}}
+
| if={{{organizer|}}}
| title=Attendance
+
| title=Organizer
| content=<span itemprop="attendee">{{{attendance|}}}</span>
+
| content=<span itemprop="organizer">{{{organizer|}}}</span>
 
}}
 
}}
 
}}
 
}}
Line 83: Line 88:
 
| location=
 
| location=
 
| attendance=
 
| attendance=
 +
| organizer=
 
}}
 
}}
 
</pre>
 
</pre>
  
 
[[Category:Breakout box templates]]</noinclude>
 
[[Category:Breakout box templates]]</noinclude>

Revision as of 11:44, 9 January 2021

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

Notavailable.svg
EventBob

Usage

This template is to be used on articles about video game events. Place the following at the top of a page:

{{EventBob
| logo=
| eventimage=
| name=
| startdate=
| enddate=
| location=
| attendance=
| organizer=
}}