Template:Sidebox instance: Difference between revisions
Robertbaxter (talk | contribs) (Created page with "<includeonly><!-- -->{| align="right" class="sidebox" {{#if:{{{name|}}} | <tr><th colspan="2" class="sidebox-title">{{{name}}}</th></tr> | {{#ifeq:{{#show:{{PAGENAME}}|?Has frequency}}|Once | <!-- NO TITLE FOR A ONE-TIME EVENT --> | <tr><th colspan="2" class="sidebox-title">{{#if:{{#show:{{PAGENAME}}|?Has short name}}|{{#show:{{PAGENAME}}|?Has short name}} |}}{{#switch:{{#show:{{PAGENAME}}|?Has frequency}} | Annually = {{#time:Y|{{{start_date}}}}}...") |
Robertbaxter (talk | contribs) No edit summary |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{| align="right" class="sidebox" | -->{| align="right" clear="right" class="sidebox blue" | ||
{{#if:{{{name|}}} | {{#if:{{{name|}}} | ||
| <tr><th colspan="2" class="sidebox-title">{{{name}}}</th></tr> | | <tr><th colspan="2" class="sidebox-title">{{{name}}}</th></tr> | ||
Line 6: | Line 6: | ||
| <!-- NO TITLE FOR A ONE-TIME EVENT --> | | <!-- NO TITLE FOR A ONE-TIME EVENT --> | ||
| <tr><th colspan="2" class="sidebox-title">{{#if:{{#show:{{PAGENAME}}|?Has short name}}|{{#show:{{PAGENAME}}|?Has short name}} |}}{{#switch:{{#show:{{PAGENAME}}|?Has frequency}} | | <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 16: | Line 16: | ||
}} | }} | ||
|- | |- | ||
! scope="row" | Date | ! 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:{{{website|}}}|<tr><th scope="row">Website</th><td>{{{website}}}</td></tr>|}}<!-- | |||
-->{{#if:{{{venue|}}}|<tr><th scope="row">Venue</th><td>{{{venue}}}</td></tr>|}}<!-- | -->{{#if:{{{venue|}}}|<tr><th scope="row">Venue</th><td>{{{venue}}}</td></tr>|}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{location|}}}|<tr><th scope="row">Location</th><td><poem>{{{location}}}</poem></td></tr>|}}<!-- | ||
-->{{#if:{{{application_link|}}} | -->{{#if:{{{application_link|}}} | ||
| <tr> | | <tr> | ||
Line 29: | 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" /> |