Template:BattleTeamsSection: Difference between revisions

From Cassette Beasts
ExcaliburZero (talk | contribs)
More tweaks to try to get the flexbox support working
ExcaliburZero (talk | contribs)
Added margin and more parameters
Line 1: Line 1:
<div style="display: flex; flex-wrap: wrap;">
<div style="display: flex; flex-wrap: wrap;">
{{#if: {{{1|}}}|<div>{{{1}}}</div>}}{{#if: {{{2|}}}|<div class="flex-item">{{{2}}}</div>}}
{{#if: {{{1|}}}|<div style="margin: 5px;">{{{1}}}</div>}}{{#if: {{{2|}}}|<div style="margin: 5px;">{{{2}}}</div>}}{{#if: {{{3|}}}|<div style="margin: 5px;">{{{3}}}</div>}}{{#if: {{{4|}}}|<div style="margin: 5px;">{{{4}}}</div>}}{{#if: {{{5|}}}|<div style="margin: 5px;">{{{5}}}</div>}}
</div>
</div>

Revision as of 17:06, 22 September 2023