Sjabloon:Show article as card: verschil tussen versies
Uit Auditpedia
Regel 18: | Regel 18: | ||
<div class="card-body" style="height: 350px; overflow: hidden;"> | <div class="card-body" style="height: 350px; overflow: hidden;"> | ||
<div class="single-post-content-wrapper"> | <div class="single-post-content-wrapper"> | ||
− | {{#ifexpr:{{#len:{{{Short description|}}} }} > 400|{{#sub:{{{Short description|}}}|0| | + | {{#ifexpr:{{#len:{{{Short description|}}} }} > 400|{{#sub:{{{Short description|}}}|0|400}}... |{{{Short description|}}} }} |
</div> | </div> | ||
</div> | </div> |
Versie van 17 dec 2020 19:41
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.