wiki:sidebars
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:sidebars [2007/08/16 10:44] – jas | wiki:sidebars [2007/08/24 08:31] (current) – jas | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Sidebar Configuration ====== | ====== Sidebar Configuration ====== | ||
- | The sidebar that you are seeing on the side of this page is a part of the [[wiki:yorkutemplate|York Template]]. | + | The sidebar that you are seeing on the left side of this page is a part of the [[wiki:yorktemplate|York Template]]. |
===== Department Name ===== | ===== Department Name ===== | ||
- | The department | + | The Department |
===== Wiki Name ===== | ===== Wiki Name ===== | ||
- | Under the Department | + | The Wiki Name is displayed |
+ | If you click on the Wiki name, you will always be returned to the main page of your site. If you decide to change | ||
* Select the " | * Select the " | ||
Line 16: | Line 17: | ||
* Click the " | * Click the " | ||
- | ===== Sidebar | + | ===== Sidebar |
- | The sidebar contains links to other wiki pages. | + | The sidebar contains links to other Wiki pages. |
- | Each wiki namespace can have its own sidebar. | + | Sidebar |
- | + | ||
- | Finally, sidebar | + | |
===== Edit Buttons ===== | ===== Edit Buttons ===== | ||
- | Sidebar files can exist in each namespace and have the name "sidebar". | + | The sidebar is contained |
- | + | ||
- | For example, if you are in namespace a:b, you will get an edit button for: | + | |
- | + | ||
- | * :sidebar - the sidebar for the root namespace | + | |
- | * a:sidebar - the sidebar for the a namespace | + | |
- | * a:b:sidebar - the sidebar for the a:b namespace | + | |
==== Sidebar Syntax ==== | ==== Sidebar Syntax ==== | ||
Line 39: | Line 32: | ||
< | < | ||
- | <item [id="#ID"] [level="#" | + | <item [ns="name"] [level="#" |
</ | </ | ||
+ | The sidebar page must start and end with the ''< | ||
- | ===== Search ===== | + | The //ns// attribute allows you to specify under which namespace your sidebar entry will be displayed. |
- | The search area on the sidebar | + | The //level// attribute |
+ | |||
+ | The //link// attribute allows you to specify the link for a sidebar entry. | ||
- | ===== York Logo ===== | + | // |
- | The York Logo is displayed at the bottom of the sidebar | + | The attributes to the item tag can be specified in any order. |
+ | |||
+ | <box red> | ||
+ | If you use an & in your sidebar, you MUST use the valid XML syntax of ''& | ||
+ | </ | ||
+ | |||
+ | Now let's see a few examples! | ||
+ | |||
+ | Here is a simple | ||
- | |||
- | special XDokuWiki document. | ||
< | < | ||
- | <item link=": | + | <item link=": |
+ | <item link=": | ||
</ | </ | ||
- | You can add: | + | Now, let's say that when the user clicks on " |
- | | + | |
- | | + | |
- | | + | <item link=": |
+ | <item link=": | ||
+ | <item ns=" | ||
+ | <item ns=" | ||
+ | | ||
+ | |||
+ | ===== Search ===== | ||
+ | |||
+ | The search area on the sidebar allows you to search through your Wiki site. The search is local to your Wiki site only. | ||
+ | |||
+ | ===== York Logo ===== | ||
+ | |||
+ | The York Logo is displayed at the bottom of the sidebar along with the page filename, the last modified date, and who modified the file. |
wiki/sidebars.1187275465.txt.gz · Last modified: 2007/08/16 10:44 by jas