Template:GitHubCommit

From Arianne
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