Difference between revisions of "Template:Github"

From postmarketOS
Jump to navigation Jump to search
(Add template for linking to github issues/PRs)
 
Line 1: Line 1:
 
<noinclude>{{Template:Template}}{{DISPLAYTITLE:Template:github}}
 
<noinclude>{{Template:Template}}{{DISPLAYTITLE:Template:github}}
  
Link to a GitHub issue or pull request by specifying <code>project</code> (defaults to [https://github.com/postmarketOS postmarketOS]), <code>repository</code> (defaults to [https://github.com/postmarketOS/pmbootstrap pmbootstrap]) and <code>id</code>.
+
Link to a GitHub issue or pull request by specifying:
 +
* issue/PR <code>id</code>
 +
* <code>repository</code> (defaults to [https://github.com/postmarketOS/pmbootstrap pmbootstrap])
 +
* <code>project</code> (defaults to [https://github.com/postmarketOS postmarketOS])
  
 
==Usage==
 
==Usage==

Revision as of 23:46, 20 October 2017

This page is a template. It contains no postmarketOS-related information, but should be used as part of other articles.

Check out all pages using this template and feel free to discuss it in the gitlab issues.

For more information, read Templates and Template:Template.

Link to a GitHub issue or pull request by specifying:

Usage

{{github|1}}
{{github|1|osk-sdl}}
{{github|1092|aports|alpinelinux}}

Example

#1

osk-sdl#1

aports#1092