From Fedora Project Wiki

(Create new template)
 
(Use 2 links (one for ticket, one for trac instance))
Line 1: Line 1:
{{#if: {{{1|}}} | {{#if: {{{2|}}} |<code>[https://fedorahosted.org/{{{1}}}/ticket/{{{2}}} {{{1}}}#{{{2}}}]</code> | [https://fedorahosted.org/{{{1}}}/newticket New {{{1}}} ticket]}} }} <noinclude>{{tempdoc}}</noinclude>
{{#if: {{{1|}}} | {{#if: {{{2|}}} |<code>[https://fedorahosted.org/{{{1}}} {{{1}}}] [https://fedorahosted.org/{{{1}}}/ticket/{{{2}}} #{{{2}}}]</code> | [https://fedorahosted.org/{{{1}}}/newticket New {{{1}}} ticket]}} }} <noinclude>{{tempdoc}}</noinclude>

Revision as of 12:40, 14 June 2010

Template documentation [edit]

This documentation is transcluded from Template:Ticket/doc. It will not be transcluded on pages that use this template.

This template is used to return a formatted URL to a fedorahosted.org TRAC ticket.

Parameters

Hosted Project Name

A valid fedora hosted project. For a list of projects, see https://fedorahosted.org/web. Examples include:

  • fedora-qa
  • rel-eng
  • infrastructure

Ticket Number

An optional TRAC ticket number to reference. Must be a valid ticket number for the project referenced.

Examples

{{Ticket|fedora-qa}}
New fedora-qa ticket
{{Ticket|infrastructure|2120}}
infrastructure #2120