Template:CardImage: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div class="card col-md-4 col-lg-3 col-xl-2">[{{fullurl:{{{pageName|{{PAGENAME}}}}}}} <img src="{{filepath:{{{file|}}}}}" class="card-img-top" alt="{{{alt|{{{pageName|}}}}}}">] | <includeonly><div class="card col-md-4 col-lg-3 col-xl-2 p-0">[{{fullurl:{{{pageName|{{PAGENAME}}}}}}} <img src="{{filepath:{{{file|}}}}}" class="card-img-top" alt="{{{alt|{{{pageName|}}}}}}">] | ||
<div class="card-body"> | <div class="card-body p-3"> | ||
<h5 class="card-title">{{{alt|{{{pageName|}}}}}}</h5> | <h5 class="card-title text-center">{{{alt|{{{pageName|}}}}}}</h5> | ||
<p class="card-text">{{{content|}}}</p> | <p class="card-text">{{{content|}}}</p> | ||
</div> | </div> | ||
</div></includeonly> | </div></includeonly> |