Difference between revisions of "Semantic MediaWiki Events"

From Funtoo
Jump to navigation Jump to search
Line 24: Line 24:
{{#ask:[[Has event::+]]
{{#ask:[[Has event::+]]
|?Has event
|?Has event
|?Has event end 
|?Has event start
|?Has event start
|?Has event end               
|?Has event description     
|?Has event description=Description    
|?Has event icon             
|?Has event icon             
|?Has event color
|?Has event color

Revision as of 01:36, May 24, 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)

__NOCACHE__

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
Massa ac metus porttitor neque
Type
Presentation
Location
Albert Hall
Start
01 May 2014
End
02 May 2014
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

{{#subobject:Massa ac metus porttitor neque |Has event=Massa ac metus porttitor neque |Has event start=01 May 2014 |Has event end=02 May 2014 |Has event type=Presentation |Has event location=Albert Hall |Has event icon=File:Event-presentation-icon.png |Has event color=

  1. A0D8F1

|Has event 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:Has event::+ |?Has event |?Has event end |?Has event start |?Has event description |?Has event icon |?Has event color |?Has event location |format=eventcalendar |start=earliest |defaultview=month |limit= |link=subject |legend=pane |firstday=Monday |dayview=yes |headers=show |theme=vector }}


__SHOWFACTBOX__ Email::drobbins@funtoo.org