Template:Commit: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Line 4: Line 4:
===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==

Revision as of 17:14, 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
  • 2: the version number (2 or 3)

Examples

{{commit|f51e1528}}

delivers:

[f51e1528]