OTRS ticket # 'Error
This is the template sandbox page for Template:VRTS ticket 2 (diff). See also the companion subpage for test cases. |
TemplateData
editTemplateData for VRTS ticket 2
This template creates a hyperlink to an existing VRTS ticket. It is useful for Volunteer Response Team agents wanting to refer to the content of specific tickets. The template takes two parameters: the first is the ticket number and the second is the ticket ID. Only the ticket number is required for the template to work, and neither has a default value. The template throws an error if you do not include mandatory parameters.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | This is the actual ticket number, which is longer than the ticket ID | Number | required |
2 | 2 | This is the ticket ID, which is in the URL of the ticket | Number | suggested |
Usage
editUnlike its sister template, {{VRTS ticket}}
, this template does not require the ticket ID parameter to link tickets. The ordering of the parameters is also reversed due to technial constraints.
{{VRTS ticket 2|TicketNumber|TicketID}}
Example
edit{{VRTS ticket 2|2006110810008642|502785}}
gives:
VRTS ticket # 2006110810008642
which links to:
//ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=502785
(Note that users who do not have necessary permissions will not be able to access the content.)