Template:Pull: Difference between revisions

imported>Samueldr
{{pull|id}}
 
m Remove background of flag icon for dark mode reasons. Unfortunately we can't lighten the icon conditionally for mediawiki reasons.
 
(2 intermediate revisions by one other user not shown)
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>
See pull request {{ic|<nowiki>{{pull|991234}}.</nowiki>}}


<nowiki>{{pull|991234|A textual description}}</nowiki>
Refer to {{ic|<nowiki>{{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><span style="background: none;">[[File:issue.png|link=https://github.com/NixOS/nixpkgs/pull/{{{1}}}]][https://github.com/NixOS/nixpkgs/pull/{{{1}}} {{{2|#{{{1}}}}}}]</span></includeonly>