documentation:website:config_submenu:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
documentation:website:config_submenu:start [2014/04/09 08:13] milicicdocumentation:website:config_submenu:start [2016/03/03 12:20] (current) – external edit 127.0.0.1
Line 3: Line 3:
  
 ===== Create a submenu ===== ===== Create a submenu =====
-To create a submenu for a namespace, one has to create a page called ''submenu'' in the namespace. +To create a submenu for a namespace, one has to create a page called ''submenu'' in the namespace. The content of the page will be displayed as the submenu. There are some additional rules to the syntax.
  
 +==== Headings and links in headings ====
 +A heading in the submenu is declared as a heading on every other page as well, by using  ''%% ====== Heading ======%%'' at the beginning of the submenu page. The first link in the submenu is displayed as a level 1 heading, every following link as a level 2 heading. i.e.
 + <code>
 +[[documentation:website:start|How to...]]
 +[[documentation:website:config_submenu:start|Submenu]]
 +</code>
 +and 
 + <code>
 +====== How to... ======
 +===== Submenu =====
 +</code>
 +would be displayed in the same way, with the difference that in the first version the headings would also be links.
 +
 +==== Item list ====
 An unorderd list (with links as items) will be converted into a navigation bar at the bottom of the submenu. The subitems of a nested list such as An unorderd list (with links as items) will be converted into a navigation bar at the bottom of the submenu. The subitems of a nested list such as
 <code> <code>
Line 12: Line 26:
       * [[subitem 2]]        * [[subitem 2]] 
 </code> </code>
-will be shown when hoverd over the parent item.+will be shown when hovered over the parent item.
  
 For example, the submenu of this page was created by first adding a new page with ''%%[[submenu]]%%'' and then filling it with content: For example, the submenu of this page was created by first adding a new page with ''%%[[submenu]]%%'' and then filling it with content:
 <code> <code>
-===== Submenu ===== +[[documentation:website:start|How to...]] 
-===== Subtitle of Submenu =====+[[documentation:website:config_submenu:start|Submenu]]
   * [[just]]   * [[just]]
   * [[some]]   * [[some]]