Template:Pull: Difference between revisions

From NixOS Wiki
imported>Samueldr
{{pull|id}}
 
Sdht0 (talk | contribs)
Add proper sections
Line 1: Line 1:
<noinclude>{{Template}}{{DISPLAYTITLE:Template:pull}}
<noinclude>{{Template}}


'''An inline link to a specific pull request in the [https://github.com/NixOS/nixpkgs/pull nixpkgs repo's pull requests].'''
== About ==
An inline link to a specific pull request to the [https://github.com/NixOS/nixpkgs/pull nixpkgs repo].


====Usage====
== Usage ==


<nowiki>{{pull|991234}}</nowiki>
{{ic|<nowiki>See pull request {{pull|991234}}.</nowiki>}}


<nowiki>{{pull|991234|A textual description}}</nowiki>
{{ic|<nowiki>Refer to {{pull|991234|this pull request}}.</nowiki>}}


====Example====
== Example ==


It is in pull request {{pull|991234}}.
See pull request {{pull|991234}}.


{{pull|991234|Some pull text}}
Refer to {{pull|991234|this pull request}}.
</noinclude><includeonly>[[File:issue.png|link=https://github.com/NixOS/nixpkgs/pull/{{{1}}}]][https://github.com/NixOS/nixpkgs/pull/{{{1}}} {{{2|#{{{1}}}}}}]</includeonly>
</noinclude><includeonly>[[File:issue.png|link=https://github.com/NixOS/nixpkgs/pull/{{{1}}}]][https://github.com/NixOS/nixpkgs/pull/{{{1}}} {{{2|#{{{1}}}}}}]</includeonly>

Revision as of 20:13, 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

An inline link to a specific pull request to the nixpkgs repo.

Usage

See pull request {{pull|991234}}.

Refer to {{pull|991234|this pull request}}.

Example

See pull request #991234.

Refer to this pull request.