Template:Nixos:option: Difference between revisions

From NixOS Wiki
imported>Samueldr
m Fix template for the new search URL scheme
m query → show
 
(One intermediate revision by one other user not shown)
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.


== Example use ==
== Usage ==
{{ic|<nowiki>{{nixos:option|powerManagement.resumeCommands}}</nowiki>}}


* <code><nowiki>{{nixos:option|powerManagement.resumeCommands}}</nowiki></code>
== Example ==
* {{nixos:option|powerManagement.resumeCommands}}
{{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?show={{{1}}}  {{{1}}}]</code></includeonly>

Latest revision as of 05:00, 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 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

Refer to a NixOS option linking to the options.html page.

Usage

{{nixos:option|powerManagement.resumeCommands}}

Example

powerManagement.resumeCommands