Template:Sidebox instance: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
-->{| align="right" class="infobox"
-->{| align="right" clear="right" class="sidebox blue"
{{#if:{{{name|}}}
{{#if:{{{name|}}}
   | <tr><th colspan="2" class="infobox-title">{{{name}}}</th></tr>
   | <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="infobox-title">{{#if:{{#show:{{PAGENAME}}|?Has short name}}|{{#show:{{PAGENAME}}|?Has short name}}&nbsp;|}}{{#switch:{{#show:{{PAGENAME}}|?Has frequency}}
     | <tr><th colspan="2" class="sidebox-title">{{#if:{{#show:{{PAGENAME}}|?Has short name}}|{{#show:{{PAGENAME}}|?Has short name}}&nbsp;|}}{{#switch:{{#show:{{PAGENAME}}|?Has frequency}}
       | Annually = {{#time:Y|{{{start_date}}}}}
       | Annual = {{#time:Y|{{{start_date}}}}}
       | Biennially = {{#time:Y|{{{start_date}}}}}
       | Biennial = {{#time:Y|{{{start_date}}}}}
       | Semiannually = {{#time:F 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:{{{application_deadline|}}}|<tr><th scope="row">Deadline</th><td>{{#time:F j, Y|{{{application_deadline|}}}}}</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 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" />

Latest revision as of 22:44, 20 January 2025