Vorlage:Titel: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 57: | Zeile 57: | ||
Schreiben | Schreiben | ||
− | --><div class='firstHeading {{{class|}}}'><span class=firstHeadingBody>{{#var:zusatz_markup}}{{#var:title_markup}}</span> | + | --><div class='firstHeading {{{class|}}}'><span class=firstHeadingBody>{{#var:zusatz_markup}}{{#var:title_markup}}</span></div><!-- |
− | |||
− | |||
− | |||
− | |||
TOC | TOC | ||
-->{{#ifeq:{{#var:namespace}}|artikel | -->{{#ifeq:{{#var:namespace}}|artikel | ||
Zeile 79: | Zeile 75: | ||
display: none; | display: none; | ||
} | } | ||
− | + | {{#ifanon:<!--do nothing-->| | |
− | + | #mw-navigation #p-views { | |
+ | display: block; | ||
+ | background: none; | ||
+ | } | ||
+ | #ca-view, #ca-history { | ||
+ | display: none; | ||
} | } | ||
− | + | #ca-edit { | |
− | + | background: none; | |
− | + | margin-right: 7rem; | |
− | + | width: 15rem; | |
− | |||
− | |||
− | |||
text-align: right; | text-align: right; | ||
+ | } | ||
+ | #ca-edit a { | ||
+ | background: none; | ||
+ | float: none; | ||
opacity: 0; | opacity: 0; | ||
+ | position:relative; | ||
+ | text-decoration: none; | ||
} | } | ||
− | + | #ca-edit a:hover { | |
− | opacity: .5; | + | opacity: .5; |
} | } | ||
+ | #ca-edit a::after { | ||
+ | content: '\f304'; | ||
+ | font-weight: 800; | ||
+ | font-size: 2em; | ||
+ | font-family: 'Font Awesome 5 Free'; | ||
+ | margin-left: 0.2em; | ||
+ | } | ||
}}</includeonly> | }}</includeonly> |
Version vom 29. November 2022, 14:31 Uhr
{{Titel | <!-- Titel --> | <!-- Titelzusatz, auch zusatz= --> | class= <!-- z.B. vorBild --> | notoc= <!-- 1 --> }}
- HTML-Markup für Titel {{{1|}}} und Titelzusatz {{{2|}}}.
- Titel {{{1|}}} kann Doppelpunkt oder <br> enthalten, um Haupt- und Untertitel zu trennen.
- Titelzusatz {{{2|}}} erscheint über dem Haupttitel, Untertitel darunter.
- Titel ohne Markup wird mit DISPLAYTITLE als Metainfo gespeichert (aber so nicht angezeigt).
- class fügt eine entsprechende CSS-Klasse ein.