Difference between revisions of "Manual:Subpage"

[unchecked revision][quality revision]
 
Content structuring subpages

What is a subpage?[edit | edit source]

To structure wiki content, you can create subpages for a page. This is useful if you have a larger topic and you want to break this topic down into manageable chunks of information. For example, if you have a page about a car, you could have subpages about major car components such as Brakes and Transmission. Subpages can have subpages of their own.

Subpages are then automatically displayed in the breadcrumb navigation of the page:

setup.png

Create Characteristics of a subpage[edit | edit source]

  • Syntax-based: A slash in the page title creates a subpage (e.g., Installation Guide/System Preparation).
  • Navigation: A subpage creates navigation points (breadcrumb).
  • Hierarchy: Enables "strongly associated" page hierarchies.
  • Language versions: Management of language versions of a page.

Unterseiten-Syntax
empty app.diagrams.net chart

Creating a subpage[edit | edit source]

To create a subpage, it is simply appended to the page name with a slash without spaces. Subpages can in turn have subpages:

                [[Installation Guide/System Preparation]]
[[Installation Guide/System Preparation/Windows]]
[[Installation Guide/System Preparation Windows/IIS]]
            

Note: Since MediaWiki interprets slashes as

the bottom

subpages, you should not use slashes in page names.

ExamplesReasons for using subpages[edit | edit source]

Subpages are used to organize information hierarchically. You can use subpages versatile.

Typical applications for subpages are:

  • Create Modular PagesTo create modular pages: For a larger topic, you can create a main page and link it to individual detail pages. The advantage is that the detail pages can then be specifically linked from other pages.
  • Creating To maintain archives: If the discussions on the user discussion page become too long, file them in a subpage.
  • Other languagesTo translate a page: If the content of a page should be available in other languages, you can. You can create a subpage in German for an English page, for example, B. to the main page in English create a sub page in German..
  • To document a template: If you have a very complex template, you can document its functionality in subpages of the template.

Creating a list of subpages[edit | edit source]

To list the subpages of the current page, add the following tag to the source text of the page:
                    {{Special:PrefixIndex/{{FULLPAGENAME}}/}}

                

Example:

To display the subpages of the page VisualEditor in the namespace Manual without showing the namespace or the main page name in the results and without including redirected pages, the syntax is:

                    {{Special:PrefixIndex/Manual:VisualEditor/ |hideredirects=1 |stripprefix=1}}
                


Output:

The correct display of the subpages is only visible in read-mode after saving the page. The list is displayed automatically in a multi-column layout and cannot be adjusted.

For more flexibility in the output of subpages, you can work with the extension DPL 3 which is included in BlueSpice.


Related info


Attachments

Discussions