Template:Cite manual
Template Documentation [edit source| uses| help]
Use this template to provide a citation to the Nix, Nixpkgs or NixOS manuals.
Usage
Simply include this template inline with the text that needs the citation. The first two arguments are the manual you want to cite from, and the argument is the path within the manual. For more information about these, check out the {{manual}}
documentation. The named arguments differ depending on the manual you are citing from.
- For the Nix Reference Manual, provide the section number and title.
- For the Nixpkgs Reference Manual, provide the section title.
Text that needs citation. {{cite manual|nix|introduction|number=1|title=Introduction}}
Template data
Insert a citation to one of the Nix manuals.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Manual | 1 | Which manual you want to cite from
| String | required |
Citation path | 2 | The path to the manual page you want to cite from. Only include the URL part after the manual version. | String | required |
Section number | number | The section number you want to cite. Only applies to the Nix Reference Manual. | String | suggested |
Section title | title | The title of the section you want to cite. | String | required |
Subsection path | subsection | The subsection you want to cite. Only applies to the Nix Reference Manual, and is the part of the URL after the # sign. | String | optional |
Subsection title | subtitle | The title of the subsection you want to cite. | String | optional |
- ↑ Nix Reference Manual, §1. 📖︎ Introduction