Difference between revisions of "Template:Event"

From Creative Commons
Jump to: navigation, search
 
(123 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|
 
  Address= 123 Freedom Street, Beverley Hills, CA, USA, 90210 |
 
  Division= The division of CC interested in the event (ie: Learn)|
 
  Attendance= Will CC have a representative there?|
 
}}
 
</pre>
 
 
</noinclude>
 
 
<includeonly>
 
<includeonly>
{{#if:{{{title|}}}|[[Title::{{{title}}}|]]|[[Title::{{PAGENAME}}|]] }}
+
__NOTOC__
{{#if:{{{venue|}}}|[[Venue::{{{venue}}}|]]| }}
+
<div style="float: right; padding: 15px;margin-top: 0px;border: 1px solid #c0c0c0;background:#f0f0f0;">
{{#if:{{{EventType|}}}|{{#arraymap:{{{EventType|}}}|,|x|[[EventType::x]]}} | }}
+
<h5>[[Events]]</h5>
{{#if:{{{Mainurl|}}}|{{#arraymap:{{{Mainurl|}}}|,|x|[[Mainurl::x]]}} | }}
+
<p>''{{{EventType|}}}'' in {{{Location|}}}</p>
{{#if:{{{presenter|}}}|{{#arraymap:{{{presenter}}}|,|x|[[Author::User:x| ]]}} | }}
+
<p>{{{date|}}}</p>
{{#if:{{{date|}}}|[[Date::{{{date}}}|]]| }}
+
'''{{{Mainurl}}}'''
{{#if:{{{Address|}}}|{{#arraymap:{{{Address|}}}|,|x|[[Address::x]]}} | }}
+
</div>
{{#if:{{{Division|}}}|{{#arraymap:{{{Division|}}}|,|x|[[Division::x]]}} | }}
+
<div style="clear:both;"></div>
{{#if:{{{Attendance|}}}|{{#arraymap:{{{Attendance|}}}|,|x|[[Attendance::x]]}} | }}
+
</div>
 
+
<br />
 
[[Category:Event]]
 
[[Category:Event]]
 
 
</includeonly>
 
</includeonly>

Latest revision as of 19:02, 15 June 2015