User:Johan G/Template:Flightgear source
Jump to navigation
Jump to search
The following template description is not displayed when the template is inserted in an article.
Goal
This template can be when linking to source code files or directories in the FlightGear Git repository at SourceForge.
Caution Caution that might help prevent lost work, very complicated debugging etc...
Note Note that might be helpful or lead the reader in the right direction.
Usage
{{flightgear source|path|line|commit |branch= |text=}}
All parameters are optional.
- path
- Path to the directory or file after the
../src/
directory. If empty the link will point toflightgear/src/
.
- line
- Line to highlight Note Yet to implemented
- commit
- Commit to use instead of next, the latest commit to the repository. Can not be used together with the branch parameter.
- branch
- Branch to use instead of
master
, the branch which should be the most stable. Can not be used together with the commit parameter.
- text
- Link label to use instead of the path.
Examples
Examples using different options.
Known issues
Known issues and workarounds if such are known.
Related templates
- {{example}}