Template:Ticket: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
(Created page with "<includeonly>{{#vardefine:pfad|{{#ifeq:{{{2}}}|3|https://development.railml.org/railml/version3/-/issues/|https://trac.railml.org/ticket/}}}}[{{#var:pfad}}{{{1}}} #{{{1}}}]</i...") |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:pfad|{{#ifeq:{{{2}}}|3|https://development.railml.org/railml/version3/-/issues/|https://trac.railml.org/ticket/}}}}[{{#var:pfad}}{{{1}}} #{{{1}}}]</includeonly><noinclude> | <includeonly>{{#vardefine:pfad|{{#ifeq:{{{2}}}|3|https://development.railml.org/railml/version3/-/issues/|https://trac.railml.org/{{#if:{{{1|}}}|ticket/|report}}}}}}[{{#var:pfad}}{{{1|}}} {{#if:{{{1|}}}|#{{{1}}}|{{{3|tickets}}}}}]</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
This templateis suposed to standardize links to tickets. It makes the links look uniform, and if the paht to the tickets ever changes, this change can be represented here, | This templateis suposed to standardize links to tickets. It makes the links look uniform, and if the paht to the tickets ever changes, this change can be represented here, | ||
Line 18: | Line 18: | ||
{{ticket|474|3}} | {{ticket|474|3}} | ||
<pre> | |||
{{ticket}} | |||
</pre> | |||
delivers: | |||
{{ticket}} | |||
<pre> | |||
{{ticket|2=3}} | |||
</pre> | |||
delivers: | |||
{{ticket|2=3}} | |||
{{interwiki}} | |||
[[category:markupTemplate]] | [[category:markupTemplate]] | ||
</noinclude> | </noinclude> |
Revision as of 16:50, 20 August 2021
Usage
This templateis suposed to standardize links to tickets. It makes the links look uniform, and if the paht to the tickets ever changes, this change can be represented here,
Parameters
- 1: the number of the addressed ticket
- 2: version 2 or 3 – default=2
Examples
{{ticket|41}}
delivers:
{{ticket|474|3}}
delivers:
{{ticket}}
delivers:
{{ticket|2=3}}
delivers: