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;line-height:1em;"> |
<span style="font-size:1.8em;display:block;">''{{#arraymap:{{{EventType|}}}|,|x|[[EventType::x]]}}'' in {{#arraymap:{{{Location|}}}|,|x|[[Location::x]]}}</span><span style="font-size:1.5em;display:block;">{{#arraymap:{{{EventCategory|}}}|,|x|[[EventCategory::x]]}}</span><span style="font-size:1.5em;display:block;">{{#arraymap:{{{date|}}}|,|x|{{#set: date=x}}}}{{{date}}}{{#if: {{{end_date}}}| - {{#arraymap:{{{end_date|}}}|,|x|{{#set: end_date=x}}}}{{{end_date}}}|}}</span> | <span style="font-size:1.8em;display:block;">''{{#arraymap:{{{EventType|}}}|,|x|[[EventType::x]]}}'' in {{#arraymap:{{{Location|}}}|,|x|[[Location::x]]}}</span><span style="font-size:1.5em;display:block;">{{#arraymap:{{{EventCategory|}}}|,|x|[[EventCategory::x]]}}</span><span style="font-size:1.5em;display:block;">{{#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.5em;line-height:1.25em;margin-bottom:5px;display:block;">{{#arraymap:{{{Mainurl|}}}|,|xyz|{{#set: Mainurl=xyz}}}}'''[{{{Mainurl}}} Go to event URL]'''</span>|<span style="font-size:2em;line-height:1.15em;margin-bottom:5px;display:block;">'''{{{PAGENAME}}}'''</span>}} | {{#if: {{{Mainurl}}}|<span style="font-size:1.5em;line-height:1.25em;margin-bottom:5px;display:block;">{{#arraymap:{{{Mainurl|}}}|,|xyz|{{#set: Mainurl=xyz}}}}'''[{{{Mainurl}}} Go to event URL]'''</span>|<span style="font-size:2em;line-height:1.15em;margin-bottom:5px;display:block;">'''{{{PAGENAME}}}'''</span>}} |