Template:CardImage: Difference between revisions

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

Latest revision as of 05:01, 21 September 2023