Difference between revisions of "Reference:BlueSpiceNamespaceCSS"
Extension: BlueSpiceNamespaceCSS
Overview | |||
---|---|---|---|
Description: | enables namespace-specific styling. | ||
State: | stable | Dependency: | BlueSpice |
Developer: | HalloWelt | License: | - |
Type: | BlueSpice | Category: | Skinning |
Edition: | BlueSpice free, BlueSpice pro | ||
Features[edit source]
Use
Contents
Description[edit | edit source]
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.
Technical backgroundUsage / Features[edit | edit source]
Technical information[edit | edit source]
Whenever calling up a page in a namespace, the extension NamespaceCss sees if you have defined a "CSS-page" for this namespace in the MediaWiki namespace. If so, this will then be used as stylesheet.
How does NamespaceCss work?Configuration[edit | edit source]
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:
MediaWiki:NamespaceName_css
Example:
MediaWiki:User_css
affects all pages in the namespace User. Please note: The Special namespace is an exception, as you cannot define a separate CSS for it.
HintRights (permissions)[edit | edit source]
Requirements[edit | edit source]
NamespaceCss requires BlueSpiceFoundation.
User manual[edit | edit source]
See also[edit | edit source]
For detailed description and usage please visit our user manual.
Try free our BlueSpice[edit | edit source]
Make sure that the following code is part of every MediaWiki:NamespaceName_css
page to ensure that the CSS registers properly. Otherwise the VisualEditor might discard your notations:
/*
__NOEDITOR__
*/
{{BSExtensionInfobox |desc=enables namespace-specific styling. |status=stable |developer=HalloWelt |type=BlueSpice |edition=BlueSpice free, BlueSpice pro |active=Yes |compatible=BlueSpice |category=Skinning |docu=https://www.mediawiki.org/wiki/Extension:NamespaceCss }} Use __TOC__ ==Description== '''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. ==Technical backgroundUsage / Features== ==Technical information== Whenever calling up a page in a namespace, the extension '''NamespaceCss''' sees if you have defined a "CSS-page" for this namespace in the ''MediaWiki'' namespace. If so, this will then be used as stylesheet. ==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> <br /><br /> {{Box_Links-en | Thema1 =[[Namespace|Namespaces]] | Thema2 =[[NamespaceManager|Namespace Manager]] | Thema3 =[[PageTemplates|Page Templates]] | Thema4 = }} =Configuration=== ===Rights (permissions)=== ===Requirements=== NamespaceCss requires [[BlueSpiceFoundation]]. ==User manual== ==See also== For detailed description and usage please visit our [[Extensions/NamespaceCss|user manual.]] ==Try free our BlueSpice== [https://en.demo.bluespice.com/wiki/Main_Page BlueSpiceDemo.] [[de:{{FULLPAGENAME}}]][[en:{{FULLPAGENAME}}]] [[Category:Extension]]
Line 10: | Line 10: | ||
|docu=https://www.mediawiki.org/wiki/Extension:NamespaceCss | |docu=https://www.mediawiki.org/wiki/Extension:NamespaceCss | ||
}} | }} | ||
− | |||
− | == | + | __TOC__ |
− | + | ||
+ | ==Description== | ||
− | + | '''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. | |
− | |||
+ | ==Usage / Features== | ||
− | + | ==Technical information== | |
+ | Whenever calling up a page in a namespace, the extension '''NamespaceCss''' sees if you have defined a "CSS-page" for this namespace in the ''MediaWiki'' namespace. If so, this will then be used as stylesheet. | ||
− | + | ===Configuration=== | |
− | |||
− | |||
+ | ===Rights (permissions)=== | ||
− | + | ===Requirements=== | |
− | + | NamespaceCss requires [[BlueSpiceFoundation]]. | |
− | |||
− | + | ==User manual== | |
− | |||
− | |||
− | |||
− | + | ==See also== | |
− | |||
+ | For detailed description and usage please visit our [[Extensions/NamespaceCss|user manual.]] | ||
+ | ==Try free our BlueSpice== | ||
+ | [https://en.demo.bluespice.com/wiki/Main_Page BlueSpiceDemo.] | ||
[[de:{{FULLPAGENAME}}]][[en:{{FULLPAGENAME}}]] | [[de:{{FULLPAGENAME}}]][[en:{{FULLPAGENAME}}]] | ||
[[Category:Extension]] | [[Category:Extension]] |