Template:StendhalCommit: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Create "Template:StendhalCommit" for quick linking to Stendhal Git commits on GitHub
imported>AntumDeluge
Add category "RefactoringTemplates"
 
(2 intermediate revisions by the same user not shown)
Line 33: Line 33:
== 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:RefactoringTemplates]]

Latest revision as of 05:02, 4 March 2018


Description

Template:StendhalCommit

For quickly linking to Stendhal commits on GitHub.

Usage

{{GitHub|commit|[text]}}

Argument Description
commit Commit ID/Hash.
text Alternate text to display.

Examples

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

See Also