Sjabloon:Show article as card: verschil tussen versies
Uit Auditpedia
Regel 13: | Regel 13: | ||
<div class= "col-lg-6 col-12 pt-5"> | <div class= "col-lg-6 col-12 pt-5"> | ||
<div class="card "> | <div class="card "> | ||
− | + | <div class="card-header" style="background-color: #20b096; color: white;"> | |
{{{Title|}}} | {{{Title|}}} | ||
− | + | </div> | |
− | + | <div class="card-body" style="height: 230px; overflow: hidden;"> | |
+ | <div class="image-wrapper float-left pr-3"> | ||
{{{Picture|}}} | {{{Picture|}}} | ||
+ | </div> | ||
+ | <div class="single-post-content-wrapper p-3"> | ||
{{#ifexpr:{{#len:{{{Short description|}}} }} > 350|{{#sub:{{{Short description|}}}|0|350}}... |{{{Short description|}}} }} | {{#ifexpr:{{#len:{{{Short description|}}} }} > 350|{{#sub:{{{Short description|}}}|0|350}}... |{{{Short description|}}} }} | ||
− | + | </div> | |
+ | </div> | ||
<div class="card-footer text-muted" style="text-align: right;"> | <div class="card-footer text-muted" style="text-align: right;"> | ||
{{#widget: Link | {{#widget: Link |
Versie van 12 nov 2020 12:24
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.