Template:NixOS Manual: Difference between revisions
[feat] Add parameter to link to unstable version |
m Change flavour of the example text |
||
Line 21: | Line 21: | ||
=== Rename the link === | === Rename the link === | ||
Example: | Example: | ||
<nowiki>{{NixOS Manual|name=NixOS | <nowiki>{{NixOS Manual|name=The official NixOS manual}}</nowiki> | ||
Creates: {{NixOS Manual|name=NixOS | Creates: {{NixOS Manual|name=The official NixOS manual}} | ||
=== Add an anchor link === | === Add an anchor link === |
Latest revision as of 01:17, 7 April 2024
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 linkCreate 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 NixOS Manual.
Basic use
Example:
{{NixOS Manual}}
Creates: NixOS Manual
Advanced use
Link to the unstable version
Example:
{{NixOS Manual|ver=unstable}}
Creates: NixOS Manual
Rename the link
Example:
{{NixOS Manual|name=The official NixOS manual}}
Creates: The official NixOS manual
Add an anchor link
Example:
{{NixOS Manual|name=NixOS Manual: Chapter - Package Management|anchor=#sec-package-management}}
Creates: NixOS Manual: Chapter - Package Management