Jump to content

Template:Nix Manual: Difference between revisions

From NixOS Wiki
imported>Nix
Nix Manual template
 
DoggoBit (talk | contribs)
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{delete|reason=Trivial specialisation of {{template link|manual}}.}}
{{Template}}
{{Template}}
This is the template which is used to easily link out to the official stable Nix Manual.


== About ==
Create a link to the official Nix Manual.
== Basic use ==
Example:
Example:
   <nowiki>{{Nix Manual}}</nowiki>
   <nowiki>{{Nix Manual}}</nowiki>


Creates: {{Nix Manual}}
Creates: {{Nix Manual}}
== Advanced use ==
=== Link to the unstable version ===
Example:
  <nowiki>{{Nix Manual|ver=unstable}}</nowiki>
Creates: {{Nix Manual|ver=unstable}}
=== Rename the link ===
Example:
  <nowiki>{{Nix Manual|name=The official Nix manual}}</nowiki>
Creates: {{Nix Manual|name=The official Nix manual}}
=== Add an anchor link ===
Example:
  <nowiki>{{Nix Manual|name=Nix Manual: Chapter - Main Commands|anchor=#ch-main-commands}}</nowiki>
Creates: {{Nix Manual|name=Nix Manual: Chapter - Main Commands|anchor=#ch-main-commands}}


</noinclude>
</noinclude>
<includeonly>
<includeonly>[https://nixos.org/manual/nix/{{{ver|stable}}}/{{{anchor|}}} {{{name|Nix Manual}}}]</includeonly>
[https://nixos.org/manual/nix/stable/ Nix Manual]
</includeonly>

Latest revision as of 21:19, 7 June 2025

✖︎︎
This article is a deletion candidate. Trivial specialisation of {{manual}}. Further information may be found on the related discussion page.
This page is a template. It should be used as part of other articles. For more information, see Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to discuss this template in the talk page.

If you wanted to create a new page instead, use the search box to search for the title of the new page you want to create and follow the link Create the page "XYZ" on this wiki! in the results page. An alternative is to create a dangling link to the new page from an existing page. A final option is to directly visit the expected URL of the page.

About

Create a link to the official Nix Manual.

Basic use

Example:

 {{Nix Manual}}

Creates: Nix Manual

Advanced use

Link to the unstable version

Example:

 {{Nix Manual|ver=unstable}}

Creates: Nix Manual

Rename the link

Example:

 {{Nix Manual|name=The official Nix manual}}

Creates: The official Nix manual

Add an anchor link

Example:

 {{Nix Manual|name=Nix Manual: Chapter - Main Commands|anchor=#ch-main-commands}}

Creates: Nix Manual: Chapter - Main Commands