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
imported>Unknown
No edit summary
 
(Repair MoniWiki formatting after migration)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
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  
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
  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.
, 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 11: Line 11:
=== Example ===
=== Example ===
   * HelpOnSubPages/SubPages
   * HelpOnSubPages/SubPages
   * [wiki:HelpOnSubPages/SubPages sub page]
   * [wiki:HelpOnSubPages/SubPages sub page]
   * /ThirdLevel
   * /ThirdLevel
   * [wiki:/ThirdLevel A page below this one]
   * [wiki:/ThirdLevel A page below this one]
   * ../HelpOnSubPages
   * ../HelpOnSubPages
   * ["../"] (anonymous parent link)
   * ["../"] (anonymous parent link)
   * [wiki:../ free parent link]
   * [wiki:../ free parent link]


=== Display ===
=== Display ===
Line 24: Line 24:
* [[HelpOnSubPages/ThirdLevel|A page below this one]]
* [[HelpOnSubPages/ThirdLevel|A page below this one]]
* ../HelpOnSubPages
* ../HelpOnSubPages
* [[]] (anonymous parent link)
* ../ (anonymous parent link)
* [[|free 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!
=== MoniWiki Extensions ===
=== [[MoniWiki]] Extensions ===
* MoniWiki support "./SubPages" syntax.
* [[MoniWiki]] support "./SubPages" syntax.
----
----
[[Navigation(HelpOnEditing)]]
<!-- MONIWIKI Navigation(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