Sjabloon:Show featured article: verschil tussen versies
Uit Auditpedia
(31 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 1: | Regel 1: | ||
− | {{managed | + | <noinclude>{{Managed |
− | }} | + | |Version=1.0 |
− | This is the "Show article | + | |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 article | + | {{Show featured article |
|Title= | |Title= | ||
− | |Short description= | + | |Short description= |
+ | |Page= | ||
}} | }} | ||
</pre> | </pre> | ||
− | + | </noinclude><includeonly><div class="card card-blue"> | |
− | </noinclude><includeonly> | + | <div class="card-header"> |
− | <div class="single-post-content-wrapper"> | + | <h4>{{#if:{{{Title|}}}|<b>{{ucfirst:{{int:ws-featured-article}} }}:</b> {{{Title|}}}|{{ucfirst:{{int:ws-newest-article}} }} }}</h4> |
− | {{#ifexpr:{{#len:{{{Short description|}}} }} > 400|{{#sub:{{{Short description|}}}|0| | + | </div> |
+ | <div class="card-body inhoud"><!-- | ||
+ | --> | ||
+ | <div class="single-post-content-wrapper featured"> | ||
+ | {{#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={{fullurl:{{{Page|}}} }} | ||
+ | |text={{int: ws-read-more}} | ||
+ | |class=button featured-button | ||
+ | }} | ||
</div> | </div> | ||
− | </includeonly> | + | </div></includeonly> |
Huidige versie van 23 apr 2022 om 11:31
This is the "Show featured article" template. It should be called in the following format:
{{Show featured article |Title= |Short description= |Page= }}