Template:CardImage: Difference between revisions
From Variscite Wiki
No edit summary |
m (1 revision imported) |
||
(20 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="card | <includeonly><div class="card p-0 m-1 justify-content-between {{{card-class|}}}" style=""><div class="d-flex flex-fill flex-column justify-content-center">[{{fullurl:{{{pageName|{{PAGENAME}}}}}}} <htmltag tagname="img" src="{{filepath:{{{file|}}}}}" class="card-img-top" alt="{{{alt|{{{pageName|}}}}}}"></htmltag>] | ||
<div class="card-body p-1" style="flex:0 !important"> | <div class="card-body p-1" style="flex:0 !important">{{#if: {{{content|}}} | ||
|<p class="card-text">{{{content|}}}</p> | |<p class="card-text">{{{content|}}}</p> | ||
}} </div> | |||
</div> | |||
{{#if:{{{alt|{{{pageName|}}}}}} | |||
|<h6 class="card-title text-center {{{title-class|}}}" style="min-height:2.8rem">{{{alt|{{{pageName|}}}}}}</h6> | |||
}} | }} | ||
</div></includeonly> | </div></includeonly> |