Template:CardImage: Difference between revisions
From Variscite Wiki
(Created page with "<includeonly>[[File:{{{file|}}}|link={{{page|}}}|class={{{class|}}}|{{{alt|{{{page|}}}}}}]]</includeonly>") |
m (1 revision imported) |
||
(38 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[ | <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">{{#if: {{{content|}}} | |||
|<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> |