Template:Ticket: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Left something)
(Adding an extra parameter to allow for example "bug" to be used instead of "issue")
Line 1: Line 1:
[https://code.google.com/p/flightgear-bugs/issues/detail?id={{{1}}} issue #{{{1}}}]<noinclude>
[https://code.google.com/p/flightgear-bugs/issues/detail?id={{{1}}} {{{2|issue}}} #{{{1}}}]<noinclude>
{{Informative template|1=
{{Informative template|1=
__NOTOC__
__NOTOC__
Line 6: Line 6:


== Usage ==
== Usage ==
  <nowiki>{{</nowiki>'''issue'''<nowiki>|</nowiki>id<nowiki>}}</nowiki>
  <nowiki>{{</nowiki>'''issue'''<nowiki>|</nowiki>issue id<nowiki>|</nowiki>''alternative text''<nowiki>}}</nowiki>


The only parameter is:
* <tt>'''issue id'''</tt>: The id of the issue on the tracker, an integer number
* <tt>'''id'''</tt>: The id of the issue on the tracker, an integer number
* <tt>'''''alternative text'''''</tt>: 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>
<pre>When global "reinit" ({{issue|419}}) get resolved it might be possible to change aircraft during the session.</pre>
When global "reinit" ({{issue|419}}) get resolved it might be possible to change aircraft during the session.
When global "reinit" ({{issue|419}}) get resolved it might be possible to change aircraft during the session.
<pre>See {{issue|202|bug report}} for the fix.</pre>
See {{issue|202|bug report}} for the fix.


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

Revision as of 22:54, 29 October 2013

issue #{{{1}}}

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 issue on the FlightGear bug and feature request tracker.

Usage

{{issue|issue id|alternative text}}
  • issue id: The id of the issue on the tracker, an integer number
  • alternative text: An optional alternative text to use instead of "issue"

Examples

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.

See {{issue|202|bug report}} for the fix.

See bug report #202 for the fix.