Template:Fgdata clone: Difference between revisions

Jump to navigation Jump to search
Added the 'opt' and 'post' parameters and a category.
(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      = git clone
| cmd      = git clone {{{opt|}}}
| protocol = git
| protocol = git
| type    = git
| type    = git
| proj    = fgdata
| proj    = fgdata
| post    = {{{post|}}}
| full    = 1
| full    = 1
}} }}<noinclude>
}} }}<noinclude>
Line 13: Line 14:


== Usage ==
== Usage ==
  {{obr}}'''fgdata clone'''{{cbr}}
  {{obr}}'''fgdata clone'''
{{!}} ''opt''  =
{{!}} ''post'' =
{{cbr}}
 
; opt: Any additional options to show after <code>git clone</code>.
 
; post: Any optional text to show after the URL.


== Example ==
== Example ==
  {{obr}}fgdata clone{{cbr}}
  {{obr}}fgdata clone
{{fgdata clone}}
{{!}} opt  = -v
{{!}} post = flightgear-fgdata
{{cbr}}
 
{{fgdata clone
| opt  = -v
| post = flightgear-fgdata
}}


== Related templates ==
== Related templates ==
Line 36: Line 51:
* {{tl|simgear commit}}
* {{tl|simgear commit}}
* {{tl|flightgear commit}}
* {{tl|flightgear commit}}
}}</noinclude>
}}
 
[[Category:SCM Instruction Templates]]
</noinclude>

Navigation menu