Differenze tra le versioni di "Template: Card"

Da CoderDojoComo Wiki.
 
(14 versioni intermedie di uno stesso utente non sono mostrate)
Riga 1: Riga 1:
 
<includeonly><!--
 
<includeonly><!--
--><div class="panel {{#if: {{{border|}}} |border border-{{{border}}} }} text-{{{contentcolor|black}}} panel-{{{bodybg|primary}}} mb-3" style="max-width: {{{maxwidth|18rem}}};">
+
-->
  <div class="panel-heading {{#if: {{{headerbg|}}} |bg-{{{headerbg}}} }} {{#if: {{{headercolor|}}} |text-{{{headercolor}}} }}">{{{header|}}}</div>
+
  <div class="col-sm-6 col-md-4">
  <div class="panel-body text-{{{contentcolor|black}}} bg-{{{bodybg|info}}}">
+
    <div class="thumbnail"  style="min-height:25em">{{#if: {{{image|}}} | {{{image|}}} }}  
    <h5 class="panel-title {{#if: {{{titlecolor|}}} |text-{{{titlecolor}}} }}">{{{title|}}}</h5>
+
      <div class="caption">
    <p class="panel-text">{{{content|}}}</p>
+
        <h3>{{{title|}}}</h3>
 +
        <p>{{{content|}}}</p>
 +
      </div>
 +
    </div>
 
   </div>
 
   </div>
  {{#if: {{{footer|}}} |
+
<nowiki />
<div class="panel-footer {{#if: {{{footerbg|}}} |bg-{{{footerbg}}} }}">
+
</includeonly>
<small class="text-{{{footercolor|muted}}}">{{{footer}}}</small>
 
</div>
 
  }}
 
</div></includeonly>
 

Versione attuale delle 11:45, 16 mar 2024