Difference between revisions of "Template:Event"

Line 18: Line 18:
 
;Description: {{{description}}}
 
;Description: {{{description}}}
  
[[Page has default form::Event| ]] {{#set_internal:Event of|Has event={{{name|}}}|Has event start={{{start|}}}|Has event end={{{end|}}}|Has event type={{{type|}}}|Has event location={{{location|}}}|Has event icon={{#switch: {{{type|}}}|Meeting =File:Event-meeting-icon.png|Presentation=File:Event-presentation-icon.png|Talk=File:Event-talk-icon.png }}|Has event color={{#switch: {{{type|}}}|Meeting=#E9AF32|Presentation=#A0D8F1|Talk=#BF381A|Party=#E07628 }}|Has event description={{{description|}}} }}
+
[[Page has default form::Event| ]] {{#subobject:|Has event={{{name|}}}|Has event start={{{start|}}}|Has event end={{{end|}}}|Has event type={{{type|}}}|Has event location={{{location|}}}|Has event icon={{#switch: {{{type|}}}|Meeting =File:Event-meeting-icon.png|Presentation=File:Event-presentation-icon.png|Talk=File:Event-talk-icon.png }}|Has event color={{#switch: {{{type|}}}|Meeting=#E9AF32|Presentation=#A0D8F1|Talk=#BF381A|Party=#E07628 }}|Has event description={{{description|}}} }}
 
[[Category:Events]]
 
[[Category:Events]]
 
</includeonly>
 
</includeonly>

Revision as of 00:13, 24 May 2014

This a template for creating an event. Parameters:

name
name of event
start
start date/time
end
end date/time
type
one of: Meeting, Presentation, Talk
location
location

See also

Form:Event

Example