13,241
edits
(+ Error message if ticket id is missing) |
(+- Template:Error for error message; +- Slightly changed format of the link label) |
||
Line 1: | Line 1: | ||
{{#if: {{{1|}}} | [http://sourceforge.net/p/flightgear/codetickets/{{{1}}}/ {{{2| | {{#if: {{{1|}}} <!-- Is the ticket id missing? --> | ||
| <!-- No, go ahead --> | |||
[http://sourceforge.net/p/flightgear/codetickets/{{{1}}}/ {{{2|Ticket}}} #{{{1}}}] | |||
| <!-- Yes, throw an error --> | |||
{{error|Ticket id missing|ticket}} | |||
}}<!-- | |||
--><noinclude>{{Informative template|1= | --><noinclude>{{Informative template|1= | ||
__NOTOC__ | __NOTOC__ | ||
Line 10: | Line 15: | ||
; id: The number of the ticket on the issue tracker. | ; id: The number of the ticket on the issue tracker. | ||
; alt text: An optional alternative text to use instead of " | ; alt text: An optional alternative text to use instead of "Ticket". | ||
== Examples == | == Examples == | ||
Line 17: | Line 22: | ||
<nowiki>See {{ticket|202|bug}} for the fix.</nowiki> | <nowiki>See {{ticket|202|bug}} for the fix.</nowiki> | ||
See {{ticket|202| | See {{ticket|202|Bug}} for the fix. | ||
== Related templates == | == Related templates == |