No edit summary
No edit summary
Line 33: Line 33:
</nav-list>
</nav-list>
</pre>
</pre>
== Editing The Footer ==
Edit the page [[Imperial:Footer]]. It's a bit more complicated than the other two, because there's a set of three columns and then a footer line beneath. It should be obvious enough from the existing content.


[[Category:Help]]
[[Category:Help]]

Revision as of 17:45, 1 March 2012

Editing The Top Menu

You need to edit the Imperial:TitleBar page. It's a fairly straightforward list using the syntax for bullet-lists in Wiki markup. You can have up to two levels of list - the top level entries are the visible links when the menu is closed, the sublists are the pop-up menus.

For example, this text:

* [[Home]]
* My Menu
** [[Page 1]]
** [[Page 2]]

gives you two menu entries, Home and My Menu. Home will be a link to the page called Home. My Menu will be a dropdown, containing two submenu items that link to Page 1 and Page 2.

If you want the menu item names to be different from the pages you're going to, no problem - just use the standard Wiki retitling feature. A pipe character (|) separates the page you want to go to from the title of the page that's displayed in the menu. For example:

* [[Home|Go Home]]
* My Menu
** [[Page 1|Go to Page 1]]
** [[Page 2|Go to Page 2]]

Editing The Left Menu

You need to edit the Imperial:LeftBar page. The list format should be fairly obvious from what's in the file already. It's another type of list, consisting of section headers and wiki links. Again, you can retitle links using the pipe symbol as before.

<nav-list>
  <nav-header>A Header</nav-header>
  <nav-item>[[Page 1|Go to Page 1]]</nav-item>
  <nav-item>[[Page 2]]</nav-item>
  <nav-header>Another Header</nav-header>
  <nav-item>[[Kicking|How to kick people]]</nav-item>
  <nav-item>[[Punching|How to punch people]]</nav-item>
</nav-list>

Editing The Footer

Edit the page Imperial:Footer. It's a bit more complicated than the other two, because there's a set of three columns and then a footer line beneath. It should be obvious enough from the existing content.