Sjabloon:Show featured article: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 6: Regel 6:
 
{{Show article as card
 
{{Show article as card
 
|Title=
 
|Title=
|Short description=If the description is longer than 700 letters it will be cut off. Make sure it's shorter than that.  
+
|Short description=If the description is longer than 680 letters it will be cut off. Make sure it's shorter than that.  
 
}}
 
}}
 
</pre>
 
</pre>
Regel 12: Regel 12:
 
</noinclude><includeonly>__NOTOC____NOTITLE__
 
</noinclude><includeonly>__NOTOC____NOTITLE__
 
<div class="single-post-content-wrapper featured">
 
<div class="single-post-content-wrapper featured">
{{#ifexpr:{{#len:{{{Short description|}}} }} > 400|{{#sub:{{{Short description|}}}|0|700}}...  |{{{Short description|}}} }}
+
{{#ifexpr:{{#len:{{{Short description|}}} }} > 400|{{#sub:{{{Short description|}}}|0|680}}...  |{{{Short description|}}} }}
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Versie van 30 nov 2020 12:42

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 680 letters it will be cut off. Make sure it's shorter than that. 
}}

Edit the page to see the template text.