Template:SVN link

From FlightGear wiki
Revision as of 20:46, 8 November 2014 by Red Leader (talk | contribs) (Usage)
Jump to navigation Jump to search

Path not set flightgear/fgaddon/HEAD

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


This template allows easy links to SVN-managed files or projects located at SourceForge.

Caution Using this will add an external link; make sure to enter the appropriate security question after hitting "Save page", or your changes will be lost!


{{SVN link
| path
| reponame
| rev
| line
| text
| pre
Mandatory path to the file.
Optional path to the repository. Defaults to flightgear/fgaddon.
Optional revision number. Defaults to HEAD.
Optional line to go to on the page.
Optional alternative label for the link text. Will override all other parameters.
Optional prefix for the links label. Defaults to flightgear/fgaddon.


{{SVN link}}

Path not set flightgear/fgaddon/HEAD

{{SVN link|path=Mirage-2000/m2000-5-set.xml|pre=$FGDATA}}


{{SVN link|path=Mirage-2000/m2000-5-set.xml|line=7|text=Mirage 2000-5's set.xml file}}

Line 7 of the Mirage 2000-5's set.xml file

Known issues

It appears that link does not work with files that are not XML. This seems to be a Sourceforge problem though.

Related templates