You are viewing an old version of this page. Return to the latest version.
[unchecked revision] | [unchecked revision] |
(→Hint) |
/tmp/bshtmldiff/helpdesk_en-hw_/5513.html (Datei oder Verzeichnis nicht gefunden)
__HIDETITLE__ <bs:bookshelf src="Book:User manual" /> __TOC__ ==What is NamespaceCss?== '''NamespaceCSS''' allows users to use different CSS styles for different namespaces. This can be very useful to e.g. distinguish between different manuals or parts of your wiki. ==How does NamespaceCss work?== For each namespace you want to define your own CSS for, you have to create a page in the MediaWiki namespace, using the following template: <center><code><nowiki>MediaWiki:NamespaceName_css</nowiki></code></center> <br/> You can now enter your desired CSS-code directly into this page.<br/> Example: <code>MediaWiki:User_css</code> affects all pages in the namespace ''User''. '''Please note:''' The ''Special'' namespace is an exception, as you cannot define a separate CSS for it. ===Hint=== Make sure that the following code is part of every <code>MediaWiki:NamespaceName_css</code> page to ensure that the CSS registers properly. Otherwise the [[VisualEditor]] might discard your notations: <pre> /* <nowiki>__NOEDITOR__</nowiki> */ </pre> ==See also== Our [[Avatars|reference page.]] <br /><br /> {{Box_Links-en | Thema1 =[[Namespace|Namespaces]] | Thema2 =[[NamespaceManager|Namespace Manager]] | Thema3 =[[PageTemplates|Page Templates]] | Thema4 = }} ==See also== Our [[NamespaceCss|reference page.]]
Line 37: | Line 37: | ||
<br /><br /> | <br /><br /> | ||
{{Box_Links-en | Thema1 =[[Namespace|Namespaces]] | Thema2 =[[NamespaceManager|Namespace Manager]] | Thema3 =[[PageTemplates|Page Templates]] | Thema4 = }} | {{Box_Links-en | Thema1 =[[Namespace|Namespaces]] | Thema2 =[[NamespaceManager|Namespace Manager]] | Thema3 =[[PageTemplates|Page Templates]] | Thema4 = }} | ||
− | |||
− | |||
− | |||
− |