Differenze tra le versioni di "Template: Card"
Da CoderDojoComo Wiki.
Riga 1: | Riga 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
− | --><div class="panel | + | --> |
− | + | <div class="panel panel-{{{bodybg|primary}}}"> | |
− | <div class="panel-body | + | <div class="panel-body"> |
<h5 class="panel-title {{#if: {{{titlecolor|}}} |text-{{{titlecolor}}} }}">{{{title|}}}</h5> | <h5 class="panel-title {{#if: {{{titlecolor|}}} |text-{{{titlecolor}}} }}">{{{title|}}}</h5> | ||
<p class="panel-text">{{{content|}}}</p> | <p class="panel-text">{{{content|}}}</p> | ||
</div> | </div> | ||
− | + | <div class="panel-footer"><small class="text-{{{footercolor|muted}}}">{{{footer}}}</small></div> | |
− | <div class="panel-footer | ||
− | <small class="text-{{{footercolor|muted}}}">{{{footer}}}</small> | ||
</div> | </div> | ||
− | + | </includeonly> | |
− |