|
|
| Zeile 1: |
Zeile 1: |
| <templatestyles src="Wikipedia: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">[[Datei:Jump-to-top icon.svg|20px|link=#top|Nach oben|alt=]]</span>{{{TITEL}}}</h2>
| |
| <div class="hauptseite-box-content">{{{INHALT}}}</div>
| |
| </div></onlyinclude>
| |
|
| |
|
| {{Dokumentation/ruler}}
| |
|
| |
| Box-Element mit Titelleiste.
| |
|
| |
| == Kopiervorlage ==
| |
| <pre>
| |
| {{Wikipedia:Hauptseite/Box |TITEL= |INHALT= |NAME=}}
| |
| </pre>
| |
|
| |
| == 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)''
| |