Pages which use this infobox are listed at Category:Event2s.
Template:Infobox event: Difference between revisions
Robertbaxter (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
! colspan="2" class="infobox-title" | {{#if:{{{short_name|}}}|{{{short_name|}}}|{{{title}}}}} | ! colspan="2" class="infobox-title" | {{#if:{{{short_name|}}}|{{{short_name|}}}|{{{title}}}}} | ||
{{#if:{{{short_name}}}|<tr><th colspan="2" class="infobox-header">{{{title}}}</th></tr>|}}<!-- | {{#if:{{{short_name}}}|<tr><th colspan="2" class="infobox-header">{{{title}}}</th></tr>|}}<!-- | ||
-->{{#ifexpr:{{#if:{{{event_type|}}}|1|0}} and {{#ifeq:{{lc:{{{event_type|}}}}}|unknown|0|1}}|<tr><th scope="row">Type</th><td>{{#arraymap:{{{event_type|}}}|, |@@@@|<p>@@@@</p>}}</td></tr>|}}<!-- | -->{{#ifexpr:{{#if:{{{event_type|}}}|1|0}} and {{#ifeq:{{lc:{{{event_type|}}}}}|unknown|0|1}}|<tr><th scope="row">Type</th><td>{{#arraymap:{{{event_type|}}}|,|@@@@|<p>@@@@</p>|}}</td></tr>|}}<!-- | ||
-->{{#if:{{{frequency||}}}|{{#ifeq:{{{frequency}}}|Once||<tr><th scope="row">Frequency</th><td>{{{frequency}}}</td></tr>|}}}}<!-- | -->{{#if:{{{frequency||}}}|{{#ifeq:{{{frequency}}}|Once||<tr><th scope="row">Frequency</th><td>{{{frequency}}}</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>|}}<!-- |