Difference between revisions of "Template:Event"

From Creative Commons
Jump to: navigation, search
 
(113 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<noinclude>
 
 
<pre>
 
{{Event|
 
  venue= The venue or event (ie: OSCON 2007)|
 
  EventType= The type of event|
 
  title= The title or topic of the presentation; if not provided, the page title is used|
 
  Mainurl= URL to event's info page|
 
  presenter= The presenter (ie: Nathan Yergler)|
 
  date= The presentation date|
 
  Location= 123 Freedom Street, Beverly Hills, CA, USA, 90210 |
 
  Division= The division of CC interested in the event (ie: Learn)|
 
  CC Attendance?= Will CC have a representative there?|
 
}}
 
</pre>
 
 
</noinclude>
 
 
 
<includeonly>
 
<includeonly>
 
+
__NOTOC__
{{#if:{{{title|}}}|[[Title::{{{title}}}|]]|[[Title::{{PAGENAME}}|]] }}
+
<div style="float: right; padding: 15px;margin-top: 0px;border: 1px solid #c0c0c0;background:#f0f0f0;">
{{#if:{{{venue|}}}|[[Venue::{{{venue}}}|]]| }}
+
<h5>[[Events]]</h5>
{{#if:{{{EventType|}}}|{{#arraymap:{{{EventType|}}}|,|x|[[EventType::x|:x]]}} | }}
+
<p>''{{{EventType|}}}'' in {{{Location|}}}</p>
{{#if:{{{Mainurl|}}}|{{#arraymap:{{{Mainurl|}}}|,|x|[[Mainurl::x|:x]]}} | }}
+
<p>{{{date|}}}</p>
{{#if:{{{presenter|}}}|{{#arraymap:{{{presenter}}}|,|x|[[Author::User:x| ]]}} | }}
+
'''{{{Mainurl}}}'''
{{#if:{{{date|}}}|[[Date::{{{date}}}|]]| }}
+
</div>
{{#if:{{{Location|}}}|{{#arraymap:{{{Location|}}}|,|x|[[Location::x]]}} | }}
+
<div style="clear:both;"></div>
{{#if:{{{Division|}}}|{{#arraymap:{{{Division|}}}|,|x|[[Division::x]]}} | }}
+
</div>
{{#if:{{{Attendance|}}}|{{#arraymap:{{{Attendance|}}}|,|x|[[Attendance::x]]}} | }}
+
<br />
 
[[Category:Event]]
 
[[Category:Event]]
 
 
</includeonly>
 
</includeonly>

Latest revision as of 19:02, 15 June 2015