Template:Fgaddon co: Difference between revisions
Jump to navigation
Jump to search
m (Leading space removal.) |
(Added an example for checking out as a user.) |
||
Line 50: | Line 50: | ||
| path = Aircraft/V22-Osprey | | path = Aircraft/V22-Osprey | ||
| post = | | post = | ||
}} | |||
=== Checkout of aircraft as a user === | |||
{{obr}}fgaddon co | |||
{{!}} login = <username> | |||
{{!}} path = Aircraft/wrightFlyer1903 | |||
{{!}} full = 1 | |||
{{cbr}} | |||
{{fgaddon co | |||
| login = <username> | |||
| path = Aircraft/wrightFlyer1903 | |||
| full = 1 | |||
}} | }} | ||
Revision as of 18:58, 26 February 2016
svn co https://svn.code.sf.net/p/flightgear/fgaddon/trunk fgaddon
The following template description is not displayed when the template is inserted in an article.
Goal
To provide a consistent representation of the command to checkout the FGAddon subversion repository.
Usage
{{fgaddon co | opt = | branch = | path = | post = }}
- opt
- Any additional options to show after
svn co
.
- post
- Any optional text to show after the URL. This defaults to flightgear-fgaddon.
Examples
Checkout of trunk with user name
{{fgaddon co | opt = --username <username> | post = fgaddon }}
svn co --username <username> https://svn.code.sf.net/p/flightgear/fgaddon/trunk fgaddon
Checkout of aircraft from a branch
{{fgaddon co | branch = branches/release-3.4.0 | path = Aircraft/V22-Osprey | post = }}
svn co https://svn.code.sf.net/p/flightgear/fgaddon/branches/release-3.4.0/Aircraft/V22-Osprey
Checkout of aircraft as a user
{{fgaddon co | login = <username> | path = Aircraft/wrightFlyer1903 | full = 1 }}
svn co https://svn.code.sf.net/p/flightgear/fgaddon/trunk/Aircraft/wrightFlyer1903 fgaddon
Related templates
|