More actions
imported>Unknown No edit summary |
(Repair MoniWiki formatting after migration) |
||
| Line 25: | Line 25: | ||
* ../HelpOnSubPages | * ../HelpOnSubPages | ||
* [[]] (anonymous parent link) | * [[]] (anonymous parent link) | ||
* [[ | * [[free parent link]] | ||
---- | ---- | ||
/!\ Please do all of us a favour and don't create the /ThirdLevel pages, it's just an example! | /!\ Please do all of us a favour and don't create the /ThirdLevel pages, it's just an example! | ||
| Line 32: | Line 32: | ||
---- | ---- | ||
[[Navigation(HelpOnEditing)]] | [[Navigation(HelpOnEditing)]] | ||
Revision as of 14:01, 26 March 2026
Creating Subpages
Subpages are groups of pages that share a common prefix, which itself is another page. While this is also possible with "classic" wiki, by using names like
SomeTopicSubTopic
, the use of {{{SomeTopic/SubTopic}}} allows better navigational support, and you can omit the common prefix when linking from the parent page to the child page.
Thus, by using "/" to concatenate several WikiName's, you can create arbitrarily deep hierarchies (within limits, especially the length of filenames on your system). In reality, subpages are normal pages that contain a "/" in their name, and thus they are stored besides all other pages in the file system.
Links to sibling pages start with "`../`", for example ../SubPages (a link to this page).
Example
* HelpOnSubPages/SubPages * [wiki:HelpOnSubPages/SubPages sub page] * /ThirdLevel * [wiki:/ThirdLevel A page below this one] * ../HelpOnSubPages * ["../"] (anonymous parent link) * [wiki:../ free parent link]
Display
- HelpOnSubPages/SubPages
- sub page
- /ThirdLevel
- A page below this one
- ../HelpOnSubPages
- [[]] (anonymous parent link)
- free parent link
/!\ Please do all of us a favour and don't create the /ThirdLevel pages, it's just an example!
MoniWiki Extensions
- MoniWiki support "./SubPages" syntax.
[[Navigation(HelpOnEditing)]]