Difference between revisions of "Template:Event"

From Creative Commons
Jump to: navigation, search
Line 2: Line 2:
 
<span style="font-size:1.8em;display:block;margin-bottom:10px;line-height:1.25em;">''{{#arraymap:{{{EventType|}}}|,|x|[[EventType::x]]}}'' in {{#arraymap:{{{Location|}}}|,|x|[[Location::x]]}}</span>
 
<span style="font-size:1.8em;display:block;margin-bottom:10px;line-height:1.25em;">''{{#arraymap:{{{EventType|}}}|,|x|[[EventType::x]]}}'' in {{#arraymap:{{{Location|}}}|,|x|[[Location::x]]}}</span>
 
<span style="line-height:1.25em;font-size:1.5em;display:block;margin-bottom:5px;">'''{{#arraymap:{{{EventCategory|}}}|,|x|[[EventCategory::x]]}}'''</span>
 
<span style="line-height:1.25em;font-size:1.5em;display:block;margin-bottom:5px;">'''{{#arraymap:{{{EventCategory|}}}|,|x|[[EventCategory::x]]}}'''</span>
<span style="font-size:1.8em;line-height:1.25em;display:block;color:#cc0000;">{{#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;line-height:1.25em;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>}}
 
<span style="font-size: 90%;float:right;">[[Events|Back to Events >>]]</span>
 
<span style="font-size: 90%;float:right;">[[Events|Back to Events >>]]</span>

Revision as of 20:51, 12 April 2010