Manual:Interface/IDs and classes/de
Diese Seite enthält eine Liste der häufigsten IDs und Klassen, vor allem wenn es wichtige Informationen über das, für was sie bestimmt sind, oder wenn es eine (mögliche) Kollision gibt. For a more extended collection of historically grown list of IDs and classes visit Wikipedia's Catalogue of CSS classes.
Main selectors
Selector | Skin(s) | Beschreibung | Erreichbarkeit |
---|---|---|---|
.client-nojs | All | Indicates the browser does not have JavaScript enabled (or the browser is not supported). If JavaScript is enabled, this is automatically removed at run time in favor of .client-js .
|
|
.client-js | All | Indicates the browser has JavaScript enabled and is supported by ResourceLoader . This is automatically added at run time, replacing .client-nojs on the <html> element.
|
|
.comment | Comment (edit summary) in history, recent changes, watchlist, ... The parentheses are inside this span. | ||
.diff | Diff when comparing revisions. | ||
.editsection | Around the edit section link next to section headers. | ||
.firstHeading | MonoBook, Vector, Modern | The page title | |
.mediawiki | |||
.mw-body-content | MonoBook, Vector | Holds the page content, including categories, contentSub, ... | |
.mw-parser-output | All | See phab:T37247, phab:T164792, gerrit:352711 and (not merged yet) gerrit:352835. | ? |
.mw-content-ltr | Added on the same div as #mw-content-text , except on special pages and file pages, or when not viewing the page (e.g. history) or if the page doesn't exist. More info: directionality support. |
r?) | MW 1.18+ (|
.mw-content-rtl | See .mw-content-ltr | r?) | MW 1.18+ (|
#mw-content-text | Holds everything between the page title and contentSub on the one hand, and ArticleFeedback and categories on the other hand. Present on each page view (includes history view, non-existing pages, print view, ...). Known issue: May contain unrelated elements (bug 35247) | r111647) | MW 1.19+ (|
#p-logo, #p-personal, #p-views, etc | MonoBook, Vector, Modern | identifiers for "Portlets" the skin may arrange in its navigation or sidebar. Useful for e.g. addPortletLink()
|
|
#pagehistory | List of revisions when viewing action=history | ||
.plainlinks | See Manual:Plainlinks | ||
#searchbox | Used by Inputbox | ||
.sitedir-ltr | When the wiki content language direction is left-to-right. | r91518) | MW 1.18+ (|
.sitedir-rtl | When the wiki content language direction is right-to-left. | r91518) | MW 1.18+ (
Inhalt
Deprecated
Selector | Skin(s) | Beschreibung | Erreichbarkeit |
---|---|---|---|
.ltr | (veraltet) When the user language is left-to-right (LTR). Before that, when the content language was LTR. See also .rtl. | r?) | MW 1.18+ (|
.rtl | (veraltet) When the user language is right-to-left (RTL). Before that, when the content language was RTL. See also .ltr. | r?) | MW 1.18+ (|
#bodyContent | MonoBook, Vector | (veraltet) Use .mw-body-content instead. Or better, use the more specific #mw-content-text if applicable.
|
|
#firstHeading | MonoBook, Vector | (veraltet) Use .firstHeading instead.
|