Template:Cite manual/Doc: Difference between revisions
Appearance
Created page with "Use this template to provide a citation to the Nix, Nixpkgs or NixOS manuals. {{cite manual|nix|introduction|number=1|title=Introduction}} === 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 {{tl|manual}} documentation. The named arguments differ depending o..." |
Document subsection |
||
Line 44: | Line 44: | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | |||
"subsection": { | |||
"label": "Subsection path", | |||
"description": "The subsection you want to cite. Only applies to the Nix Reference Manual, and is the part of the URL after the # sign.", | |||
"type": "string" | |||
}, | |||
"subtitle": { | |||
"label": "Subsection title", | |||
"description": "The title of the subsection you want to cite.", | |||
"type": "string" | |||
} | } | ||
} | } | ||
} | } | ||
</templatedata></includeonly> | </templatedata></includeonly> |
Latest revision as of 19:39, 14 June 2025
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}}
- ↑ Nix Reference Manual, §1. 📖︎ Introduction