Template:FlexCard: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Line 9: Line 9:
<div class="flexcard" {{#ifeq:{{{2|}}}|card|style="background-color:var(--color-surface-4);box-shadow:var(--box-shadow-card);padding:.8em;"}}>}}<!--
<div class="flexcard" {{#ifeq:{{{2|}}}|card|style="background-color:var(--color-surface-4);box-shadow:var(--box-shadow-card);padding:.8em;"}}>}}<!--


-->{{#ifeq:{{{1|}}}|div|</div><div class="flexcardcontainer">
-->{{#ifeq:{{{1|}}}|div|</div><div class="flexcard" {{#ifeq:{{{2|}}}|card|style="background-color:var(--color-surface-4);box-shadow:var(--box-shadow-card);padding:.8em;"}}>}}<!--
<div class="flexcard" {{#ifeq:{{{2|}}}|card|style="background-color:var(--color-surface-4);box-shadow:var(--box-shadow-card);padding:.8em;"}}>}}<!--


-->{{#ifeq:{{{1|}}}|stop|</div></div>}}</includeonly>
-->{{#ifeq:{{{1|}}}|stop|</div></div>}}</includeonly>

Revision as of 19:05, 16 June 2023

  • Param 1: begin / div / stop
  • Param 2: optional; card / container; decides which element should have card background

{{FlexCard|begin|Yes}}