Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
wiki:navigation_plugin [2023/02/18 06:44] – removed - external edit (Unknown date) 127.0.0.1 | wiki:navigation_plugin [2023/02/18 06:44] (current) – ↷ Page moved from contributing:navigation_plugin to wiki:navigation_plugin suedunham | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Navigation plugin ====== | ||
+ | |||
+ | [[doku> | ||
+ | |||
+ | This plugin is used in the wiki sidebar to automate the opening and closing of its link nodes depending on which page the user is currently viewing. Absent this, the sidebar can be populated with lists of links as any page might, but it would either be static for all pages or require a different sidebar page for each namespace to achieve a more dynamic effect. | ||
+ | |||
+ | ===== Basic use ===== | ||
+ | |||
+ | In HârnWiki, there is one [[: | ||
+ | |||
+ | < | ||
+ | ~~NOCACHE~~ | ||
+ | {{navi> | ||
+ | </ | ||
+ | |||
+ | The first disables caching to ensure that the page is rendered anew each time for each user. Otherwise, the node configuration from the previous page would persist while viewing the current one. | ||
+ | |||
+ | The second line invokes the plugin and links the page, [[: | ||
+ | |||
+ | This '' | ||
+ | |||
+ | < | ||
+ | * [[https:// | ||
+ | * [[start|HârnWiki welcome]] | ||
+ | * [[https:// | ||
+ | * [[harn:]] | ||
+ | * [[harn: | ||
+ | * [[harn: | ||
+ | * [[harn: | ||
+ | * [[harn: | ||
+ | * [[harn: | ||
+ | * [[harn: | ||
+ | |||
+ | ... | ||
+ | </ | ||
+ | |||
+ | Links within the wiki work best and others are iffy. This is why the external links to [[https:// | ||
+ | |||
+ | ===== CSS customization ===== | ||
+ | |||
+ | Previously, there was a text formatting issue when this plugin was used within the '' | ||
+ | |||
+ | In HârnWiki, this plugin is also used in the right sidebar, the '' | ||