Template:GitHubCommit: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>AntumDeluge Create "Template:GitHubCommit" for quickly linking to commits on GitHub |
imported>AntumDeluge Add to "Category:Template" |
||
| Line 42: | Line 42: | ||
[[Category:Stendhal]] |
[[Category:Stendhal]] |
||
[[Category:Development]] |
[[Category:Development]] |
||
[[Category:Template]] |
|||
Revision as of 23:45, 2 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