Jump to content

Template:Issue: Difference between revisions

From NixOS Wiki
m Remove background (Same as Template:Pull)
DoggoBit (talk | contribs)
No edit summary
Line 1: Line 1:
<noinclude>{{Template}}{{DISPLAYTITLE:Template:issue}}
<includeonly>[{{{link|https://github.com/{{{repo|NixOS/{{{3|nixpkgs}}}}}}/issues/{{{1}}}}}} {{unicon|🚩}}{{{2|#{{{1}}}}}}]
 
<noinclude>{{Template}}{{DISPLAYTITLE:Template:issue}}</includeonly><noinclude>{{Documentation}}</noinclude>
== About ==
An inline link to a specific issue in the [https://github.com/NixOS/nixpkgs/issues nixpkgs repo's issues].
 
== Usage ==
* It is filed under {{ic|<nowiki>{{issue|21234}}</nowiki>}}.
* See {{ic|<nowiki>{{issue|21234|this issue}}</nowiki>}}.
 
== Example ==
* It is filed under {{issue|21234}}.
* See {{issue|21234|this issue}}.
 
</noinclude><includeonly><span style="background: none;">[[File:issue.png|link=https://github.com/NixOS/nixpkgs/issues/{{{1}}}]][https://github.com/NixOS/nixpkgs/issues/{{{1}}} {{{2|#{{{1}}}}}}]</span></includeonly>

Revision as of 16:12, 7 June 2025

Template Documentation [edit source| uses| help]

This template inserts inline link to a specific repository issue. By default, it does so for the Nixpkgs repository, but it can either point to any other NixOS repository, any GitHub repository in general, or even any other link.

🚩︎#1


Usage

Simply specify the issue number in the template as the first argument to produce the issue listed above.

{{issue|1}}

You can also specify an alternate text for the issue:

{{issue|1|this issue}}

🚩︎this issue


You can also specify a whole alternate NixOS repository:

{{issue|1|this nixos-artwork issue|nixos-artwork}}

🚩︎this nixos-artwork issue


Alternatively, you can specify any GitHub repository:

{{issue|repo=nix-community/home-manager|1|this home-manager issue}}

🚩︎this home-manager issue


Finally, you can bring your own link. However, try to use only repository issues with this template:

{{issue|link=https://codeberg.org/librewolf/issues/issues/10||this Librewolf issue on Codeberg}}

🚩︎this Librewolf issue on Codeberg