Template:GitHubCommit: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Add to "Category:Template"
imported>AntumDeluge
Change category "Template" to "RefactoringTemplates"
 
(2 intermediate revisions by the same user not shown)
Line 37: Line 37:
== See Also ==
== See Also ==


* [[Templates|List of templates]]
* [[Special:WhatLinksHere/Template:{{PAGENAME}} | Pages using Template:{{PAGENAME}}]]




[[Category:Stendhal]]
[[Category:Stendhal]]
[[Category:Development]]
[[Category:Development]]
[[Category:Template]]
[[Category:RefactoringTemplates]]

Latest revision as of 04:54, 4 March 2018


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