Difference between pages "Template:Event" and "Template:Event Calendar Item"

(Difference between pages)
 
 
Line 1: Line 1:
<noinclude>This a template for creating an event. Parameters:
+
<noinclude>
;name: name of event
+
This is the "Event Calendar Item" template.
;start: start date/time
+
;end: end date/time
+
;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>
 
</noinclude><includeonly>
=== Event ===
+
{| style="width:100%;"! style="width: 110px; text-align: left; vertical-align: middle;" |Event:
;Event: {{{event}}}
+
| style="text-align: left;" colspan="3"|{{{event}}}
;Type: {{{type}}}
+
|-
;Location: {{{location}}}
+
! style="width: 110px; text-align: left; vertical-align: middle;" | Start:
;Start: {{{start}}}
+
| {{{start|}}}
;End: {{{end}}}
+
! style="width: 110px; text-align: left; vertical-align: middle;" | End:
;Description: {{{description}}}
+
| {{{end|}}}
 
+
|-
[[Page has default form::Event| ]]{{#subobject:{{{event}}}
+
! style="text-align: left;"| Type:
 +
| style="text-align: left;"| {{{type|}}}
 +
! style="width: 80px; text-align: left; vertical-align: middle;" | Location:
 +
| {{{location|}}}
 +
|-
 +
! style="width: 110px; text-align: left; vertical-align: top;" | Description:
 +
| style="text-align: left;" colspan="3" | {{{description|}}}
 +
|-
 +
! style="width: 110px; text-align: left; vertical-align: middle;" |
 +
| style="text-align: right;" colspan="3" | [[Funtoo Events|Other events]]
 +
|} __NOFACTBOX__
 +
[[Page has default form::Event Calendar Item| ]]  
 +
{{#subobject:
 
|Has event={{{event|}}}
 
|Has event={{{event|}}}
 
|Has event start={{{start|}}}
 
|Has event start={{{start|}}}
Line 26: Line 30:
 
|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 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 color={{#switch: {{{type|}}}|Meeting=#E9AF32|Presentation=#A0D8F1|Talk=#BF381A|Party=#E07628 }}
|Has event description={{{description|}}}
+
|Has event description={{{description|}}}  
}}
+
}}</includeonly>
</includeonly>
+

Latest revision as of 21:15, 25 September 2014

This is the "Event Calendar Item" template.