Difference between revisions of "Semantic MediaWiki Events"

Line 12: Line 12:
 
==== Semantic Template ====
 
==== Semantic Template ====
 
Use the [[Template:Event|event template]] to create a new event on a page. The event will be stored as an internal sub-object on the page.
 
Use the [[Template:Event|event template]] to create a new event on a page. The event will be stored as an internal sub-object on the page.
 +
 +
{{Event
 +
|name=Massa ac metus porttitor neque
 +
|start=2014/05/12
 +
|end=2014/05/14
 +
|type=Presentation
 +
|location=Albert Hall
 +
|description=Massa ac metus porttitor neque vitae purus quis ac enim semper. Habitasse tempor sit tortor id quis congue porta lacinia cursus justo. Justo accumsan orci estab
 +
}}
  
 
{{#ask:[[Category:Events]]
 
{{#ask:[[Category:Events]]
Line 33: Line 42:
 
}}
 
}}
  
{{Event
 
|name=Massa ac metus porttitor neque
 
|start=2014/05/12
 
|end=2014/05/14
 
|type=Presentation
 
|location=Albert Hall
 
|description=Massa ac metus porttitor neque vitae purus quis ac enim semper. Habitasse tempor sit tortor id quis congue porta lacinia cursus justo. Justo accumsan orci estab
 
}}
 
  
 
__SHOWFACTBOX__
 
__SHOWFACTBOX__
 
[[Email::drobbins@funtoo.org]]
 
[[Email::drobbins@funtoo.org]]

Revision as of 23:45, May 23, 2014

Creating Semantic Properties

Create the following semantic properties to allow creation of calendar items:

  • Has event (text -- the name of the event)
  • Has event start (date)
  • Has event end (date)
  • Has event description (text)
  • Has event location (text)
  • Has event type (text)
  • Has event icon (page)
  • Has event color (text)

Semantic Template

Use the event template to create a new event on a page. The event will be stored as an internal sub-object on the page.


Event

Event
{{{event}}}
Type
Presentation
Location
Albert Hall
Start
2014/05/12
End
2014/05/14
Description
Massa ac metus porttitor neque vitae purus quis ac enim semper. Habitasse tempor sit tortor id quis congue porta lacinia cursus justo. Justo accumsan orci estab



 Has eventHas event startHas event endHas event descriptionHas event iconHas event colorHas event location
CalendarTest/Event11 May 2014


drobbins@funtoo.org