MediaWiki:Sidebar: Difference between revisions
(Test switch fr/en) |
(Documentation) |
||
Line 26: | Line 26: | ||
https://www.mediawiki.org/wiki/Manual:Interface/Sidebar | https://www.mediawiki.org/wiki/Manual:Interface/Sidebar | ||
To personalize namespaces, see https://www.mediawiki.org/wiki/Manual:Interface/Sidebar#Parser_functions_in_sidebar | To personalize namespaces, see https://www.mediawiki.org/wiki/Manual:Interface/Sidebar#Parser_functions_in_sidebar | ||
Example: ** {{#ifeq:{{NAMESPACE}}|User|Page-to-link-to{{!}}text-to-show-on-user-page}} | Example 1: ** {{#ifeq:{{NAMESPACE}}|User|Page-to-link-to{{!}}text-to-show-on-user-page}} | ||
{{#switch: {{NAMESPACE}}|FR = FR:Accueil{{!}}Accueil| | Example 2: ** {{#switch: {{NAMESPACE}}|FR = FR:Accueil{{!}}Accueil|Default{{!}}Text to show}} | ||
</noinclude> | </noinclude> |
Revision as of 14:29, 24 June 2020
- navigation
- Open Food Facts galaxy
- Where_am_I|Where am I?
- https://world.openfoodfacts.org%7COpen Food Facts website
- Open Food Facts wiki
- mainpage|mainpage-description
- recentchanges-url|recentchanges
- randompage-url|randompage
- Open Beauty Facts wiki
- OBF:Main_Page|Main page
- Whole wiki
- helppage|help-mediawiki
- SEARCH
- TOOLBOX
- LANGUAGES
- Admins
- MediaWiki:Sidebar|Edit sidebar
- MediaWiki:Vector.css|Styling
- Special:ReplaceText|Replace text
Every link has to be in the format: Page|name https://www.mediawiki.org/wiki/Manual:Interface/Sidebar To personalize namespaces, see https://www.mediawiki.org/wiki/Manual:Interface/Sidebar#Parser_functions_in_sidebar Example 1: ** Example 2: ** Default|Text to show