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="card {{#if: {{{border|}}} |border border-{{{border}}} }} text-{{{contentcolor|black}}} bg-{{{bodybg|info}}} mb-3" style="max-width: {{{maxwidth|18rem}}};">
+
--><div class="panel {{#if: {{{border|}}} |border border-{{{border}}} }} text-{{{contentcolor|black}}} bg-{{{bodybg|info}}} mb-3" style="max-width: {{{maxwidth|18rem}}};">
   <div class="card-header {{#if: {{{headerbg|}}} |bg-{{{headerbg}}} }} {{#if: {{{headercolor|}}} |text-{{{headercolor}}} }}">{{{header|}}}</div>
+
   <div class="panel-heading {{#if: {{{headerbg|}}} |bg-{{{headerbg}}} }} {{#if: {{{headercolor|}}} |text-{{{headercolor}}} }}">{{{header|}}}</div>
   <div class="card-body text-{{{contentcolor|black}}} bg-{{{bodybg|info}}}">
+
   <div class="panel-body text-{{{contentcolor|black}}} bg-{{{bodybg|info}}}">
     <h5 class="card-title {{#if: {{{titlecolor|}}} |text-{{{titlecolor}}} }}">{{{title|}}}</h5>
+
     <h5 class="panel-title {{#if: {{{titlecolor|}}} |text-{{{titlecolor}}} }}">{{{title|}}}</h5>
     <p class="card-text">{{{content|}}}</p>
+
     <p class="panel-text">{{{content|}}}</p>
 
   </div>
 
   </div>
 
   {{#if: {{{footer|}}} |
 
   {{#if: {{{footer|}}} |
<div class="card-footer {{#if: {{{footerbg|}}} |bg-{{{footerbg}}} }}">
+
<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>

Versione delle 01:49, 16 mar 2024