Difference between revisions of "Template:Event"
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;">''{{#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> | ||
− | {{#if: {{{Mainurl}}}|<span style="font-size:1.3em;display:block;"> | + | {{#arraymap:{{{Mainurl|}}}|,|xyz|{{#set: Mainurl=xyz}}}}{{#if: {{{Mainurl}}}|<span style="font-size:1.3em;display:block;">'''[{{{Mainurl}}} Go to event URL]'''</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><br /><div style="display:none;">{{#if: {{{Location}}}|{{#set: Coordinates={{#geocode: {{{Location}}}}}}}|}}</div>[[Category:Event]] | <div style="float:right;margin-bottom:5px;"><span style="font-size: 90%">[[Events|Back to Events >>]]</span></div><div style="clear:both;"></div></div><br /><div style="display:none;">{{#if: {{{Location}}}|{{#set: Coordinates={{#geocode: {{{Location}}}}}}}|}}</div>[[Category:Event]] | ||
</includeonly> | </includeonly> |