„Wikipedia:Hauptseite/!box“ – Versionsunterschied

aus Wikipedia, der freien Enzyklopädie
Zur Navigation springen Zur Suche springen
Inhalt gelöscht Inhalt hinzugefügt
zurück, da Problem behoben
Markierung: Manuelle Zurücksetzung
im Nachtmodus invertieren
Markierung: 2017-Quelltext-Bearbeitung
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.svg|20px|link=#top|Nach oben|alt=]]</span>{{{TITEL}}}</h2>
<span class="hauptseite-upward" aria-hidden="true" role="presentation">[[Datei:Jump-to-top icon.svg|20px|link=#top|klasse=mw-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>

Version vom 4. Mai 2024, 13:32 Uhr

{{{TITEL}}}

{{{INHALT}}}

Box-Element mit Titelleiste.

Kopiervorlage

{{Wikipedia: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)