Template:Fgdata clone: Difference between revisions

Jump to navigation Jump to search
m
Switch from the temporary {{project infrastructure/code}} template to {{project infrastructure}} template with the mode set to 'abbrev'.
(Added the 'opt' and 'post' parameters and a category.)
m (Switch from the temporary {{project infrastructure/code}} template to {{project infrastructure}} template with the mode set to 'abbrev'.)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#tag:nowiki | {{repo link
{{#tag:nowiki|{{repo link
| site     = sf
| site                         = {{project infrastructure|abbrev}}
| cmd     = git clone {{{opt|}}}
| cmd                           = git clone
| protocol = git
| opt{{#if:{{{opt|}}}||NULL}}  = {{{opt}}}
| type     = git
| protocol                     = git
| proj    = fgdata
| type                         = git
| post     = {{{post|}}}
| repo                          = fgdata
| full     = 1
| post{{#if:{{{post|}}}||NULL}} = {{{post}}}
}} }}<noinclude>
| full                         = 1
{{Informative template|1=
}}}}<noinclude>
__NOTOC__
== Goal ==
To provide a consistent representation of the command to clone the FGData git repository.


== Usage ==
{{repo link/doc git clone
{{obr}}'''fgdata clone'''
| label = FGData
{{!}} ''opt''  =
| repo = fgdata
{{!}} ''post'' =
| post = fgdata
{{cbr}}
 
; opt: Any additional options to show after <code>git clone</code>.
 
; post: Any optional text to show after the URL.
 
== Example ==
{{obr}}fgdata clone
{{!}} opt = -v
{{!}} post = flightgear-fgdata
{{cbr}}
 
{{fgdata clone
| opt = -v
| post = flightgear-fgdata
}}
 
== Related templates ==
=== Clone or checkout templates ===
* {{tl|flightgear clone}}
* {{tl|simgear clone}}
* {{tl|fgaddon co}}
 
=== Source link templates ===
* {{tl|repo link}}
* {{tl|fgaddon url}}
* {{tl|flightgear file}}
* {{tl|simgear file}}
 
=== Commit link templates ===
* {{tl|fgaddon revision}}
* {{tl|fgdata commit}}
* {{tl|simgear commit}}
* {{tl|flightgear commit}}
}}
}}


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

Navigation menu