Difference between pages "Template:Event" and "Template:Fancynote/Doc"

(Difference between pages)
 
 
Line 1: Line 1:
<noinclude>This a template for creating an event. Parameters:
+
== Example and Usage ==
;name: name of event
+
Example:
;start: start date/time
+
<pre>
;end: end date/time
+
{{Fancynote| Note }}
;type: one of: Meeting, Presentation, Talk
+
</pre>
;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}}}
+
Will produce:
|Has event={{{event|}}}
+
{{Fancynote| Note }}
|Has event start={{{start|}}}
+
 
|Has event end={{{end|}}}
+
== See also ==
|Has event type={{{type|}}}
+
* [[Template:Fancywarning]]
|Has event location={{{location|}}}
+
* [[Template:Fancytip]]
|Has event icon={{#switch: {{{type|}}}|Meeting =File:Event-meeting-icon.png|Presentation=File:Event-presentation-icon.png|Talk=File:Event-talk-icon.png }}
+
* [[Template:Fancyimportant]]
|Has event color={{#switch: {{{type|}}}|Meeting=#E9AF32|Presentation=#A0D8F1|Talk=#BF381A|Party=#E07628 }}
+
|Has event description={{{description|}}} 
+
}}
+
</includeonly>
+

Latest revision as of 21:18, September 25, 2014

Example and Usage

Example:

{{Fancynote| Note }}

Will produce:

Note

Note 

See also