Template:Simgear source: Difference between revisions

Jump to navigation Jump to search
Support for the tag parameter.
(Switch the 'site' parameter to use the {{project infrastructure/code}} subtemplate.)
(Support for the tag parameter.)
Line 9: Line 9:
| repo                                          = simgear
| repo                                          = simgear
| branch{{#if:{{{branch|{{{b|}}}}}}||NULL}}    = {{{branch|{{{b}}}}}}
| branch{{#if:{{{branch|{{{b|}}}}}}||NULL}}    = {{{branch|{{{b}}}}}}
| tag{{#if:{{{tag|}}}||NULL}}                  = {{{tag}}}
| path{{#if:{{{path|{{{f|{{{1|}}}}}}}}}||NULL}} = {{{path|{{{f|{{{1}}}}}}}}}
| path{{#if:{{{path|{{{f|{{{1|}}}}}}}}}||NULL}} = {{{path|{{{f|{{{1}}}}}}}}}
| commit{{#if:{{{commit|{{{c|}}}}}}||NULL}}    = {{{commit|{{{c}}}}}}
| commit{{#if:{{{commit|{{{c|}}}}}}||NULL}}    = {{{commit|{{{c}}}}}}
Line 47: Line 48:


=== File and a tag ===
=== File and a tag ===
{{obr}}simgear source
{{!}} path = simgear/ephemeris/ephemeris.cxx
{{!}} tag  = version/2016.1.1
{{cbr}}
{{simgear source
| path = simgear/ephemeris/ephemeris.cxx
| tag  = version/2016.1.1
}}
Or using the branch parameter:
  {{obr}}simgear source
  {{obr}}simgear source
  {{!}} path  = simgear/ephemeris/ephemeris.cxx
  {{!}} path  = simgear/ephemeris/ephemeris.cxx

Navigation menu