Template:FlexCard: Difference between revisions

Template page
(Created page with "<noinclude> * Param 1: begin / div / stop * Param 2: optional; card / container; decides which element should have card background <code><nowiki>{{FlexCard|begin|Yes}}</nowiki></code> </noinclude><includeonly><!-- -->{{#ifeq:{{{1|}}}|begin|<div class="flexcardcontainer" {{#ifeq:{{{2|}}}|container|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(--co...")
 
mNo edit summary
Line 12: Line 12:
<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:04, 16 June 2023

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

{{FlexCard|begin|Yes}}