Template:Fgaddon co: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Transclusion of the master {{repo link}} template, and automatic generation of <nowiki> tags.)
(Added the 'opt' and 'post' parameters and a category.)
Line 1: Line 1:
{{#tag:nowiki | {{repo link
{{#tag:nowiki | {{repo link
| site    = sf
| site    = sf
| cmd      = svn co
| cmd      = svn co {{{opt|}}}
| protocol = https
| protocol = https
| type    = svn
| type    = svn
| proj    = fgaddon
| proj    = fgaddon
| post    = flightgear-fgaddon
| post    = {{{post|flightgear-fgaddon}}}
| full    = 1
| full    = 1
}} }}<noinclude>
}} }}<noinclude>
Line 14: Line 14:


== Usage ==
== Usage ==
  {{obr}}'''fgaddon co'''{{cbr}}
  {{obr}}'''fgaddon co'''
{{!}} ''opt''  =
{{!}} ''post'' =
{{cbr}}
 
; opt: Any additional options to show after <code>svn co</code>.
 
; post: Any optional text to show after the URL.  This defaults to '''flightgear-fgaddon'''.


== Example ==
== Example ==
  {{obr}}fgaddon co{{cbr}}
  {{obr}}fgaddon co
{{fgaddon co}}
{{!}} opt  = --username <username>
{{!}} post = fgaddon
{{cbr}}
 
{{fgaddon co
| opt  = --username <username>
| post = fgaddon
}}


== Related templates ==
== Related templates ==
{{repo link/doc related}}
{{repo link/doc related}}


}}</noinclude>
}}
 
[[Category:SCM Instruction Templates]]
</noinclude>

Revision as of 12:18, 25 February 2016

svn co https://svn.code.sf.net/p/fgaddon/flightgear/trunk flightgear-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/fgaddon/flightgear/trunk fgaddon

Related templates