Sjabloon:Show featured article: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 1: Regel 1:
{{managed
+
<noinclude>{{Managed
}}<noinclude>
+
|Version=1.0
This is the "Show article as card" template.
+
|Version notes=1.0 - First managed version
It should be called in the following format:
+
|Short description=
 +
}}
 +
 
 +
This is the "Show featured article" template. It should be called in the following format:
 +
 
 
<pre>
 
<pre>
 
{{Show featured article
 
{{Show featured article
 
|Title=
 
|Title=
|Short description=If the description is longer than 690 letters it will be cut off. Make sure it's shorter than that.
+
|Short description=
 +
|Page=
 
}}
 
}}
 
</pre>
 
</pre>
Edit the page to see the template text.
+
</noinclude><includeonly><div class="card" style="background-color: #1d84b0;">
</noinclude><includeonly>__NOTOC____NOTITLE__
+
<div class="card-header" style="background-color: #006F9E; color: white;">
 +
  <h4>{{#if:{{{Title|}}}|<b>{{ucfirst:{{int:ws-newest-article}} }}:</b> {{{Title|}}}|{{ucfirst:{{int:ws-newest-article}} }} }}</h4>
 +
</div>
 +
<div class="card-body inhoud" style="background-color: #1d84b0;"><!--
 +
-->
 
<div class="single-post-content-wrapper featured">
 
<div class="single-post-content-wrapper featured">
 
{{#ifexpr:{{#len:{{{Short description|}}} }} > 400|{{#sub:{{{Short description|}}}|0|703}}...  |{{{Short description|}}} }}
 
{{#ifexpr:{{#len:{{{Short description|}}} }} > 400|{{#sub:{{{Short description|}}}|0|703}}...  |{{{Short description|}}} }}
 +
</div><!--
 +
-->
 +
</div>
 +
<div class="card-footer" style="margin-top:-20px">
 +
{{#widget: Link
 +
|type=a
 +
|href={{{Page|}}}
 +
|text={{int: ws-read-more}}
 +
|class=button featured-button
 +
}}
 
</div>
 
</div>
</includeonly>
+
</div></includeonly>

Versie van 10 nov 2021 12:49


This is the "Show featured article" template. It should be called in the following format:

{{Show featured article
|Title=
|Short description=
|Page=
}}