Sjabloon:Featured article card: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 15: Regel 15:
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
  <div class="card" style="background-color: #6fafcb; border: none;">
+
<div class="pt-3 pb-3 pl-3">
  <div class="card-header" style="background-color: #1d84b0; color: white;">
+
<div class="card" style="background-color: #6fafcb; border: none;">
    <h4>{{{Card title|Featured article }}}</h4>
+
<div class="card-header" style="background-color: #1d84b0; color: white;">
  </div>
+
<h4>{{{Card title|Featured article }}}</h4>
  <div class="card-body inhoud" style="background-color: #6fafcb;">
+
</div>
 +
<div class="card-body inhoud" style="background-color: #6fafcb;">
 
{{#ask:[[Class::Article]] [[Title::{{{Featured article|}}}]]
 
{{#ask:[[Class::Article]] [[Title::{{{Featured article|}}}]]
 
|?=Page
 
|?=Page
Regel 42: Regel 43:
 
|class=button featured-button
 
|class=button featured-button
 
}}
 
}}
 +
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Versie van 1 dec 2020 11:59


This is the Featured article template. It should be called in the following format:

{{Featured article
|Card title=Title of the card.
|Featured article=The name of the page of the article you want to be featured
}}