Difference between revisions of "Template:Event"

From Creative Commons
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly><div style="width:100%;height:auto;padding:10px;position: relative; width: 100%;overflow: visible;padding:10px;margin-bottom:10px;">
 
<includeonly><div style="width:100%;height:auto;padding:10px;position: relative; width: 100%;overflow: visible;padding:10px;margin-bottom:10px;">
 
<div style="float:left;width:64%;padding:0px;margin:0px;position: relative;display:inline-block;">
 
<div style="float:left;width:64%;padding:0px;margin:0px;position: relative;display:inline-block;">
{{#if: {{{Mainurl}}}|<span style="font-size:2.2em;line-height:1.15em;margin-bottom:5px;display:block;">{{#arraymap:{{{Mainurl|}}}|,|x|[[Mainurl::x]]}}'''[{{{Mainurl}}} {{PAGENAME}}]'''</span>|<span style="font-size:2em;line-height:1.15em;margin-bottom:5px;display:block;">'''{{{PAGENAME}}}'''</span>}}
+
{{#if: {{{Mainurl}}}|<span style="font-size:2.2em;line-height:1.15em;margin-bottom:5px;display:block;">{{#arraymap:{{{Mainurl|}}}|,|xyz|{{#set: Mainurl=xyz}}}}'''[{{{Mainurl}}} {{PAGENAME}}]'''</span>|<span style="font-size:2em;line-height:1.15em;margin-bottom:5px;display:block;">'''{{{PAGENAME}}}'''</span>}}
 
<span style="display:block;margin-bottom:10px;">''{{#arraymap:{{{EventType|}}}|,|x|[[EventType::x]]}}'' in {{#arraymap:{{{Location|}}}|,|x|[[Location::x]]}}}</span>
 
<span style="display:block;margin-bottom:10px;">''{{#arraymap:{{{EventType|}}}|,|x|[[EventType::x]]}}'' in {{#arraymap:{{{Location|}}}|,|x|[[Location::x]]}}}</span>
 
<span style="display:block;margin-bottom:5px;">'''{{#arraymap:{{{EventCategory|}}}|,|x|[[EventCategory::x]]}}'''</span></div>
 
<span style="display:block;margin-bottom:5px;">'''{{#arraymap:{{{EventCategory|}}}|,|x|[[EventCategory::x]]}}'''</span></div>
 
<div style="padding:10px;float:right;font-weight:bold;display:inline-block;position: relative;margin:20px;margin-right:30px;">
 
<div style="padding:10px;float:right;font-weight:bold;display:inline-block;position: relative;margin:20px;margin-right:30px;">
<span style="font-size:1.8em;line-height:1.15em;display:block;color:#cc0000;">{{#arraymap:{{{date|}}}|,|x|[[date::x]]}}{{{date}}}{{#if: {{{end_date}}}| -<br /> {{#arraymap:{{{end_date|}}}|,|x|[[end_date::x]]}}{{{end_date}}}|}}</span></div><div style="clear:both;"></div></div>
+
<span style="font-size:1.8em;line-height:1.15em;display:block;color:#cc0000;">{{#arraymap:{{{date|}}}|,|x|{{#set: date=x}}}}{{{date}}}{{#if: {{{end_date}}}| -<br /> {{#arraymap:{{{end_date|}}}|,|x|{{#set: end_date=x}}}}{{{end_date}}}|}}</span></div><div style="clear:both;"></div></div>
  
 
See other [[events]].
 
See other [[events]].

Revision as of 20:40, 12 April 2010