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
Line 7: Line 7:
*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''
==Examples==
==Examples==
<pre>
<pre>

Revision as of 12:15, 13 December 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
  • 3: Any text to diplay, is only displayed when 1 does not exist, default: tickets

Examples

{{ticket|41}}

delivers:

#41

{{ticket|474|3}}

delivers:

#474

{{ticket}}

delivers:

tickets

{{ticket|2=3}}

delivers:

tickets