Difference between revisions of "Template:Event"

From Creative Commons
Jump to: navigation, search
 
(117 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)|
 
  Attendance= Will CC have a representative there?|
 
}}
 
</pre>
 
 
</noinclude>
 
 
 
<includeonly>
 
<includeonly>
 
+
__NOTOC__
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: center; clear: left; text-align:left;"  
+
<div style="float: right; padding: 15px;margin-top: 0px;border: 1px solid #c0c0c0;background:#f0f0f0;">
{| border="1" cellpadding="3" cellspacing="0"
+
<h5>[[Events]]</h5>
!style="text-align: left; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
+
<p>''{{{EventType|}}}'' in {{{Location|}}}</p>
{{#if:{{{title|}}}|[[Title::{{{title}}}|]]|[[Title::{{PAGENAME}}|]] }}
+
<p>{{{date|}}}</p>
{{#if:{{{venue|}}}|[[Venue::{{{venue}}}|]]| }}
+
'''{{{Mainurl}}}'''
{{#if:{{{EventType|}}}|{{#arraymap:{{{EventType|}}}|,|x|[[EventType::x]]}} | }}
+
</div>
{{#if:{{{Mainurl|}}}|{{#arraymap:{{{Mainurl|}}}|,|x|[[Mainurl::x]]}} | }}
+
<div style="clear:both;"></div>
{{#if:{{{presenter|}}}|{{#arraymap:{{{presenter}}}|,|x|[[Author::User:x| ]]}} | }}
+
</div>
{{#if:{{{date|}}}|[[Date::{{{date}}}|]]| }}
+
<br />
{{#if:{{{Location|}}}|{{#arraymap:{{{Location|}}}|,|x|[[Location::x]]}} | }}
 
{{#if:{{{Division|}}}|{{#arraymap:{{{Division|}}}|,|x|[[Division::x]]}} | }}
 
{{#if:{{{Attendance|}}}|{{#arraymap:{{{Attendance|}}}|,|x|[[Attendance::x]]}} | }}
 
}}
 
 
[[Category:Event]]
 
[[Category:Event]]
 
 
</includeonly>
 
</includeonly>

Latest revision as of 19:02, 15 June 2015