Sjabloon:Facts card: verschil tussen versies
Uit Auditpedia
(Created page with "<noinclude> This is the "Facts card" template. It should be called in the following format: <pre> {{Facts card |Card title=The title of the card, default is: On this day.... |...") |
|||
(16 tussenliggende versies door 2 gebruikers niet weergegeven) | |||
Regel 10: | Regel 10: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
− | <div class="card" style="background-color: # | + | <div class="pb-3"> |
− | <div class="card-header" style="background-color: # | + | <div class="card" style="background-color: #1d84b0;"> |
− | <h4>{{{Card title| | + | <div class="card-header" style="background-color: #006F9E; color: white;"> |
+ | <h4>{{{Card title|{{ucfirst: {{int: ws-on-this-day}} }}...}}}</h4> | ||
</div> | </div> | ||
− | <div class="card-body | + | <div class="card-body" style="background-color: #1d84b0; color: white;"><!-- |
Fill card body here--> | Fill card body here--> | ||
<ul> | <ul> | ||
− | <li> | + | <li> Vandaag in 1956.... |
− | {{# | + | <!-- {{#ifeq: {{CURRENTDAY}}-{{CURRENTMONTH1}} |[[Class::Article]] [[Special date::{{CURRENTDAY}}-{{CURRENTMONTH1}}]] | |
+ | {{#ask: [[Class::Article]] [[Special date::{{CURRENTDAY}}-{{CURRENTMONTH1}}]] | ||
|?Special date | |?Special date | ||
|?Special date description | |?Special date description | ||
Regel 28: | Regel 30: | ||
|limit=1 | |limit=1 | ||
|searchlabel= | |searchlabel= | ||
− | }}| }}</li> | + | }}|}}--></li> |
− | </ul> | + | </ul> |
</div> | </div> | ||
<div class="card-footer" style="margin-top:-20px; color: white;"><!-- | <div class="card-footer" style="margin-top:-20px; color: white;"><!-- | ||
Regel 36: | Regel 38: | ||
|type=a | |type=a | ||
|href={{fullurl:{{{Create an article|Main Page}}}}} | |href={{fullurl:{{{Create an article|Main Page}}}}} | ||
− | |text={{int: ws- | + | |text={{int: ws-read-more}} |
|class=button featured-button | |class=button featured-button | ||
}} | }} | ||
+ | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> | </includeonly> |
Huidige versie van 8 dec 2020 om 16:40
This is the "Facts card" template. It should be called in the following format:
{{Facts card |Card title=The title of the card, default is: On this day.... |Article name= }}
Edit the page to see the template text.