Difference between revisions of "Template:Event"
Line 2: | Line 2: | ||
<div style="float:left;margin-bottom:5px;"><span style="font-size:1.5em;display:block;margin-bottom:10px;">''{{#arraymap:{{{EventType|}}}|,|x|[[EventType::x]]}}'' in {{#arraymap:{{{Location|}}}|,|x|[[Location::x]]}}</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|}}}|,|x|{{#set: date=x}}}}{{{date}}}{{#if: {{{end_date}}}| – {{#arraymap:{{{end_date|}}}|,|x|{{#set: end_date=x}}}}{{{end_date}}}|}}</span> | <div style="float:left;margin-bottom:5px;"><span style="font-size:1.5em;display:block;margin-bottom:10px;">''{{#arraymap:{{{EventType|}}}|,|x|[[EventType::x]]}}'' in {{#arraymap:{{{Location|}}}|,|x|[[Location::x]]}}</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|}}}|,|x|{{#set: date=x}}}}{{{date}}}{{#if: {{{end_date}}}| – {{#arraymap:{{{end_date|}}}|,|x|{{#set: end_date=x}}}}{{{end_date}}}|}}</span> | ||
{{#if: {{{Mainurl}}}|<span style="font-size:1.3em;display:block;">{{#arraymap:{{{Mainurl|}}}|,|xyz|{{#set: Mainurl=xyz}}}}'''[{{{Mainurl}}} Go to event URL]'''</span>|<span style="font-size:1.3em;display:block;">'''{{{PAGENAME}}}'''</span>}}</div> | {{#if: {{{Mainurl}}}|<span style="font-size:1.3em;display:block;">{{#arraymap:{{{Mainurl|}}}|,|xyz|{{#set: Mainurl=xyz}}}}'''[{{{Mainurl}}} Go to event URL]'''</span>|<span style="font-size:1.3em;display:block;">'''{{{PAGENAME}}}'''</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;">[[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}}}|[[Coordinates::{{#geocode: {{{Location}}}}}]]|}}</div>[[Category:Event]] |
</includeonly> | </includeonly> |