Template:Manual:nixos: Difference between revisions
imported>Samueldr To be used to refer to a particular NixOS manual section |
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 == | ||
* {{manual:nixos}} | * {{manual:nixos}} | ||
* {{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> |