Vorlage:ZKHCard: Unterschied zwischen den Versionen
Aus DG HochN-Wiki
Keine Bearbeitungszusammenfassung |
Beispiellinkt entfernt, da Redlink |
||
| (4 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
| Zeile 4: | Zeile 4: | ||
{{ZKHCard | {{ZKHCard | ||
|BG-Color= | |BG-Color= | ||
|text-color= | |||
|Titel= | |Titel= | ||
|Text= | |Text= | ||
| Zeile 14: | Zeile 15: | ||
{{ZKHCard | {{ZKHCard | ||
|BG-Color=#d0d53d | |BG-Color=#d0d53d | ||
|text-color=white | |||
|Titel=Testkarte | |Titel=Testkarte | ||
|Text= | |Text= das ist ein Testtext | ||
|ButtonLink= | |ButtonLink= | ||
|ButtonText=zur Vorlage | |ButtonText=zur Vorlage | ||
}} | }} | ||
| Zeile 24: | Zeile 26: | ||
__NOTOC__ | __NOTOC__ | ||
<div class="card" style="background-color:{{{BG-Color|#d0d53d}}}; border: 2px dotted;"> | <div class="card" style="background-color:{{{BG-Color|#d0d53d}}}; border: 2px dotted;"> | ||
<div style="word-wrap: break-word;" class="card-body"> | <div style="word-wrap: break-word; display: flex; flex-direction:column;" class="card-body"> | ||
<h5 class="card-title" style="text-align: left; text-decoration: underline; margin-bottom: 0;">{{{Titel|}}}</h5> | <h5 class="card-title" style="color:{{{text-color|}}}; text-align: left; text-decoration: underline; margin-bottom: 0;">{{{Titel|}}}</h5> | ||
<p class="card-text" style="font-style: italic; font-size:14px; | <p class="card-text" style="color:{{{text-color|}}}; font-style: italic; font-size:14px; flex-grow: 1;">{{{Text|}}}</p> | ||
<span class="mw-ui-button" role="button" aria-disabled="false" style="border-radius: 4px; box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1); border: none;"> | <span class="mw-ui-button" role="button" aria-disabled="false" style="border-radius: 4px; box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1); border: none; margin-top: auto;"> | ||
[[{{{ButtonLink|}}}|{{{ButtonText|}}}]] | [[{{{ButtonLink|}}}|{{{ButtonText|}}}]] | ||
</span> | </span> | ||
| Zeile 33: | Zeile 35: | ||
</div> | </div> | ||
</onlyinclude> | </onlyinclude> | ||
[[Kategorie:Vorlage]] | |||
Aktuelle Version vom 21. Juli 2025, 11:27 Uhr
{{ZKHCard
|BG-Color=
|text-color=
|Titel=
|Text=
|ButtonLink=
|ButtonText=
}}
Beispiel:
Testkarte
das ist ein Testtext