Template:StendhalFile: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Create Template:GitFile to link to files in Stendhal Git source repository
imported>AntumDeluge
Add to "Category:Template"
Line 33: Line 33:
[[Category:Stendhal]]
[[Category:Stendhal]]
[[Category:Development]]
[[Category:Development]]
[[Category:Template]]

Revision as of 23:42, 2 March 2018

Description

A template for linking to Stendhal source files in the GitHub Git repository.

Usage

Arg Description
1 Git branch or commit.
2 File path.
3 Optional text.

Examples

Input Output
{{StendhalFile|a511c41|data/sprites/outfit/dress/dress_042.png}} https://github.com/arianne/stendhal/blob/a511c41/data/sprites/outfit/dress/dress_042.png
{{StendhalFile|a511c41|data/sprites/outfit/dress/dress_042.png|Dress 42}} Dress 42

See Also