Template:Manual:nixos: Difference between revisions

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>