Sjabloon:Show podcast in card: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 15: Regel 15:
 
}}
 
}}
 
</pre>
 
</pre>
</noinclude><includeonly><div class="col-lg-6 col-md-12"><div class="card card-green">
+
</noinclude><includeonly><!--
 +
 
 +
--><div class="col-lg-6 col-md-12">
 +
<div class="card card-green">
 
<div class="card-header">
 
<div class="card-header">
  <h4>{{#if:{{{Title|}}}|<b>{{{Title|}}}</b>| }}</h4>
+
<h4>{{#if:{{{Title|}}}|<b>{{{Title|}}}</b>| }}</h4>
 
</div>
 
</div>
<div class="card-body inhoud" style="background-color: #1d84b0;"><!--  
+
<div class="card-body inhoud"><!--  
--><div class="single-post-content-wrapper featured"><div class="row"><div class="col-xs-12 col-sm-5 col-md-4 col-lg-5 col-xl-4">[[{{{Image podcast item|}}} |150px]]</div><div class="col-xs-12 col-sm-7 col-md-8 col-lg-7 col-xl-8" style="color: white;"><i>{{{Datum|}}}</i><br><!--  
+
--><div class="single-post-content-wrapper featured"><!--
-->{{#ifexpr:{{#len:{{{Short description|}}} }} > 400|{{#sub:{{{Short description|}}}|0|703}}...  |{{{Short description|}}} }}
+
    --><div class="row"><!--
</div><!--  
+
    --><div class="col-xs-12 col-sm-5 col-md-4 col-lg-5 col-xl-4"><!--
--></div></div><!--  
+
        -->[[{{{Image podcast item|}}} |150px]]<!--
  --><div class="card-footer text-right" style="margin-top:20px;">
+
    --></div><!--
{{#widget: Link
+
    --><div class="col-xs-12 col-sm-7 col-md-8 col-lg-7 col-xl-8"><!--
|type=a
+
        --><i>{{{Datum|}}}</i><br><!--  
|href={{fullurl:{{{Page|}}} }}
+
        -->{{#ifexpr:{{#len:{{{Short description|}}} }} > 400
|text={{int: ws-read-more}}
+
            |{{#sub:{{{Short description|}}}|0|703}}...  |{{{Short description|}}}  
|class=button featured-button
+
            }}<!--
}}</div></div></div></div></includeonly>
+
    --></div><!--  
 +
    --></div><!--
 +
--></div><!--  
 +
  --><div class="card-footer text-right" style="margin-top:20px;"><!--
 +
-->{{#widget: Link
 +
      |type=a
 +
      |href={{fullurl:{{{Page|}}} }}
 +
      |text={{int: ws-read-more}}
 +
    |class=button featured-button
 +
    }}<!--
 +
--></div><!--
 +
--></div>
 +
</div>
 +
</div>
 +
</includeonly>

Versie van 17 feb 2022 10:58


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

{{Show podcast in card
|Title=
|Datum=
|Short description=
|Page=
}}