Difference between revisions of "Template:Event"

From Funtoo
Jump to navigation Jump to search
(Created page with "<noinclude>This a template for creating an event. Parameters: ;event: name of event ;start: start date/time ;end: end date/time ;type: one of: Meeting, Presentation, Talk ;loc...")
 
Line 1: Line 1:
<noinclude>This a template for creating an event. Parameters:
<noinclude>This a template for creating an event. Parameters:
;event: name of event
;name: name of event
;start: start date/time
;start: start date/time
;end: end date/time
;end: end date/time
Line 10: Line 10:
{{#formlink:form=Event calendar item|link text=Create event|link type=button}}
{{#formlink:form=Event calendar item|link text=Create event|link type=button}}
</noinclude><includeonly>
</noinclude><includeonly>
;Event: {{{event}}}
=== Event ===
;Name: {{{name}}}
;Type: {{{type}}}
;Type: {{{type}}}
;Location: {{{location}}}
;Location: {{{location}}}
Line 17: Line 18:
;Description: {{{description}}}
;Description: {{{description}}}


[[Page has default form::Event| ]] {{#subobject:|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|}}} }}
[[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|}}} }}
</includeonly>
</includeonly>

Revision as of 23:21, May 23, 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