Template:Simgear source: 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'.
(Support for the tag parameter.)
m (Switch from the temporary {{project infrastructure/code}} template to {{project infrastructure}} template with the mode set to 'abbrev'.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{repo link
{{repo link
| site                                          = {{project infrastructure/code}}
| site                                          = {{project infrastructure|abbrev}}
| cmd{{#if:{{{cmd|}}}||NULL}}                  = {{{cmd}}}
| cmd{{#if:{{{cmd|}}}||NULL}}                  = {{{cmd}}}
| opt{{#if:{{{opt|}}}||NULL}}                  = {{{opt}}}
| opt{{#if:{{{opt|}}}||NULL}}                  = {{{opt}}}
Line 47: Line 47:
}}
}}


=== File and a tag ===
=== File and a branch ===
  {{obr}}simgear source
  {{obr}}simgear source
  {{!}} path = simgear/ephemeris/ephemeris.cxx
  {{!}} path   = simgear/ephemeris/ephemeris.cxx
  {{!}} tag  = version/2016.1.1
  {{!}} branch = release/2016.1/~
  {{cbr}}
  {{cbr}}


{{simgear source
{{simgear source
| path = simgear/ephemeris/ephemeris.cxx
| path   = simgear/ephemeris/ephemeris.cxx
| tag  = version/2016.1.1
| branch = release/2016.1/~
}}
}}


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


{{simgear source
{{simgear source
| path   = simgear/ephemeris/ephemeris.cxx
| path = simgear/ephemeris/ephemeris.cxx
| branch = version/2016.1.1/~
| tag  = version/2016.1.1/~
}}
}}


Navigation menu