Difference between revisions of "Template:Event"

From Creative Commons
Jump to: navigation, search
m (remove Go to URL wrapping as it breaks with URLs with brackets in it)
 
(12 intermediate revisions by 3 users not shown)
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="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>
+
__NOTOC__
{{#arraymap:{{{Mainurl|}}}|,|xyz|{{#set: Mainurl=xyz}}}}{{#if: {{{Mainurl}}}|<span style="font-size:1.3em;display:block;">'''{{lcfirst: {{{Mainurl}}}}}'''</span>|}}</div>
+
<div style="float: right; padding: 15px;margin-top: 0px;border: 1px solid #c0c0c0;background:#f0f0f0;">
<div style="float:right;margin-bottom:5px;"><span style="font-size: 90%">[[Events|Back to Events >>]]</span></div><div style="clear:both;"></div>
+
<h5>[[Events]]</h5>
 +
<p>''{{{EventType|}}}'' in {{{Location|}}}</p>
 +
<p>{{{date|}}}</p>
 +
'''{{{Mainurl}}}'''
 
</div>
 
</div>
<br />{{#if: {{{Location}}}|{{#set: Coordinates={{#geocode: {{{Location}}}}}}}|}}[[Category:Event]]
+
<div style="clear:both;"></div>
 +
</div>
 +
<br />
 +
[[Category:Event]]
 
</includeonly>
 
</includeonly>

Latest revision as of 19:02, 15 June 2015