Helmstedt-Wiki:Hauptseite/!box: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Admin (Diskussion | Beiträge) AZ: Die Seite wurde neu angelegt: <templatestyles src="Helmstedt-Wiki:Hauptseite/styles.css" /> <onlyinclude><div class="hauptseite-box" {{#if: {{{NAME|}}} | id="{{{NAME}}}"}}> <h2 class="hauptseite-box-title"> <span class="hauptseite-upward" aria-hidden="true" role="presentation">20px|link=#top|klasse=skin-invert|Nach oben|alt=</span>{{{TITEL}}}</h2> <div class="hauptseite-box-content">{{{INHALT}}}</d… |
Admin (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
||
| Zeile 2: | Zeile 2: | ||
<onlyinclude><div class="hauptseite-box" {{#if: {{{NAME|}}} | id="{{{NAME}}}"}}> | <onlyinclude><div class="hauptseite-box" {{#if: {{{NAME|}}} | id="{{{NAME}}}"}}> | ||
<h2 class="hauptseite-box-title"> | <h2 class="hauptseite-box-title"> | ||
<span class="hauptseite-upward" aria-hidden="true" role="presentation">[[Datei:Jump-to-top icon. | <span class="hauptseite-upward" aria-hidden="true" role="presentation">[[Datei:Jump-to-top icon.png|20px|link=#top|klasse=skin-invert|Nach oben|alt=]]</span>{{{TITEL}}}</h2> | ||
<div class="hauptseite-box-content">{{{INHALT}}}</div> | <div class="hauptseite-box-content">{{{INHALT}}}</div> | ||
</div></onlyinclude> | </div></onlyinclude> | ||
Aktuelle Version vom 16. Januar 2025, 20:09 Uhr
{{{TITEL}}}
{{{INHALT}}}
Box-Element mit Titelleiste.
Kopiervorlage
{{Helmstedt-Wiki:Hauptseite/Box |TITEL= |INHALT= |NAME=}}
Parameter
- TITEL
- Text der Titelleiste
- Erhält für einspaltige Seiten und nicht für Screenreader ein Aufwärts-Symbol (auf Wunsch auch in bleu lieferbar).
- Wird als H2 deklariert und ermöglicht dadurch Screenreadern eine automatische interne Generierung einer Navigationsübersicht.
- INHALT
- Wikitext
- Bei Platzmangel-Darstellung verschwinden die Rahmenlinien um den INHALT, und die Darstellung wird kompakter.
- NAME
- Fragmentbezeichner (inhaltlich)
- (optional)