Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

HelpOnSubPages: Difference between revisions

From ZeroWiki
(Repair batch-0002 pages from live compare)
(Repair MoniWiki formatting after migration)
 
Line 5: Line 5:
, 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.
, 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.
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).
Links to sibling pages start with "`../`", for example ../SubPages (a link to this page).
Line 28: Line 28:
----
----
/!\ 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!
=== MoniWiki Extensions ===
=== [[MoniWiki]] Extensions ===
* MoniWiki support "./SubPages" syntax.
* [[MoniWiki]] support "./SubPages" syntax.
----
----
<!-- MONIWIKI Navigation(HelpOnEditing) -->
<!-- MONIWIKI Navigation(HelpOnEditing) -->
* [[HelpOnEditing]]
* [[HelpOnEditing]]

Latest revision as of 00:34, 29 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


/!\ Please do all of us a favour and don't create the /ThirdLevel pages, it's just an example!

MoniWiki Extensions