Template:Sidebox instance: Difference between revisions
Robertbaxter (talk | contribs) m (Robertbaxter moved page Template:Sidebox event to Template:Sidebox instance without leaving a redirect) |
Robertbaxter (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
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 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:{{{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:{{{location|}}}|<tr><th scope="row">Location</th><td><poem>{{{location}}}</poem></td></tr>|}}<!-- | |||
-->{{#if:{{{application_link|}}} | -->{{#if:{{{application_link|}}} | ||
| <tr> | | <tr> | ||
Line 31: | Line 33: | ||
-->{{#if:{{{application_deadline|}}}|<tr><th scope="row">Deadline</th><td>{{#time:F j, Y|{{{application_deadline|}}}}}</td></tr>}} | -->{{#if:{{{application_deadline|}}}|<tr><th scope="row">Deadline</th><td>{{#time:F j, Y|{{{application_deadline|}}}}}</td></tr>}} | ||
|}} | |}} | ||
|}</includeonly><templatestyles src="Sidebox | |}</includeonly><templatestyles src="Sidebox instance/styles.css" /> |