Template:Commit: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
(Created page with "<includeonly>[https://development.railml.org/railml/version{{{2|2}}}/-/commit/{{{1}}} <nowiki>[</nowiki>{{{1}}}<nowiki>]</nowiki>]</includeonly><noinclude> ==Usage== This temp...") |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[https://development.railml.org/railml/version{{{2| | <includeonly>[https://development.railml.org/railml/version{{{2|3}}}/-/commit/{{{1}}} <nowiki>[</nowiki>{{{1}}}<nowiki>]</nowiki>]</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
This templateis suposed to standardize links to gitlabs Commits. It makes the links look uniform, and if the path to the tickets ever changes, the links can be changed here centrally. Legacy SVN commit numbers can be addressed with [[Template:svn]]. | This templateis suposed to standardize links to gitlabs Commits. It makes the links look uniform, and if the path to the tickets ever changes, the links can be changed here centrally. Legacy SVN commit numbers can be addressed with [[Template:svn]]. | ||
{{note|An outline on Citations and References within the {{rml}} wikis can be found '''[[Dev:Wiki_Documentation_Guidelines#Citations_and_References|here]]'''.}} | |||
===Parameters=== | ===Parameters=== | ||
*1: the commit number, e.g. ''f51e1528'' | *1: the commit number, e.g. ''f51e1528'' | ||
*2: the version number (2 or 3) | |||
==Examples== | ==Examples== | ||
Line 11: | Line 13: | ||
delivers: | delivers: | ||
{{commit|f51e1528}} | {{commit|f51e1528|2}} | ||
[[category:markupTemplate]] | [[category:markupTemplate]] | ||
{{interwiki}} | {{interwiki|2=all}} | ||
</noinclude> | </noinclude> |
Latest revision as of 17:41, 12 June 2024
Usage
This templateis suposed to standardize links to gitlabs Commits. It makes the links look uniform, and if the path to the tickets ever changes, the links can be changed here centrally. Legacy SVN commit numbers can be addressed with Template:svn.
|
Parameters
- 1: the commit number, e.g. f51e1528
- 2: the version number (2 or 3)
Examples
{{commit|f51e1528}}
delivers: