Template:Ticket: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Toten Code entfernt)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
-->[{{#var:pfad}}{{{1|}}} {{#if:{{{1|}}}|&#35;{{{1}}}|{{{3|tickets}}}}}]</includeonly><noinclude>
-->[{{#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===
*1: the number of the addressed ticket
*1: the number of the addressed ticket
*2: version 2 or 3 – default=2
*2: version 2 or 3 – default=2
*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>
{{ticket|41}}
{{ticket|41|2}}
</pre>
</pre>
delivers:
delivers:


{{ticket|41}}
{{ticket|41|2}}
<pre>
<pre>
{{ticket|474|3}}
{{ticket|474}}
</pre>
</pre>
delivers:
delivers:


{{ticket|474|3}}
{{ticket|474}}
<pre>
<pre>
{{ticket|3=Some text}}
{{ticket|3=Some text}}
Line 27: Line 29:
{{ticket|3=Some text}}
{{ticket|3=Some text}}
<pre>
<pre>
{{ticket|2=3}}
{{ticket|2=2}}
</pre>
</pre>
delivers:
delivers:


{{ticket|2=3}}
{{ticket|2=2}}


{{interwiki}}
{{interwiki}}
[[category:markupTemplate]]
[[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