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 p-0 mb-md-3 mr-md-3">[{{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 mb-md-3 mr-md-3 justify-content-between">[{{fullurl:{{{pageName|{{PAGENAME}}}}}}} <img src="{{filepath:{{{file|}}}}}" class="card-img-top" alt="{{{alt|{{{pageName|}}}}}}">]
   <div class="card-body p-3">
   <div class="card-body p-3">{{#if:{{{alt|{{{pageName|}}}}}}
    <h5 class="card-title text-center">{{{alt|{{{pageName|}}}}}}</h5>
  |<h5 class="card-title text-center">{{{alt|{{{pageName|}}}}}}</h5>
    <p class="card-text">{{{content|}}}</p>
}}{{#if: {{{content|}}}
  |<p class="card-text">{{{content|}}}</p>
}}
   </div>
   </div>
</div></includeonly>
</div></includeonly>

Revision as of 12:20, 20 May 2020