Template:Sidebox instance: Difference between revisions
Robertbaxter (talk | contribs) No edit summary Tag: Reverted |
Robertbaxter (talk | contribs) No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{| align="right" clear="right" class=" | -->{| align="right" clear="right" class="sidebox blue" | ||
{{#if:{{{name|}}} | {{#if:{{{name|}}} | ||
| <tr><th colspan="2" class=" | | <tr><th colspan="2" class="sidebox-title">{{{name}}}</th></tr> | ||
| {{#ifeq:{{#show:{{PAGENAME}}|?Has frequency}}|Once | | {{#ifeq:{{#show:{{PAGENAME}}|?Has frequency}}|Once | ||
| <!-- NO TITLE FOR A ONE-TIME EVENT --> | | <!-- NO TITLE FOR A ONE-TIME EVENT --> | ||
| <tr><th colspan="2" class=" | | <tr><th colspan="2" class="sidebox-title">{{#if:{{#show:{{PAGENAME}}|?Has short name}}|{{#show:{{PAGENAME}}|?Has short name}} |}}{{#switch:{{#show:{{PAGENAME}}|?Has frequency}} | ||
| | | Annual = {{#time:Y|{{{start_date}}}}} | ||
| | | Biennial = {{#time:Y|{{{start_date}}}}} | ||
| | | Semiannual = {{#time:F Y|{{{start_date}}}}} | ||
| Monthly = {{#time:F Y|{{{start_date}}}}} | | Monthly = {{#time:F Y|{{{start_date}}}}} | ||
| Weekly = {{#time:F j, Y|{{{start_date}}}}} | | Weekly = {{#time:F j, Y|{{{start_date}}}}} | ||
Line 18: | Line 18: | ||
! scope="row" | {{#ifeq:{{{start_date}}}|{{{end_date}}}|Date|Dates}} | ! scope="row" | {{#ifeq:{{{start_date}}}|{{{end_date}}}|Date|Dates}} | ||
| {{Date formatter | {{{start_date|}}} | {{{end_date|}}}}} | | {{Date formatter | {{{start_date|}}} | {{{end_date|}}}}} | ||
{{#if:{{{website|}}}|<tr><th scope="row">Website</th><td>{{{website}}}</td></tr>|}}<!-- | {{#if:{{{event_type|}}}|<tr><th scope="row">Type</th><td>{{{event_type}}}</td></tr>|}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{website|}}}|<tr><th scope="row">Website</th><td>{{{website}}}</td></tr>|}}<!-- | ||
-->{{#if:{{{venue|}}}|<tr><th scope="row">Venue</th><td>{{{venue}}}</td></tr>|}}<!-- | |||
-->{{#if:{{{location|}}}|<tr><th scope="row">Location</th><td><poem>{{{location}}}</poem></td></tr>|}}<!-- | |||
-->{{#if:{{{application_link|}}} | -->{{#if:{{{application_link|}}} | ||
| <tr> | | <tr> | ||
Line 28: | Line 30: | ||
}} | }} | ||
</td> | </td> | ||
</tr> | </tr><!-- | ||
-->{{#if:{{{application_deadline|}}}|<tr><th scope="row">Deadline</th><td>{{#time:F j, Y|{{{application_deadline|}}}}}</td></tr>}} | |||
|}} | |}} | ||
|}</includeonly> | |}</includeonly><templatestyles src="Sidebox instance/styles.css" /> |