Template:Fgaddon aircraft source: Difference between revisions
Jump to navigation
Jump to search
(Created page with "http://sourceforge.net/p/flightgear/fgaddon/{{{2|HEAD}}}/tree/trunk/Aircraft/<!-- -->{{#if: {{{1|}}} <!-- Is an aircraft defined? --> | <!-- Yes, go to file path --><!-- --...") |
(+doc: + Example without any parameters) |
||
Line 20: | Line 20: | ||
== Examples == | == Examples == | ||
<nowiki>{{fgaddon aircraft url}}</nowiki> | |||
{{fgaddon aircraft url}} | |||
<nowiki>{{fgaddon aircraft url|737-200}}</nowiki> | <nowiki>{{fgaddon aircraft url|737-200}}</nowiki> | ||
{{fgaddon aircraft url|737-200}} | {{fgaddon aircraft url|737-200}} |
Revision as of 19:28, 29 May 2015
http://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/trunk/Aircraft/
The following template description is not displayed when the template is inserted in an article.
Goal
This template will return the URL of an FGAddon aircraft if given the name of the aircraft directory in the repository.
Usage
{{fgaddon aircraft url|aircraft|revision}}
All parameters are optional.
- aircraft
- Aircraft directory name. If empty the URL of
trunk/Aircraft/
will be returned.
- revision
- Optional revision number to use instead of
HEAD
.
Examples
{{fgaddon aircraft url}}
http://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/trunk/Aircraft/
{{fgaddon aircraft url|737-200}}
http://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/trunk/Aircraft/737-200/
{{fgaddon aircraft url|ec135|560}}
http://sourceforge.net/p/flightgear/fgaddon/560/tree/trunk/Aircraft/ec135/