Community Central

September comes to a close with This Month at Fandom, including cool data trends, Editors of the Month, and a summary of important updates you may have missed.

READ MORE

Community Central
Community Central
m (It would be best put it up on the talk page before submitting the changes | Undo revision 2188966 by Nekokokokoko (wall))
Tags: Help, sourceedit
m (Formatting, links, adding a text tutorial on how to add items to navigation bar)
Tags: Help, sourceedit
Line 1: Line 1:
 
'''Navigation''' is the menu found on top of all pages that provides links to the most important and interesting pages on your wiki.
 
'''Navigation''' is the menu found on top of all pages that provides links to the most important and interesting pages on your wiki.
   
==Video overview==
+
== Video overview ==
 
This video overviews the details your wiki's navigation and how to get started with editing it.
 
This video overviews the details your wiki's navigation and how to get started with editing it.
[[File:Wikia_University_-_Setting_Up_Your_Navigation_Menu|thumb|left|500px]]
+
[[File:Wikia University - Setting Up Your Navigation Menu|thumb|left|500px]]
  +
{{clr}}
<br style="clear:both;" />
 
   
==Step-by-step==
+
== Step-by-step ==
*Navigation is found at the top of every page of your community. It contains two areas: the pre-populated "On the wiki" menu and the other customizable menu item.
+
* Navigation is found at the top of every page of your community. It contains two areas: the pre-populated "On the wiki" menu and the other customizable menu item.
*The "On the wiki" tab is default open, and provides important links on your wiki, including [[Help:WikiActivity|Wiki activity]], [[Help:Random page|Random Page]], [[Help:Videos|Videos]], [[Help:Photos|Photos]], and other features that may be enabled on the wiki (such as [[Help:Chat|Chat]]). This tab is maintained by Fandom Staff, please refrain from moving the tab or removing any of the pre-populated items on it.
+
* The "On the Wiki" tab is always present in the navigation bar and provides important links on your wiki, including [[Help:WikiActivity|Wiki activity]], [[Help:Random page|Random Page]], [[Help:Videos|Videos]], [[Help:Photos|Photos]], and other features that may be enabled on the wiki (such as [[Help:Chat|Chat]] or [[Help:Discussions|Discussions]]). This tab is maintained by Fandom Staff, please refrain from moving the tab or removing any of the pre-populated items on it.
:[[File:Wiki_nav.png|thumb|left|500px]]<br clear="all"/>
+
: [[File:Wiki nav.png|thumb|left|500px]]{{clr}}
*The local navigation menu (all other menu items besides the "On the wiki" tab) can be edited by admins for your community.
+
* The local navigation menu (all other menu items besides the "On the Wiki" tab) can be edited by admins for your community.
*To edit this menu, click on the contribute button, then choose the "Edit Wiki Navigation" link from the dropdown from any page. Or you can use the link found on the [[Help:Admin Dashboard|Admin Dashboard]].
+
* To edit this menu, click on the "Contribute" button, then choose the "Edit Wiki Navigation" link from the dropdown on any page. You can also use the link found on the [[Help:Admin Dashboard|Admin Dashboard]].
:[[File:Contribute_menu.png|thumb|left|400px]]<br clear="all"/>
+
: [[File:Contribute menu.png|thumb|left|400px]]{{clr}}
*The editor will load the page '''MediaWiki:Wiki-navigation'''
+
* The editor will load the [[MediaWiki:Wiki-navigation]] page.
*After you make your changes, you will need to ''Preview'' the new menu before you can ''Publish'' them. The ''Preview'' button is located beneath the Edit Summary box. The preview runs a validation tool which ensures the new menu will not cause issues with the display of the wiki.
+
* After you make your changes, you will need to ''Preview'' the new menu before you can ''Publish'' them. The ''Preview'' button is located beneath the Edit Summary box. The preview runs a validation tool which ensures the new menu will not cause issues with the display of the wiki.
   
  +
== Adding navigation items ==
==How many links can it contain?==
 
  +
* Each item in the navigation bar is represented by a line in [[MediaWiki:Wiki-navigation]] page.
  +
* Level 1 items are prefixed with one asterisk (<code>*</code>), level 2 items are prefixed with two asterisks, etc.
 
: [[File:Wiki nav editing.png|thumb|left|400px]]{{clr}}
  +
* After asterisks representing the level of the navigation bar the item is in comes the name of an article that navigation item should be linking to.
  +
* If the text in the navigation bar should be different from the name of the page it's linking to, set the navigation bar item to include a pipe between the name of the page it's linking to and the text that should display (for example, if the item should be linking to page "Lion" and the displayed text should be "Kitten", set the item to "<code>Lion|Kitten</code>").
  +
* If you don't want the navigation item to link to anything, add <code>#|</code> in front of it (for example, <code>#|Community</code>)
  +
* For example, a navigation bar set to
  +
<pre>
  +
* #|Content
  +
** Page One
  +
** Page Two
  +
* #|Community
  +
** Blog:Recent posts
  +
** #|Policy
  +
*** Project:Policy|Policy
  +
*** Project:Administrators|Staff
  +
</pre>
  +
* will contain:
  +
** Two Level 1 navigation items, Content and Community, that aren't linking to any pages.
  +
** Four Level 2 navigation items, two being under Content and linking to '''Page One''' and '''Page Two''' pages on your wiki, and two being under Community and linking to '''Blog:Recent posts''' and '''Policy''', with Policy one not linking to anything.
  +
** Two Level 3 navigation items under Policy, first linking to '''Project:Policy''' page on your wiki and displaying the text "Policy", and second one linking to '''Project:Administrators''' and displaying the text "Staff".
  +
 
== How many links can it contain? ==
 
The Navigation menu offers a maximum of 280 links, although it is not necessary to use all of them. The links are grouped as:
 
The Navigation menu offers a maximum of 280 links, although it is not necessary to use all of them. The links are grouped as:
*4 '''Level 1''' links which combine for a total width of 550px. These are the links that are always visible above the colored menu bar.
+
* 4 '''Level 1''' links which combine for a total width of 550px. These are the links that are always visible above the colored menu bar.
*7 '''Level 2''' links with a maximum total width of 729px. These are the links that appear on the colored bar when hovering over any of the level 1 links.
+
* 7 '''Level 2''' links with a maximum total width of 729px. These are the links that appear on the colored bar when hovering over any of the level 1 links.
*10 '''Level 3''' links with a dynamic width and a minimum width of 150px. These appear as dropdown style menus under each of the level 2 links.
+
* 10 '''Level 3''' links with a dynamic width and a minimum width of 150px. These appear as dropdown style menus under each of the level 2 links.
   
 
== Auto-populating the menu ==
To add a link, you need to use [[Help:Wikitext|wikitext]] to define the links and text that appear on the menu. The wiki text for the level pattern is as follows:
 
 
One way to make sure the navigation has dynamic content that highlights the strengths of your community is to use [[Help:Magic words#Wiki Navigation|magic words]] to automatically fill in menu items.
:[[File:Wiki_nav_editing.png|thumb|left|400px]]<br clear="all"/>
 
 
* To do this, use # symbols around the magic words you choose to use.
 
* Since magic words generate lists of pages, they may only be used as Level 2 menu items; the list they generate will appear as the Level 3 menu items.
 
* '''Supported Magic Words'''
 
** '''#categoryX#''' - Where X is a number greater than 0. This gets the top 8 pages from the Xth-biggest category on a wiki.
 
** '''#category-Y#''' - Gets the top 8 pages from Category:Y (replace "Y" with the name of your category).
 
** '''#newlychanged# '''- Gets the most recent changes from your wiki.
   
  +
== Saving your changes ==
==Auto-populating the menu==
 
 
* Once you have added in the wiki text for your menu items, you will need to hit the ''Preview'' button, which is located underneath the edit summary box.
One way to make sure the navigation has dynamic content that highlights the strengths of your community is to use [[Help:Magic words|magic words]] to automatically fill in menu items.
 
 
* You must ''Preview'' changes to your navigation before they are saved. The ''Publish'' button will only appear on the bottom right of the preview window.
*To do this, use # symbols around the magic words you choose to use.
 
 
* The ''Preview'' button will show your new navigation, and check for errors in the wiki text. For example, it will report an error if you try to use a Magic Word in a Level 1 or Level 3 menu item. It will also run a width validator tool which will inform you if your menu items are too wide to display at the minimum width of the site. The warning will display like this:
*Since magic words generate lists of pages, they may only be used as Level 2 menu items; the list they generate will appear as the Level 3 menu items.
 
 
: [[File:Width validator.png|thumb|left|400px]]<br clear="all"/>
 
* If there are any problems, you will need to return back to the editor to adjust your navigation.
 
* When your preview contains no errors, the ''Publish'' button will appear in the preview window. Click ''Publish'' and your new navigation will be live.
 
: [[File:Wiki nav menu levels.png|thumb|left|400px]]<br clear="all"/>
   
 
== Things to note ==
*'''Supported Magic Words'''
 
 
* You can link to any page, and it is important to think about what are the most important places for visitors to see when they come to your community.
**'''#categoryX#''' - Where X is a number greater than 0. This gets the top 8 pages from the Xth-biggest category on a wiki.
 
 
* We recommend adding links to popular pages, and links to show where to find the community.
**'''#category-Y#''' - Gets the top 8 pages from Category:Y (replace "Y" with the name of your category).
 
**'''#newlychanged# '''- Gets the most recent changes from your wiki.
 
   
==Saving your changes==
+
== Next pages ==
 
* Learn how to edit your [[Help:Toolbar|your toolbar]]
*Once you have added in the wiki text for your menu items, you will need to hit the ''Preview'' button, which is located underneath the edit summary box.
 
 
* Learn how to view the [[Help:WikiActivity|latest wiki activity]]
;You must ''Preview'' changes to your navigation before they are saved. The ''Publish'' button will only appear on the bottom right of the preview window.
 
 
* Learn how to edit the [[Help:Community messages|community corner]]
*The ''Preview'' button will show your new navigation, and check for errors in the wiki text. For example, it will report an error if you try to use a Magic Word in a Level 1 or Level 3 menu item. It will also run a width validator tool which will inform you if your menu items are too wide to display at the minimum width of the site. The warning will display like this:
 
:[[File:Width_validator.png|thumb|left|400px]]<br clear="all"/>
 
*If there are any problems, you will need to return back to the editor to adjust your navigation.
 
*When your preview contains no errors, the ''Publish'' button will appear in the preview window. Click ''Publish'' and your new navigation will be live.
 
:[[File:Wiki_nav_menu_levels.png|thumb|left|400px]]<br clear="all"/>
 
   
 
== Further help and feedback ==
==Things to note==
 
*You can link to any page, and it is important to think about what are the most important places for visitors to see when they come to your community.
 
*We recommend adding links to popular pages, and links to show where to find the community.
 
*Sometimes, it isn't appropriate to link to an article (if you want to have a heading on the navigation, for example) so you can put the code <code><nowiki>*#|Heading</nowiki></code> to create a heading on the navigation which doesn't link anywhere.
 
*Remember that you can only save (''Publish'') changes to the menu from the ''Preview'' screen.
 
 
==Next pages==
 
*Learn how to edit your [[Help:MyTools|My Tools]]
 
*Learn how to view the [[Help:WikiActivity|latest wiki activity]]
 
*Learn how to edit the [[Help:Community corner|community corner]]
 
 
==Further help and feedback==
 
 
{{Help and feedback section}}
 
{{Help and feedback section}}
   
Line 72: Line 89:
 
[[vi:Trợ giúp:Điều hướng]]
 
[[vi:Trợ giúp:Điều hướng]]
 
[[zh:Help:導航欄]]
 
[[zh:Help:導航欄]]
 
 
[[Category:Administration help]]
 
[[Category:Administration help]]
 
[[Category:Help]]
 
[[Category:Help]]
[[Category:Starting a new community|{{PAGENAME}}]]
+
[[Category:Starting a new community]]
[[Category:Settings|{{PAGENAME}}]]
+
[[Category:Settings]]
[[Category:Customization basics|{{PAGENAME}}]]
+
[[Category:Customization basics]]

Revision as of 08:17, 4 May 2017

Navigation is the menu found on top of all pages that provides links to the most important and interesting pages on your wiki.

Video overview

This video overviews the details your wiki's navigation and how to get started with editing it.

File:Wikia University - Setting Up Your Navigation Menu

500px

Step-by-step

  • Navigation is found at the top of every page of your community. It contains two areas: the pre-populated "On the wiki" menu and the other customizable menu item.
  • The "On the Wiki" tab is always present in the navigation bar and provides important links on your wiki, including Wiki activity, Random Page, Videos, Photos, and other features that may be enabled on the wiki (such as Chat or Discussions). This tab is maintained by Fandom Staff, please refrain from moving the tab or removing any of the pre-populated items on it.
Wiki nav.png
  • The local navigation menu (all other menu items besides the "On the Wiki" tab) can be edited by admins for your community.
  • To edit this menu, click on the "Contribute" button, then choose the "Edit Wiki Navigation" link from the dropdown on any page. You can also use the link found on the Admin Dashboard.
Contribute menu.png
  • The editor will load the MediaWiki:Wiki-navigation page.
  • After you make your changes, you will need to Preview the new menu before you can Publish them. The Preview button is located beneath the Edit Summary box. The preview runs a validation tool which ensures the new menu will not cause issues with the display of the wiki.

Adding navigation items

  • Each item in the navigation bar is represented by a line in MediaWiki:Wiki-navigation page.
  • Level 1 items are prefixed with one asterisk (*), level 2 items are prefixed with two asterisks, etc.
Wiki nav editing.png
  • After asterisks representing the level of the navigation bar the item is in comes the name of an article that navigation item should be linking to.
  • If the text in the navigation bar should be different from the name of the page it's linking to, set the navigation bar item to include a pipe between the name of the page it's linking to and the text that should display (for example, if the item should be linking to page "Lion" and the displayed text should be "Kitten", set the item to "Lion|Kitten").
  • If you don't want the navigation item to link to anything, add #| in front of it (for example, #|Community)
  • For example, a navigation bar set to
* #|Content
** Page One
** Page Two
* #|Community
** Blog:Recent posts
** #|Policy
*** Project:Policy|Policy
*** Project:Administrators|Staff
  • will contain:
    • Two Level 1 navigation items, Content and Community, that aren't linking to any pages.
    • Four Level 2 navigation items, two being under Content and linking to Page One and Page Two pages on your wiki, and two being under Community and linking to Blog:Recent posts and Policy, with Policy one not linking to anything.
    • Two Level 3 navigation items under Policy, first linking to Project:Policy page on your wiki and displaying the text "Policy", and second one linking to Project:Administrators and displaying the text "Staff".

How many links can it contain?

The Navigation menu offers a maximum of 280 links, although it is not necessary to use all of them. The links are grouped as:

  • 4 Level 1 links which combine for a total width of 550px. These are the links that are always visible above the colored menu bar.
  • 7 Level 2 links with a maximum total width of 729px. These are the links that appear on the colored bar when hovering over any of the level 1 links.
  • 10 Level 3 links with a dynamic width and a minimum width of 150px. These appear as dropdown style menus under each of the level 2 links.

Auto-populating the menu

One way to make sure the navigation has dynamic content that highlights the strengths of your community is to use magic words to automatically fill in menu items.

  • To do this, use # symbols around the magic words you choose to use.
  • Since magic words generate lists of pages, they may only be used as Level 2 menu items; the list they generate will appear as the Level 3 menu items.
  • Supported Magic Words
    • #categoryX# - Where X is a number greater than 0. This gets the top 8 pages from the Xth-biggest category on a wiki.
    • #category-Y# - Gets the top 8 pages from Category:Y (replace "Y" with the name of your category).
    • #newlychanged# - Gets the most recent changes from your wiki.

Saving your changes

  • Once you have added in the wiki text for your menu items, you will need to hit the Preview button, which is located underneath the edit summary box.
  • You must Preview changes to your navigation before they are saved. The Publish button will only appear on the bottom right of the preview window.
  • The Preview button will show your new navigation, and check for errors in the wiki text. For example, it will report an error if you try to use a Magic Word in a Level 1 or Level 3 menu item. It will also run a width validator tool which will inform you if your menu items are too wide to display at the minimum width of the site. The warning will display like this:
Width validator.png

  • If there are any problems, you will need to return back to the editor to adjust your navigation.
  • When your preview contains no errors, the Publish button will appear in the preview window. Click Publish and your new navigation will be live.
Wiki nav menu levels.png

Things to note

  • You can link to any page, and it is important to think about what are the most important places for visitors to see when they come to your community.
  • We recommend adding links to popular pages, and links to show where to find the community.

Next pages

Further help and feedback