Template:Commit: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
No edit summary
 
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|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}}
</noinclude>
</noinclude>

Latest revision as of 12:50, 3 July 2023

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.

🗒️ An outline on Citations and References within the railML® wikis can be found here.

Parameters

  • 1: the commit number, e.g. f51e1528
  • 2: the version number (2 or 3)

Examples

{{commit|f51e1528}}

delivers:

[f51e1528]