Template:Nixos:option: Difference between revisions
Appearance
m query → show |
Use new Doc-subpage |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{DISPLAYTITLE:Template:nixos:option}} | ||
{{Documentation}} | |||
</noinclude><includeonly><code>[https://search.nixos.org/options?show={{{1}}} {{{2|{{{1}}}}}}]</code></includeonly> | |||
</noinclude><includeonly><code>[https://search.nixos.org/options?show={{{1}}} {{{1}}}]</code></includeonly> | |||
Latest revision as of 12:35, 10 February 2026
Template Documentation [edit source| uses| help]
Link to a NixOS option's page on https://search.nixos.org/options.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Option | 1 | The attribute path of the option. Note that MediaWiki additionally parses characters like < oddly in links, so this template doesn't support including e.g. `<name>` in this parameter, but does in the "Display text" parameter.
| String | required |
| Display text | 2 | Alternative text to display
| String | optional |
Example
{{nixos:option|users.users.*.name|users.users.<name>.name}}