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'.
(Creation of the {{simgear source}} repository subtemplate of {{repo link}}.)
 
m (Switch from the temporary {{project infrastructure/code}} template to {{project infrastructure}} template with the mode set to 'abbrev'.)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{repo link
{{repo link
| site                                     = {{project infrastructure|abbrev}}
| site                                         = {{project infrastructure|abbrev}}
| cmd{{#if:{{{cmd|}}}||NULL}}               = {{{cmd}}}
| cmd{{#if:{{{cmd|}}}||NULL}}                   = {{{cmd}}}
| protocol{{#if:{{{protocol|}}}||NULL}}     = {{{protocol}}}
| opt{{#if:{{{opt|}}}||NULL}}                  = {{{opt}}}
| type{{#if:{{{type|}}}||NULL}}             = {{{type}}}
| protocol{{#if:{{{protocol|}}}||NULL}}         = {{{protocol}}}
| proj                                     = flightgear
| login{{#if:{{{login|}}}||NULL}}              = {{{login}}}
| repo                                     = simgear
| type{{#if:{{{type|}}}||NULL}}                 = {{{type}}}
| user{{#if:{{{user|}}}||NULL}}             = {{{user}}}
| proj                                         = flightgear
| branch{{#if:{{{branch|}}}||NULL}}         = {{{branch}}}
| repo                                         = simgear
| path{{#if:{{{path|}}}||NULL}}             = {{{path}}}
| branch{{#if:{{{branch|{{{b|}}}}}}||NULL}}     = {{{branch|{{{b}}}}}}
| commit{{#if:{{{commit|}}}||NULL}}         = {{{commit}}}
| tag{{#if:{{{tag|}}}||NULL}}                   = {{{tag}}}
| lines{{#if:{{{line|}}}||NULL}}           = {{{line}}}
| path{{#if:{{{path|{{{f|{{{1|}}}}}}}}}||NULL}} = {{{path|{{{f|{{{1}}}}}}}}}
| view{{#if:{{{view|}}}||NULL}}             = {{{view}}}
| commit{{#if:{{{commit|{{{c|}}}}}}||NULL}}     = {{{commit|{{{c}}}}}}
| text{{#if:{{{text|}}}||NULL}}             = {{{text}}}
| line{{#if:{{{line|{{{l|}}}}}}||NULL}}         = {{{line|{{{l}}}}}}
| pre{{#if:{{{pre|}}}||NULL}}               = {{{pre}}}
| view{{#if:{{{view|{{{v|}}}}}}||NULL}}         = {{{view|{{{v}}}}}}
| post{{#if:{{{post|}}}||NULL}}             = {{{post}}}
| text{{#if:{{{text|{{{t|}}}}}}||NULL}}         = {{{text|{{{t}}}}}}
| simplepath{{#if:{{{simplepath|}}}||NULL}} = {{{simplepath}}}
| pre{{#if:{{{pre|}}}||NULL}}                   = {{{pre}}}
| full{{#if:{{{full|}}}||NULL}}             = {{{full}}}
| post{{#if:{{{post|}}}||NULL}}                 = {{{post}}}
| simplepath{{#if:{{{simplepath|}}}||NULL}}     = {{{simplepath}}}
| full{{#if:{{{full|}}}||NULL}}                 = {{{full}}}
}}<noinclude>
}}<noinclude>


{{repo link/doc specific file git
{{repo link/doc git source
| label    = SimGear
| label    = SimGear
| repo    = simgear
| repo    = simgear
Line 45: 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
  {{!}} branch = version/2016.1.1/~
  {{!}} branch = release/2016.1/~
  {{cbr}}
  {{cbr}}


{{simgear source
{{simgear source
| path  = simgear/ephemeris/ephemeris.cxx
| path  = simgear/ephemeris/ephemeris.cxx
| branch = version/2016.1.1/~
| branch = release/2016.1/~
}}
 
=== 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/~
}}
}}


Line 109: Line 122:
| path  = simgear/nasal/nasal.h
| path  = simgear/nasal/nasal.h
| commit = 1786692406214447db12b9d5af5364582af23d3b
| commit = 1786692406214447db12b9d5af5364582af23d3b
| line = 67
| line   = 67
}}
}}


=== Custom label given ===
=== Custom label given ===
  {{obr}}simgear source
  {{obr}}simgear source
  {{!}} path   = simgear/nasal/nasal.h
  {{!}} path = simgear/nasal/nasal.h
  {{!}} text   = The main Nasal header file
  {{!}} text = The main Nasal header file
  {{cbr}}
  {{cbr}}


Line 139: Line 152:
  {{!}} commit = 1786692406214447db12b9d5af5364582af23d3b
  {{!}} commit = 1786692406214447db12b9d5af5364582af23d3b
  {{!}} line  = 67
  {{!}} line  = 67
  {{!}} full = 1
  {{!}} full   = 1
  {{cbr}}
  {{cbr}}


Line 145: Line 158:
| path  = simgear/nasal/nasal.h
| path  = simgear/nasal/nasal.h
| commit = 1786692406214447db12b9d5af5364582af23d3b
| commit = 1786692406214447db12b9d5af5364582af23d3b
| line  = 67
| line   = 67
| full  = 1
}}
 
=== Aliased parameters ===
This is for https://sourceforge.net/p/flightgear/simgear/ci/version/2016.1.1/~/tree/simgear/ephemeris/ephemeris.cxx.
 
{{obr}}simgear source
  {{!}} f    = simgear/ephemeris/ephemeris.cxx
{{!}} b    = version/2016.1.1/~
{{!}} full = 1
{{cbr}}
 
{{simgear source
| f    = simgear/ephemeris/ephemeris.cxx
| b    = version/2016.1.1/~
| full = 1
| full = 1
}}
}}


}}
=== Numbered parameters ===
This is for https://sourceforge.net/p/flightgear/simgear/ci/version/2016.1.1/~/tree/simgear/ephemeris/ephemeris.cxx.
 
{{obr}}simgear source {{!}} simgear/ephemeris/ephemeris.cxx {{!}} b = version/2016.1.1/~ {{!}} full = 1 {{cbr}}
 
{{simgear source | simgear/ephemeris/ephemeris.cxx | b = version/2016.1.1/~ | full = 1 }}


</noinclude>
}}</noinclude>

Navigation menu