Difference between revisions of "Template:Github"

From postmarketOS
Jump to navigation Jump to search
(Write down generic usage)
Line 2: Line 2:
  
 
Link to a GitHub issue or pull request by specifying:
 
Link to a GitHub issue or pull request by specifying:
* issue/PR <code>id</code>
+
* <code>id</code> of the issue/pull-request
 
* <code>repository</code> (defaults to [https://github.com/postmarketOS/pmbootstrap pmbootstrap])
 
* <code>repository</code> (defaults to [https://github.com/postmarketOS/pmbootstrap pmbootstrap])
 
* <code>project</code> (defaults to [https://github.com/postmarketOS postmarketOS])
 
* <code>project</code> (defaults to [https://github.com/postmarketOS postmarketOS])
  
 
==Usage==
 
==Usage==
 
+
  <nowiki>{{github|id|repository|project}}</nowiki>
<nowiki>{{github|1}}</nowiki>
 
 
 
<nowiki>{{github|1|osk-sdl}}</nowiki>
 
 
 
<nowiki>{{github|1092|aports|alpinelinux}}</nowiki>
 
  
 
==Example==
 
==Example==
  
 +
<nowiki>{{github|1}}</nowiki>
 
{{github|1}}
 
{{github|1}}
  
 +
<nowiki>{{github|1|osk-sdl}}</nowiki>
 
{{github|1|osk-sdl}}
 
{{github|1|osk-sdl}}
  
 +
<nowiki>{{github|1092|aports|alpinelinux}}</nowiki>
 
{{github|1092|aports|alpinelinux}}
 
{{github|1092|aports|alpinelinux}}
  
 
</noinclude><includeonly>[https://github.com/{{{3|postmarketOS}}}/{{{2|pmbootstrap}}}/{{{1}}} {{{2|}}}#{{{1}}}]</includeonly>
 
</noinclude><includeonly>[https://github.com/{{{3|postmarketOS}}}/{{{2|pmbootstrap}}}/{{{1}}} {{{2|}}}#{{{1}}}]</includeonly>

Revision as of 23:49, 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|id|repository|project}}

Example

{{github|1}}

#1

{{github|1|osk-sdl}}

osk-sdl#1

{{github|1092|aports|alpinelinux}}

aports#1092