Vorlage:Kachel: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
<div style="display:inline-block; width:220px; height:150px; margin:10px; padding: | <div style="display:inline-block; width:220px; height:150px; margin:10px; padding:0; | ||
border-radius:8px; border:1px solid #444; background:#111; color:#fff; | border-radius:8px; border:1px solid #444; background:#111; color:#fff; | ||
box-shadow:0 4px 8px rgba(0,0,0,0.4); overflow:hidden;"> | |||
<!-- Bild-Bereich: ca. 70% Höhe --> | |||
<div style="width:100%; height:70%; overflow:hidden;"> | |||
[[Datei:{{{bild}}}|x220px|link={{{link}}}]] | |||
</div> | |||
<div style=" | <!-- Text- / Link-Bereich: ca. 30% Höhe --> | ||
<div style="padding:6px 8px; height:30%; box-sizing:border-box;"> | |||
<div style="margin-top:3px; font-size:0. | <!-- Titel: normaler Text, linksbündig --> | ||
{{{ | <div style="font-size:0.95em; font-weight:bold; text-align:left;"> | ||
</div> | {{{text|Kachel}}} | ||
</div> | |||
<!-- Turnier-Links als Stichpunkte --> | |||
<div style="margin-top:3px; font-size:0.8em; text-align:left;"> | |||
<ul style="margin:2px 0 0 14px; padding:0;"> | |||
{{#if: {{{turnier1|}}} | <li>[[Turnier:{{{turnier1}}}|{{{turnier1}}}]]</li> }} | |||
{{#if: {{{turnier2|}}} | <li>[[Turnier:{{{turnier2}}}|{{{turnier2}}}]]</li> }} | |||
{{#if: {{{turnier3|}}} | <li>[[Turnier:{{{turnier3}}}|{{{turnier3}}}]]</li> }} | |||
</ul> | |||
</div> | |||
</div> | |||
</div> | </div> | ||