Difference between revisions of "Template:BattleTeamsSection"

From Cassette Beasts
(First attempt at creating template)
 
(Tweak margin between entries)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="flex-container wrap">
+
<div style="display: flex; flex-wrap: wrap;">
{{#if: {{{1|}}}|<div class="class="flex-item"">{{{1}}}</div>}}{{#if: {{{2|}}}|<div class="class="flex-item"">{{{2}}}</div>}}
+
{{#if: {{{1|}}}|<div style="margin-left: 15px; margin-right: 15px;">{{{1}}}</div>}}{{#if: {{{2|}}}|<div style="margin-left: 15px; margin-right: 15px;">{{{2}}}</div>}}{{#if: {{{3|}}}|<div style="margin-left: 15px; margin-right: 15px;">{{{3}}}</div>}}{{#if: {{{4|}}}|<div style="margin-left: 15px; margin-right: 15px;">{{{4}}}</div>}}{{#if: {{{5|}}}|<div style="margin-left: 15px; margin-right: 15px;">{{{5}}}</div>}}{{#if: {{{6|}}}|<div style="margin-left: 15px; margin-right: 15px;">{{{6}}}</div>}}{{#if: {{{7|}}}|<div style="margin-left: 15px; margin-right: 15px;">{{{7}}}</div>}}{{#if: {{{8|}}}|<div style="margin-left: 15px; margin-right: 15px;">{{{8}}}</div>}}{{#if: {{{9|}}}|<div style="margin-left: 15px; margin-right: 15px;">{{{9}}}</div>}}{{#if: {{{10|}}}|<div style="margin-left: 15px; margin-right: 15px;">{{{10}}}</div>}}{{#if: {{{11|}}}|<div style="margin-left: 15px; margin-right: 15px;">{{{11}}}</div>}}{{#if: {{{12|}}}|<div style="margin-left: 15px; margin-right: 15px;">{{{12}}}</div>}}{{#if: {{{13|}}}|<div style="margin-left: 15px; margin-right: 15px;">{{{13}}}</div>}}{{#if: {{{14|}}}|<div style="margin-left: 15px; margin-right: 15px;">{{{14}}}</div>}}
 
</div>
 
</div>

Latest revision as of 17:12, 22 September 2023