Template:Nixos:option: Difference between revisions
imported>Samueldr m Fix template for the new search URL scheme |
Add proper sections |
||
Line 1: | Line 1: | ||
<noinclude>{{template}}{{DISPLAYTITLE:Template:nixos:option}} | <noinclude>{{template}}{{DISPLAYTITLE:Template:nixos:option}} | ||
== About == | |||
Refer to a NixOS option linking to the <em>options.html</em> page. | Refer to a NixOS option linking to the <em>options.html</em> page. | ||
== | == Usage == | ||
{{ic|<nowiki>{{nixos:option|powerManagement.resumeCommands}}</nowiki>}} | |||
== Example == | |||
{{nixos:option|powerManagement.resumeCommands}} | |||
</noinclude><includeonly><code>[https://search.nixos.org/options?query={{{1}}} {{{1}}}]</code></includeonly> | </noinclude><includeonly><code>[https://search.nixos.org/options?query={{{1}}} {{{1}}}]</code></includeonly> |
Revision as of 20:42, 6 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
Refer to a NixOS option linking to the options.html page.
Usage
{{nixos:option|powerManagement.resumeCommands}}
Example
powerManagement.resumeCommands