Sjabloon:Show article as card: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 16: Regel 16:
 
{{{Title|}}}
 
{{{Title|}}}
 
   </div>
 
   </div>
   <div class="card-body col-lg-6 col-12"  style="height: 230px; overflow: hidden;">
+
   <div class="card-body"  style="height: 230px; overflow: hidden;">
       {{{Picture|}}}
+
       <div class="col-lg-6 col-12">
{{#ifexpr:{{#len:{{{Short description|}}} }} > 350|{{#sub:{{{Short description|}}}|0|350}}...  |{{{Short description|}}} }}
+
        {{{Picture|}}}
 +
    </div>
 +
    <div class="col-lg-6 col-12">
 +
      {{#ifexpr:{{#len:{{{Short description|}}} }} > 350|{{#sub:{{{Short description|}}}|0|350}}...  |{{{Short description|}}} }}
 +
    </div>
 
   </div>
 
   </div>
 
   <div class="card-footer text-muted" style="text-align: right;">
 
   <div class="card-footer text-muted" style="text-align: right;">

Versie van 10 nov 2020 11:46

This is the "Show article as card" template. It should be called in the following format:

{{Show article as card
|Title=
|Short description=If the description is longer than 350 letters it will be cut off. Make sure it's shorter than that. 
}}

Edit the page to see the template text.