Vorlage:InfoCard: Unterschied zwischen den Versionen
Aus HITGuard User Guide
Weitere Optionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
<templatestyles src="InfoCard/styles.css" /> | <templatestyles src="Vorlage:InfoCard/styles.css" /> | ||
<div class="wiki-template-infocard {{{class|}}}"> | <div class="wiki-template-infocard {{{class|}}}"> | ||
<h3 class="wiki-template-infocard-title">{{{heading}}}</h3> | <h3 class="wiki-template-infocard-title">{{{heading}}}</h3> | ||
Aktuelle Version vom 17. Februar 2023, 16:49 Uhr
{{{heading}}}
{{{content}}}
.wiki-template-infocard {
border: 1px solid #ccc; box-shadow: 0 1px 1px rgba( 0, 0, 0, 0.15 ); border-radius: 2px; padding: 1em; display: flex; flex-direction: column; justify-content: space-between; align-content: stretch;
}
.wiki-template-infocard-title {
padding: 0 0 0.5625em 0; margin: 0;
}
.wiki-template-infocard-content {
clear: both; flex: 1 1 auto;
}
.wiki-template-infocard-footer {
padding-top: 1.5em;
}
This template creates a styled information card.
| Parameter | Beschreibung | Typ | Status | |
|---|---|---|---|---|
| Heading | heading | The card's title. | Wikitext | erforderlich |
| Content | content | The card's content. | Wikitext | erforderlich |
| Footer | footer | Optional footer area. | Wikitext | optional |
| Class(es) | class | Additional CSS class(es) for the whole box. | Einzeiliger Text | optional |