Template:Commit: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{site|https://development.railml.org/railml/version{{{2|3}}}/-/commit/{{{1}}}|<nowiki>[</nowiki>{{{1}}}<nowiki>] | <includeonly>{{site|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]]. |
Revision as of 11:10, 7 March 2025
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:
{{site|https://development.railml.org/railml/version2/-/commit/f51e1528%7C[f51e1528]}}]