Template:Ticket: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
(Link aktualisiert) |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly | <includeonly>{{#vardefine:pfad|https://development.railml.org/railml/version{{{2|3}}}/-/issues/}}<!-- | ||
-->{{#ifeq:{{#var:falle}}|1|{{#var:pfad}}{{{1|}}}|[{{#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 | This templateis suposed to standardize links to tickets. It makes the links look uniform, and if the path to the tickets ever changes, this change can be represented here. | ||
{{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 number of the addressed ticket | *1: the number of the addressed ticket | ||
*2: version 2 or 3 – default= | *2: version 2 or 3 – default=3 | ||
*3: Any text to diplay, is only displayed when 1 does not exist, default: ''tickets'' | *3: Any text to diplay, is only displayed when 1 does not exist, default: ''tickets'' | ||
==Examples== | ==Examples== | ||
<pre> | <pre> | ||
Line 33: | Line 34: | ||
{{ticket|2=2}} | {{ticket|2=2}} | ||
<pre> | |||
{{#vardefine:falle|1}} | |||
{{ticket|474}} | |||
{{#vardefine:falle|0}}</pre>delivers: | |||
{{#vardefine:falle|1}} | |||
{{ticket|474}} | |||
{{#vardefine:falle|0}} | |||
{{interwiki}} | {{interwiki|2=all}} | ||
[[category:markupTemplate]] | [[category:markupTemplate]] | ||
</noinclude> | </noinclude> |
Latest revision as of 17:43, 12 June 2024
Usage
This templateis suposed to standardize links to tickets. It makes the links look uniform, and if the path 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=3
- 3: Any text to diplay, is only displayed when 1 does not exist, default: tickets
Examples
{{ticket|41|2}}
delivers:
{{ticket|474}}
delivers:
{{ticket|3=Some text}}
delivers:
{{ticket|2=2}}
delivers:
{{#vardefine:falle|1}} {{ticket|474}} {{#vardefine:falle|0}}
delivers: