Template:Github

From collectd Wiki
Jump to: navigation, search

Template for creating links to Github repositories and branches therein.

Usage

{{Github
| user       = 
| repository = <!-- optional, default "collectd" -->
| branch     = <!-- optional -->
}}

Example

Code Result
{{Github | user=octo}} octo/collectd
{{Github | user=octo | repository=c4}} octo/c4
{{Github | user=octo | branch=master}} octo/collectd/master
{{Github | user=octo | repository=c4 | branch=master}} octo/c4/master