Template:GitHubCommit

From Arianne
Revision as of 01:59, 1 February 2018 by imported>AntumDeluge (Create "Template:GitHubCommit" for quickly linking to commits on GitHub)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Description

Template:GitHubCommit

For quickly linking to commits on GitHub.

Usage

{{GitHub|user/org|repo|commit|[text]}}

Argument Description
user/org User or organization name.
repo Repository name.
commit Commit ID/Hash.
text Alternate text to display.

Examples

Description Input Output
Link to a commit. {{GitHubCommit|arianne|stendhal|8beaf67}} https://github.com/arianne/stendhal/commit/8beaf67
Link to a commit with alternate text. {{GitHubCommit|arianne|stendhal|8beaf67|Updated the dragon riders to use the new rider image}} Updated the dragon riders to use the new rider image

See Also