Template:Commit: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(new template)
 
Line 1: Line 1:
<includeonly>[https://development.railml.org/railml/version{{{2|2}}}/-/commit/{{{1}}} <nowiki>[</nowiki>{{{1}}}<nowiki>]</nowiki>]</includeonly><noinclude>
<includeonly>[https://development.railml.org/railml/version{{{2|2}}}/-/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]].
===Parameters===
===Parameters===
*1: the commit number, e.g. ''f51e1528''
*1: the commit number, e.g. ''f51e1528''
==Examples==
==Examples==
<pre>
<pre>

Revision as of 15:17, 13 December 2021

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

Examples

{{commit|f51e1528}}

delivers:

[f51e1528]