Template:Github clone: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Proper handling of missing parameters for recursive transclusion.)
(Added <code> tags to the example to demonstrate a recursive transclusion whitespace issue.)
Line 19: Line 19:
This is for cloning the c172p-detailed aircraft with <code><nowiki>git clone https://github.com/Juanvvc/c172p-detailed.git</nowiki></code>.
This is for cloning the c172p-detailed aircraft with <code><nowiki>git clone https://github.com/Juanvvc/c172p-detailed.git</nowiki></code>.


  {{obr}}#tag:code {{!}} {{obr}}#tag:nowiki {{!}}
  {{obr}}#tag:code{{!}}{{obr}}github clone
  {{obr}}github clone
   {{!}} user = Juanvvc
   {{!}} user = Juanvvc
   {{!}} repo = c172p-detailed
   {{!}} repo = c172p-detailed
  {{cbr}}
  {{cbr}}{{cbr}}.
  {{cbr}} {{cbr}}.


{{#tag:code | {{#tag:nowiki |
{{#tag:code|{{github clone
  {{github clone
   | cmd  = git clone
   | cmd  = git clone
   | user = Juanvvc
   | user = Juanvvc
   | repo = c172p-detailed
   | repo = c172p-detailed
  }}
}}}}.
}} }}.


}}
}}


</noinclude>
</noinclude>

Revision as of 12:54, 2 March 2016