Difference between revisions of "Template:Event"

From Creative Commons
Jump to: navigation, search
(Undo revision 95148 by Matt McGregor (talk))
Line 1: Line 1:
 
<includeonly><div style="width:100%;height:auto;padding:10px;position: relative; width: 100%;overflow: visible;padding:10px;border-bottom:1px solid #e0e0e0;">
 
<includeonly><div style="width:100%;height:auto;padding:10px;position: relative; width: 100%;overflow: visible;padding:10px;border-bottom:1px solid #e0e0e0;">
<div style="float:left;margin-bottom:5px;"><span style="font-size:1.5em;display:block;margin-bottom:10px;">''{{#arraymap:{{{EventType|}}}|,|xyz|[[EventType::xyz]]}}'' in {{#arraymap:{{{Location|}}}|,|xyz|[[Location::xyz]]}}</span><span style="font-size:1.3em;display:block;margin-bottom:10px;">{{#arraymap:{{{EventCategory|}}}|,|xyz|[[EventCategory::xyz]]}}</span><span style="font-size:1.3em;display:block;margin-bottom:10px;">{{#arraymap:{{{date|}}}|,|xyz|{{#set: date=xyz}}}}{{{date}}}{{#if: {{{end_date}}}|  -  {{#arraymap:{{{end_date|}}}|,|xyz|{{#set: end_date=xyz}}}}{{{end_date}}}|}}</span>
+
<div style="float:left;margin-bottom:5px;"><span style="font-size:1.5em;display:block;margin-bottom:10px;">''{{{EventType|}}}'' in {{{Location|}}}</span><span style="font-size:1.3em;display:block;margin-bottom:10px;">{{{EventCategory|}}}</span><span style="font-size:1.3em;display:block;margin-bottom:10px;">{{{date|}}} {{{end_date|}}}</span>
{{#arraymap:{{{Mainurl|}}}|,|xyz|{{#set: Mainurl=xyz}}}}{{#if: {{{Mainurl}}}|<span style="font-size:1.3em;display:block;">'''{{lcfirst: {{{Mainurl}}}}}'''</span>|}}</div>
+
{{{Mainurl|}}}'''</span>|}}</div>
 
<div style="float:right;margin-bottom:5px;"><span style="font-size: 90%">[[Events|Back to Events >>]]</span></div><div style="clear:both;"></div>
 
<div style="float:right;margin-bottom:5px;"><span style="font-size: 90%">[[Events|Back to Events >>]]</span></div><div style="clear:both;"></div>
 
</div>
 
</div>
<br />{{#if: {{{Location}}}|{{#set: Coordinates={{#geocode: {{{Location}}}}}}}|}}[[Category:Event]]
+
[[Category:Event]]
 
</includeonly>
 
</includeonly>

Revision as of 18:37, 15 June 2015