Difference between pages "Template:EbuildFooter" and "Template:Event"

(Difference between pages)
 
 
Line 1: Line 1:
<includeonly>
+
<noinclude>This a template for creating an event. Parameters:
[[Category:Ebuilds|{{PAGENAME}}]]  
+
;name: name of event
__NOEDITSECTION__
+
;start: start date/time
__NOTOC__
+
;end: end date/time
__NOTITLE__
+
;type: one of: Meeting, Presentation, Talk
 +
;location: location
 +
==See also ==
 +
[[Form:Event]]
 +
==Example ==
 +
{{#formlink:form=Event calendar item|link text=Create event|link type=button}}
 +
</noinclude><includeonly>
 +
=== Event ===
 +
;Event: {{{event}}}
 +
;Type: {{{type}}}
 +
;Location: {{{location}}}
 +
;Start: {{{start}}}
 +
;End: {{{end}}}
 +
;Description: {{{description}}}
 +
 
 +
[[Page has default form::Event| ]]{{#subobject:{{{event}}}
 +
|Has event={{{event|}}}
 +
|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|}}} 
 +
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 21:15, 25 September 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