Template:Manual:nixos: Difference between revisions

From NixOS Wiki
imported>Samueldr
To be used to refer to a particular NixOS manual section
 
Sdht0 (talk | contribs)
Add proper sections
 
Line 1: Line 1:
<noinclude>{{template}}{{DISPLAYTITLE:Template:manual:nixos}}
<noinclude>{{template}}{{DISPLAYTITLE:Template:manual:nixos}}


== About ==
This template is used mainly to track links to the official NixOS documentation.
This template is used mainly to track links to the official NixOS documentation.


Line 11: Line 12:
* <code>sec</code> Link anchor, with leading number sign.
* <code>sec</code> Link anchor, with leading number sign.
* <code>chapter</code> Textual name of the chapter.
* <code>chapter</code> Textual name of the chapter.
== Usage ==
* <code><nowiki>{{manual:nixos}}</nowiki></code>
* <code><nowiki>{{manual:nixos|sec=#sec-rebooting|chapter=Chapter 23. Rebooting and Shutting Down}}</nowiki></code>


== Examples ==
== Examples ==
* <code><nowiki>{{manual:nixos}}</nowiki></code>
* {{manual:nixos}}
* {{manual:nixos}}
* <code><nowiki>{{manual:nixos|sec=#sec-rebooting|chapter=Chapter 23. Rebooting and Shutting Down}}</nowiki></code>
* {{manual:nixos|sec=#sec-rebooting|chapter=Chapter 23. Rebooting and Shutting Down}}
* {{manual:nixos|sec=#sec-rebooting|chapter=Chapter 23. Rebooting and Shutting Down}}


== See also ==
* [[Template:NixOS Manual]]
</noinclude><includeonly
</noinclude><includeonly
>[https://nixos.org/nixos/manual/{{{sec|}}} NixOS Manual{{#if: {{{chapter|}}} |, {{{chapter}}}|}}]</includeonly>
>[https://nixos.org/nixos/manual/{{{sec|}}} NixOS Manual{{#if: {{{chapter|}}} |, {{{chapter}}}|}}]</includeonly>

Latest revision as of 20:56, 6 April 2024

This page is a template. It should be used as part of other articles. For more information, see Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to discuss this template in the talk page.

If you wanted to create a new page instead, use the search box to search for the title of the new page you want to create and follow the link Create the page "XYZ" on this wiki! in the results page. An alternative is to create a dangling link to the new page from an existing page. A final option is to directly visit the expected URL of the page.

About

This template is used mainly to track links to the official NixOS documentation.

This allows the wiki team to periodically review links and ensure they still are valid.

This will also eventually be used to change the visuals of the links.

Parameters

  • sec Link anchor, with leading number sign.
  • chapter Textual name of the chapter.

Usage

  • {{manual:nixos}}
  • {{manual:nixos|sec=#sec-rebooting|chapter=Chapter 23. Rebooting and Shutting Down}}

Examples

See also