Template:StendhalFile: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>AntumDeluge Add to "Category:Template" |
imported>AntumDeluge Change category "Template" to "RefactoringTemplates" |
||
| Line 28: | Line 28: | ||
== 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: |
[[Category:RefactoringTemplates]] |
||
Revision as of 04:49, 4 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 |