Template:Github

From collectd Wiki
Revision as of 10:14, 27 November 2010 by Octo (talk | contribs) (Expand examples.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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