Difference between revisions of "Template:Event"
Jump to navigation
Jump to search
(Working) |
(Working) |
||
Line 21: | Line 21: | ||
<div id="calendar-event-description" class="mobile-collapse plainlinks" style="-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; width: 60%; float:left; right:1.5em; padding-left:2.5em; padding-right:1em; padding-top:1em;"> |
<div id="calendar-event-description" class="mobile-collapse plainlinks" style="-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; width: 60%; float:left; right:1.5em; padding-left:2.5em; padding-right:1em; padding-top:1em;"> |
||
+ | {{#ifeq:{{{cancelled|}}}|yes| |
||
+ | <span style="color:#990000; text-transform:uppercase;">'''Please note that this event has been cancelled.'''</span> |
||
+ | }} |
||
{{#if:{{{description|}}}|{{{description}}}{{#if:{{{info-link|}}}| '''[{{{info-link|}}} Learn more »]'''}}|''More details forthcoming!''}} |
{{#if:{{{description|}}}|{{{description}}}{{#if:{{{info-link|}}}| '''[{{{info-link|}}} Learn more »]'''}}|''More details forthcoming!''}} |
||
{{#if:{{{restriction|}}}| |
{{#if:{{{restriction|}}}| |
||
Line 26: | Line 29: | ||
<span style="color:#990000; text-transform:uppercase;">'''Please note that {{{restriction}}}.'''</span> |
<span style="color:#990000; text-transform:uppercase;">'''Please note that {{{restriction}}}.'''</span> |
||
}} |
}} |
||
− | <div id="calendar-buttons" class="mobile-collapse"> |
+ | {{#ifeq:{{{cancelled|}}}|yes||<div id="calendar-buttons" class="mobile-collapse"> |
{{#ifexpr:{{is future|month={{{month}}}|day={{{day}}}|year={{{year}}}}}|{{#if:{{{rsvp-link-meetup|}}}|<div style="padding-bottom:5px;">{{arrow button|external=yes|link={{{rsvp-link-meetup}}}|label=Sign up on Meetup.com}}</div>}}}}{{#ifexpr:{{is future|month={{{month}}}|day={{{day}}}|year={{{year}}}}}|{{#if:{{{rsvp-link-wiki|}}}|<div style="padding-bottom:5px;">{{arrow button|external=yes|link={{{rsvp-link-wiki}}}|label=Sign up on Wikipedia}}</div>}}}}{{#ifexpr:{{is future|month={{{month}}}|day={{{day}}}|year={{{year}}}}}|{{#if:{{{rsvp-link|}}}|{{arrow button|external=yes|link={{{rsvp-link}}}|label=Sign up}}}}}} |
{{#ifexpr:{{is future|month={{{month}}}|day={{{day}}}|year={{{year}}}}}|{{#if:{{{rsvp-link-meetup|}}}|<div style="padding-bottom:5px;">{{arrow button|external=yes|link={{{rsvp-link-meetup}}}|label=Sign up on Meetup.com}}</div>}}}}{{#ifexpr:{{is future|month={{{month}}}|day={{{day}}}|year={{{year}}}}}|{{#if:{{{rsvp-link-wiki|}}}|<div style="padding-bottom:5px;">{{arrow button|external=yes|link={{{rsvp-link-wiki}}}|label=Sign up on Wikipedia}}</div>}}}}{{#ifexpr:{{is future|month={{{month}}}|day={{{day}}}|year={{{year}}}}}|{{#if:{{{rsvp-link|}}}|{{arrow button|external=yes|link={{{rsvp-link}}}|label=Sign up}}}}}} |
||
− | </div> |
+ | </div>}} |
</div> |
</div> |
||
<div style="clear:both;"></div> |
<div style="clear:both;"></div> |
Revision as of 00:31, 20 January 2016