Sjabloon:Show featured article: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 13: Regel 13:
 
<div class="single-post-content-wrapper">
 
<div class="single-post-content-wrapper">
 
{{#ifexpr:{{#len:{{{Short description|}}} }} > 400|{{#sub:{{{Short description|}}}|0|350}}...  |{{{Short description|}}} }}
 
{{#ifexpr:{{#len:{{{Short description|}}} }} > 400|{{#sub:{{{Short description|}}}|0|350}}...  |{{{Short description|}}} }}
</div>
 
<div class="card-footer text-muted" style="">
 
{{#widget: Link
 
|type=a
 
|href={{fullurl:Article/{{{Title|}}}}}
 
|text={{int: ws-read-more}}
 
|class=button portal-button
 
}}
 
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Versie van 30 nov 2020 11:16

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.