Template:Event: Difference between revisions

let's try 200 flex
putting date and time on one row
ย 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{#if:{{{image|}}}|<div style="text-align:center; margin-bottom:0.4em;">[[File:{{{image}}}|210px]]</div>}}
{{#if:{{{image|}}}|<div style="text-align:center; margin-bottom:0.4em;">[[File:{{{image}}}|210px]]</div>}}
<div style="font-weight:bold; font-size:1.15em; line-height:1.15; margin:0.6em 0; text-align:center;">{{{name}}}</div>
<div style="font-weight:bold; font-size:1.15em; line-height:1.15; margin:0.6em 0; text-align:center;">{{{name}}}</div>
<div style="display:grid; grid-template-columns:1.8em 1fr; row-gap:0.5em; margin-top:0.2em; line-height:1.15; align-items:baseline;">{{#if:{{{organizers|}}}|<span>๐Ÿ‘ฅ</span><span>{{{organizers}}}</span>}}{{#if:{{{date|}}}|<span>๐Ÿ“…</span><span>{{#time:F j|{{{date}}}}}</span>}}{{#if:{{{time|}}}|<span>๐Ÿ•</span><span>{{{time}}}</span>}}{{#if:{{{place|}}}|<span>๐Ÿ“</span><span>{{{place}}}</span>}}</div>
<div style="display:grid; grid-template-columns:1.8em 1fr; row-gap:0.5em; margin-top:0.2em; line-height:1.15; align-items:baseline;">{{#if:{{{organizers|}}}|<span>๐Ÿ‘ฅ</span><span>{{{organizers}}}</span>}}{{#if:{{{date|}}}|<span>๐Ÿ“…</span><span>{{#time:l, F j|{{{date}}}}} {{#if:{{{time|}}}|ยท {{{time}}}}}</span>}}{{#if:{{{place|}}}|<span>๐Ÿ“</span><span>{{{place}}}</span>}}</div>
{{#if:{{{description|}}}|<div style="font-style:italic; font-size:0.85em; margin-top:1em; line-height:1; color: var(--vw-text-subtle)">{{{description}}}</div>}}
{{#if:{{{description|}}}|<div style="font-style:italic; font-size:0.85em; margin-top:1em; line-height:1; color: var(--vw-text-subtle)">{{{description}}}</div>}}
</div><noinclude>{{Documentation}}</noinclude>
</div><noinclude>{{Documentation}}</noinclude>