Template:Fgaddon co: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Removed the default 'post' value that comes from SourceForge's webpage suggestion.)
(Added a default 'post' value, otherwise the result is a directory called 'trunk'.)
Line 5: Line 5:
| type    = svn
| type    = svn
| repo    = fgaddon
| repo    = fgaddon
| post    = {{{post|}}}
| post    = {{{post|fgaddon}}}
| full    = 1
| full    = 1
}} }}<noinclude>
}} }}<noinclude>

Revision as of 07:53, 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  =
| post =
}}
opt
Any additional options to show after svn co.
post
Any optional text to show after the URL. This defaults to flightgear-fgaddon.

Example

{{fgaddon co
| opt  = --username <username>
| post = fgaddon
}}

svn co --username <username> https://svn.code.sf.net/p/flightgear/fgaddon/trunk fgaddon

Related templates