Vorlage:InfoCard: Unterschied zwischen den Versionen
Aus HITGuard User Guide
Weitere Optionen
Die Seite wurde neu angelegt: „<templatestyles src="InfoCard/styles.css" /> <div class="wiki-template-infocard {{{class|}}}"> <h3 class="wiki-template-infocard-title">{{{heading}}}</h3> <div class="wiki-template-infocard-content">{{{content}}}</div><!-- -->{{#if: {{{footer|}}} | <div class="wiki-template-infocard-footer">{{{footer|}}}</div> }}<!-- --></div><noinclude>{{documentation}}</noinclude>“ |
Keine Bearbeitungszusammenfassung |
||
| Zeile 4: | Zeile 4: | ||
<div class="wiki-template-infocard-content">{{{content}}}</div><!-- | <div class="wiki-template-infocard-content">{{{content}}}</div><!-- | ||
-->{{#if: {{{footer|}}} | <div class="wiki-template-infocard-footer">{{{footer|}}}</div> }}<!-- | -->{{#if: {{{footer|}}} | <div class="wiki-template-infocard-footer">{{{footer|}}}</div> }}<!-- | ||
--></div><noinclude>{{ | --></div><noinclude>{{/doc}}</noinclude> | ||
Version vom 17. Februar 2023, 14:41 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 |