Template:Nixos:package: Difference between revisions

From NixOS Wiki
imported>Garbas
mNo edit summary
Sdht0 (talk | contribs)
Fix url, add proper sections
Line 1: Line 1:
<noinclude>{{template}}{{DISPLAYTITLE:Template:nixos:package}}
<noinclude>{{template}}{{DISPLAYTITLE:Template:nixos:package}}


Refer to a NixOS package linking to the <em>packages.html</em> page.
== About ==
Refer to a NixOS package linking to <em>search.nixos.org</em>.


== Example use ==
== Usage ==
{{ic|<nowiki>{{nixos:package|coreutils}}</nowiki>}}


* <code><nowiki>{{nixos:package|coreutils}}</nowiki></code>
== Example ==
* {{nixos:package|coreutils}}
{{nixos:package|coreutils}}


</noinclude><includeonly><code>[https://search.nixos.org/packages/?query={{{1}}}  {{{1}}}]</code></includeonly>
</noinclude><includeonly><code>[https://search.nixos.org/packages?query={{{1}}}  {{{1}}}]</code></includeonly>

Revision as of 20:40, 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 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 package linking to search.nixos.org.

Usage

{{nixos:package|coreutils}}

Example

coreutils