Difference between revisions of "User:James Hare/Sandbox"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Working with event template)
(Working)
Line 1: Line 1:
{| class="plainlinks" style="border-collapse:collapse;"
+
<div class="plainlinks" style="border-collapse:collapse;">
  +
<div style="vertical-align:top; background:#F4F4F4; padding-left:20px; padding-right:20px; border-top: 1px solid #BBBDBF; border-right: 1px dotted #BBBDBF;">
|-
 
| style="vertical-align:top; background:#F4F4F4; padding-left:20px; padding-right:20px; border-top: 1px solid #BBBDBF; border-right: 1px dotted #BBBDBF;" | <h3 style="font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0;">{{{month}}}&nbsp;{{{day}}}</h3>{{anchor|{{{month}}} {{{day}}}}}
+
<h3 style="font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0;">{{{month}}}&nbsp;{{{day}}}</h3>{{anchor|{{{month}}} {{{day}}}}}
  +
</div>
| colspan="2" style="border-top: 1px solid #BBBDBF; padding-left:10px;" | <h3 style="font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0;">{{{title}}}</h3>
 
  +
<div style="width:40%; border-top: 1px solid #BBBDBF; padding-left:10px;">
| rowspan="3" style="border-top: 1px solid #BBBDBF; vertical-align:top; padding:10px;" | {{#ifexpr:{{is future|month={{{month}}}|day={{{day}}}|year={{{year}}}}}|{{#if:{{{rsvp-link|}}}|<div style="padding-bottom:5px;">{{button|link={{{rsvp-link}}}|label=Sign up now &raquo;|primary=yes|width=100px}}</div>}}}}{{#if:{{{info-link|}}}|{{button|link={{{info-link}}}|label=Learn more &raquo;|width=100px}}}}
 
 
<h3 style="font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0;">{{{title}}}</h3>
|-
 
  +
</div>
| rowspan="{{#if:{{{restriction|}}}|4|3}}" style="border-right: 1px dotted #BBBDBF;" |
 
| style="padding:5px; padding-left:10px; vertical-align:top;" | '''WHEN'''
+
<div style="width:60%; border-top: 1px solid #BBBDBF; vertical-align:top; padding:10px;">
 
{{#ifexpr:{{is future|month={{{month}}}|day={{{day}}}|year={{{year}}}}}|{{#if:{{{rsvp-link|}}}|<div style="padding-bottom:5px;">{{button|link={{{rsvp-link}}}|label=Sign up now &raquo;|primary=yes|width=100px}}</div>}}}}{{#if:{{{info-link|}}}|{{button|link={{{info-link}}}|label=Learn more &raquo;|width=100px}}}}
| style="width:100%; padding:5px; padding-left:10px;" | ''{{{dow}}}, {{{month}}} {{{day}}}, {{{year}}}''<br />''{{{time}}}''
 
  +
</div>
|-
 
  +
: '''WHEN'''
| style="padding:5px; padding-left:10px; vertical-align:top;" | '''WHERE'''
 
| style="width:100%; padding:5px; padding-left:10px;" | ''{{{place}}}''{{#if:{{{address|}}}|<br />''{{{address}}}''}}
+
: ''{{{dow}}}, {{{month}}} {{{day}}}, {{{year}}}''<br />''{{{time}}}''
  +
|-
 
  +
: '''WHERE'''
| colspan="3" style="padding:5px; padding-left:10px;" | {{#if:{{{description|}}}|{{{description}}}|''More details forthcoming!''}}
 
  +
: ''{{{place}}}''{{#if:{{{address|}}}|<br />''{{{address}}}''}}
  +
 
{{#if:{{{description|}}}|{{{description}}}|''More details forthcoming!''}}
  +
 
{{#if:{{{restriction|}}}|
 
{{#if:{{{restriction|}}}|
 
<span style="color:#990000; text-transform:uppercase;">'''Please note that {{{restriction}}}.'''</span>
|-
 
| colspan="3" style="padding:5px; padding-left:10px; color:#990000; text-transform:uppercase;" | '''Please note that {{{restriction}}}.'''
 
 
}}
 
}}
  +
</div>
|-
 
| colspan="2" style="height:10px;" |
 
}}}}}}
 
|}
 

Revision as of 18:21, 23 June 2013