Template:Ticket: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Created page with "[https://code.google.com/p/flightgear-bugs/issues/detail?id={{{1}}} issue #{{{1}}}]<noinclude> {{Informative template|1= __NOTOC__ == Goal == This template can be used i runni...")
 
(+ Error message if ticket id is missing)
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[https://code.google.com/p/flightgear-bugs/issues/detail?id={{{1}}} issue #{{{1}}}]<noinclude>
{{#if: {{{1|}}} | [http://sourceforge.net/p/flightgear/codetickets/{{{1}}}/ {{{2|ticket}}} {{{1}}}] | <big style="color:Red">{{tl|ticket}}: Ticket id missing</big> }}<!--
{{Informative template|1=
--><noinclude>{{Informative template|1=
__NOTOC__
__NOTOC__
== Goal ==
== Goal ==
This template can be used i running text to link to a specific issue (bug or feature request) on the [https://code.google.com/p/flightgear-bugs/ FlightGear bug and feature request tracker].
This template can be used in running text to link to a specific ticket on the {{tickets|issue tracker}}.


== Usage ==
== Usage ==
  <nowiki>{{</nowiki>'''issue'''<nowiki>|</nowiki>id<nowiki>}}</nowiki>
  {{obr}}'''ticket'''{{!}}id{{!}}''alt text''{{cbr}}


The only parameter is:
; id: The number of the ticket on the issue tracker.
* <tt>'''id'''</tt>: The id of the issue on the tracker, an integer number
 
; alt text: An optional alternative text to use instead of "issue".


== Examples ==
== Examples ==
<pre>When global "reinit" ({{issue|419}}) get resolved it might be possible to change aircraft during the session.</pre>
<nowiki>When global "reinit" ({{ticket|419}}) get resolved it might be possible to change aircraft during the session.</nowiki>
When global "reinit" ({{issue|419}}) get resolved it might be possible to change aircraft during the session.
When global "reinit" ({{ticket|419}}) get resolved it might be possible to change aircraft during the session.
 
<nowiki>See {{ticket|202|bug}} for the fix.</nowiki>
See {{ticket|202|bug}} for the fix.


== Related templates ==
== Related templates ==
* {{tl|example}}
* {{tl|issue}} – 'Redirect' using this template to handle uses of the older name of the template.
* {{tl|create ticket}} – For linking to a form creating a new issue tracker ticket
* {{tl|register to sf}} – For linking to the SourceForge form for registering a new account
* {{tl|tickets}} – For linking to the list of tickets on the issue tracker


[[Category:Templates]]
}}
}}
[[Category:Link templates]]
</noinclude>
</noinclude>

Revision as of 21:49, 4 April 2015

{{ticket}}: Ticket id missing

The following template description is not displayed when the template is inserted in an article.

Goal

This template can be used in running text to link to a specific ticket on the issue tracker.

Usage

{{ticket|id|alt text}}
id
The number of the ticket on the issue tracker.
alt text
An optional alternative text to use instead of "issue".

Examples

When global "reinit" ({{ticket|419}}) get resolved it might be possible to change aircraft during the session.

When global "reinit" (ticket 419) get resolved it might be possible to change aircraft during the session.

See {{ticket|202|bug}} for the fix.

See bug 202 for the fix.

Related templates

  • {{issue}} – 'Redirect' using this template to handle uses of the older name of the template.
  • {{create ticket}} – For linking to a form creating a new issue tracker ticket
  • {{register to sf}} – For linking to the SourceForge form for registering a new account
  • {{tickets}} – For linking to the list of tickets on the issue tracker