Template:CardImage: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div class="card col-md-2 p-0 m-2 justify-content-between {{{card-class|}}}" style="max-width:155px !important">[{{fullurl:{{{pageName|{{PAGENAME}}}}}}} <img src="{{filepath:{{{file|}}}}}" class="card-img-top" alt="{{{alt|{{{pageName|}}}}}}">] | <includeonly><div class="card col-md-2 p-0 m-2 justify-content-between {{{card-class|}}}" style="max-width:155px !important;min-width:155px !important">[{{fullurl:{{{pageName|{{PAGENAME}}}}}}} <img src="{{filepath:{{{file|}}}}}" class="card-img-top" alt="{{{alt|{{{pageName|}}}}}}">] | ||
<div class="card-body p- | <div class="card-body p-1" style="flex:0 !important">{{#if:{{{alt|{{{pageName|}}}}}} | ||
|<h6 class="card-title text-center {{{title-class|}}}">{{{alt|{{{pageName|}}}}}}</h6> | |<h6 class="card-title text-center {{{title-class|}}}">{{{alt|{{{pageName|}}}}}}</h6> | ||
}}{{#if: {{{content|}}} | }}{{#if: {{{content|}}} |