Template:Ticket: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
No edit summary
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[http://trac.assembla.com/railML/ticket/{{{1}}} #{{{1}}}]</includeonly><noinclude>
<includeonly>{{#vardefine:pfad|https://development.railml.org/railml/version{{{2|2}}}/-/issues/}}<!--
-->[{{#var:pfad}}{{{1|}}} {{#if:{{{1|}}}|&#35;{{{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 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===
The template has only one obligatory, unnamed argument: the number of the addressed ticket
*1: the number of the addressed ticket
*2: version 2 or 3 – default=2
*3: Any text to diplay, is only displayed when 1 does not exist, default: ''tickets''
 
==Examples==
==Examples==
<syntaxhighlight lang=wiki>
<pre>
{{ticket|41}}
{{ticket|41|2}}
</syntaxhighlight>
</pre>
delivers:
 
{{ticket|41|2}}
<pre>
{{ticket|474}}
</pre>
delivers:
 
{{ticket|474}}
<pre>
{{ticket|3=Some text}}
</pre>
delivers:
 
{{ticket|3=Some text}}
<pre>
{{ticket|2=2}}
</pre>
delivers:
delivers:


{{ticket|41}}
{{ticket|2=2}}


[[category:template]]
{{interwiki}}
[[category:markupTemplate]]
</noinclude>
</noinclude>

Latest revision as of 12:50, 3 November 2023

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.

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

Parameters

  • 1: the number of the addressed ticket
  • 2: version 2 or 3 – default=2
  • 3: Any text to diplay, is only displayed when 1 does not exist, default: tickets

Examples

{{ticket|41|2}}

delivers:

#41

{{ticket|474}}

delivers:

#474

{{ticket|3=Some text}}

delivers:

Some text

{{ticket|2=2}}

delivers:

tickets