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;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|}}}|,|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]][http://wiki.creativecommons.org/index.php?title=Special:Ask&offset=0&limit=20&q=[[date::%3E2010-04-13]]%0A++[[Category:Event]][[EventCategory::{{urlencode: xyz}}]]&p=format%3Dtemplate/template%3DEvent-20List/link%3Dnone&po=%3FDate%3D%0A%3FLocation%3D%0A%3FEventType%3D%0A%3FEventCategory%3D%0A%3FMainurl%3D%0A%3FEnd+date%3D%0A&sort=Date&order=ASC&eq=yes xyz]}}</span><span style="font-size:1.3em;display:block;margin-bottom:10px;">{{#arraymap:{{{date|}}}|,|x|{{#set: date=x}}}}{{{date}}}{{#if: {{{end_date}}}| &nbsp;&ndash;  {{#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}}}| &nbsp;&ndash;  {{#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 />[[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 />[[Category:Event]]
 
</includeonly>
 
</includeonly>

Revision as of 00:27, 14 April 2010