Help:Templates: Difference between revisions
m Add words |
m Add Nix, Nixpkgs and NixOS templates |
||
| Line 1: | Line 1: | ||
The wiki provides templates for common tasks. | <!-- | ||
NOTE: Do not link to META templates. | |||
-->The wiki provides templates for common tasks. | |||
Those templates can range from simple to complex, being almost invisible to the end-user to provide a complete harmonized template between articles. | Those templates can range from simple to complex, being almost invisible to the end-user to provide a complete harmonized template between articles. | ||
| Line 54: | Line 56: | ||
* [[Template:bc|<nowiki>{{bc}}</nowiki>]] for a '''block''' of '''code'''. | * [[Template:bc|<nowiki>{{bc}}</nowiki>]] for a '''block''' of '''code'''. | ||
==== | === Nix, Nixpkgs and NixOS === | ||
These helpers link to specific project parts. | |||
==== Nix ==== | |||
* [[Template:nix:option|<nowiki>{{nix:option}}</nowiki>]] links to a given '''Nix''' option documentation. | |||
* [[Template:Nix Manual|<nowiki>{{Nix Manual}}</nowiki>]] links to the '''Nix''' manual (with optional chapter and version). | |||
==== Nixpkgs ==== | |||
* [[Template:Nixpkgs Link|<nowiki>{{Nixpkgs Link}}</nowiki>]] links to a given Nixpkgs file (with optional revision). | |||
* [[Template:Nixpkgs Manual|<nowiki>{{Nixpkgs Manual}}</nowiki>]] links to the Nixpkgs manual (with optional chapter and version). | |||
==== NixOS ==== | |||
* [[Template:nixos:package|<nowiki>{{nixos:package}}</nowiki>]] links to a given NixOS package search result. | |||
* [[Template:nixos:option|<nowiki>{{nixos:option}}</nowiki>]] links to a given NixOS option search result. | |||
* [[Template:NixOS Manual|<nowiki>{{NixOS Manual}}</nowiki>]] links to the NixOS manual (with optional chapter and version). | |||
==== Other links ==== | |||
* [[Template:issue|<nowiki>{{issue}}</nowiki>]] to link to a Nixpkgs issue. | * [[Template:issue|<nowiki>{{issue}}</nowiki>]] to link to a Nixpkgs issue. | ||