Differenze tra le versioni di "Template: Card"
Da CoderDojoComo Wiki.
(Creata pagina con "<includeonly><!-- --><div class="card {{#if: {{{border|}}} |border border-{{{border}}} }} text-{{{contentcolor|black}}} bg-{{{bodybg|info}}} mb-3" style="max-width: {{{maxwidt...") |
|||
Riga 1: | Riga 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
− | --><div class=" | + | --><div class="panel {{#if: {{{border|}}} |border border-{{{border}}} }} text-{{{contentcolor|black}}} bg-{{{bodybg|info}}} mb-3" style="max-width: {{{maxwidth|18rem}}};"> |
− | <div class=" | + | <div class="panel-heading {{#if: {{{headerbg|}}} |bg-{{{headerbg}}} }} {{#if: {{{headercolor|}}} |text-{{{headercolor}}} }}">{{{header|}}}</div> |
− | <div class=" | + | <div class="panel-body text-{{{contentcolor|black}}} bg-{{{bodybg|info}}}"> |
− | <h5 class=" | + | <h5 class="panel-title {{#if: {{{titlecolor|}}} |text-{{{titlecolor}}} }}">{{{title|}}}</h5> |
− | <p class=" | + | <p class="panel-text">{{{content|}}}</p> |
</div> | </div> | ||
{{#if: {{{footer|}}} | | {{#if: {{{footer|}}} | | ||
− | <div class=" | + | <div class="panel-footer {{#if: {{{footerbg|}}} |bg-{{{footerbg}}} }}"> |
<small class="text-{{{footercolor|muted}}}">{{{footer}}}</small> | <small class="text-{{{footercolor|muted}}}">{{{footer}}}</small> | ||
</div> | </div> | ||
}} | }} | ||
</div></includeonly> | </div></includeonly> |