Template:SVN: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
(→Examples: Expansion) |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[ | <includeonly><!-- | ||
→{{{2}}} stutzen -->{{#vardefine:stamm|{{#sub:{{{2|2}}}|0|1}}}}<!-- | |||
→In Projektnummer übersetzen-->{{#vardefine:projekt|{{#switch:{{#var:stamm}} | |||
|2=4 | |||
|3=1 | |||
|#default={{fixme}}}}}}<!-- | |||
→Ausgabe | |||
-->[https://development.railml.org/search?project_id={{#var:projekt}}&scope=commits&search=%40{{{1}}} <nowiki>[</nowiki>{{{1}}}<nowiki>]</nowiki>] ''([[Dev:versioning#Note on legacy SVN commits|Note on legacy SVN commits]])''</includeonly><noinclude> | |||
==Usage== | ==Usage== | ||
This | This template is supposed make the legacy SVN commits findable. Whereever possible, link to the current gitlab commit numbers via [[Template:Commit]], as [[Template:SVN]] is only a workaround pointing to a search result. | ||
===Parameters=== | ===Parameters=== | ||
The | 1: The legacy SVN commit number | ||
2: The {{rml}} version (default: 2) | |||
==Examples== | ==Examples== | ||
<pre> | <pre> | ||
Line 10: | Line 19: | ||
delivers: | delivers: | ||
{{SVN|335}} | |||
[[category:markupTemplate]] | [[category:markupTemplate]] | ||
{{interwiki}} | |||
</noinclude> | </noinclude> |
Latest revision as of 17:03, 13 December 2021
Usage
This template is supposed make the legacy SVN commits findable. Whereever possible, link to the current gitlab commit numbers via Template:Commit, as Template:SVN is only a workaround pointing to a search result.
Parameters
1: The legacy SVN commit number 2: The railML® version (default: 2)
Examples
{{SVN|335}}
delivers: