Template:Terragear source: Difference between revisions

Jump to navigation Jump to search
Full support for aliased and numbered parameters, with examples to demonstrate the capabilities.
(Removed the 'user' parameter.)
(Full support for aliased and numbered parameters, with examples to demonstrate the capabilities.)
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}}}
| opt{{#if:{{{opt|}}}||NULL}}               = {{{opt}}}
| opt{{#if:{{{opt|}}}||NULL}}                   = {{{opt}}}
| protocol{{#if:{{{protocol|}}}||NULL}}     = {{{protocol}}}
| protocol{{#if:{{{protocol|}}}||NULL}}         = {{{protocol}}}
| login{{#if:{{{login|}}}||NULL}}           = {{{login}}}
| login{{#if:{{{login|}}}||NULL}}               = {{{login}}}
| type{{#if:{{{type|}}}||NULL}}             = {{{type}}}
| type{{#if:{{{type|}}}||NULL}}                 = {{{type}}}
| proj                                     = flightgear
| proj                                         = flightgear
| repo                                     = terragear
| repo                                         = terragear
| branch                                   = {{{branch|master}}}
| branch                                       = {{{branch|{{{b|master}}}}}}
| path{{#if:{{{path|}}}||NULL}}             = {{{path}}}
| path{{#if:{{{path|{{{f|{{{1|}}}}}}}}}||NULL}} = {{{path|{{{f|{{{1}}}}}}}}}
| commit{{#if:{{{commit|}}}||NULL}}         = {{{commit}}}
| commit{{#if:{{{commit|{{{c|}}}}}}||NULL}}     = {{{commit|{{{c}}}}}}
| line{{#if:{{{line|}}}||NULL}}             = {{{line}}}
| line{{#if:{{{line|{{{l|}}}}}}||NULL}}         = {{{line|{{{l}}}}}}
| view{{#if:{{{view|}}}||NULL}}             = {{{view}}}
| view{{#if:{{{view|{{{v|}}}}}}||NULL}}         = {{{view|{{{v}}}}}}
| text{{#if:{{{text|}}}||NULL}}             = {{{text}}}
| text{{#if:{{{text|{{{t|}}}}}}||NULL}}         = {{{text|{{{t}}}}}}
| pre{{#if:{{{pre|}}}||NULL}}               = {{{pre}}}
| pre{{#if:{{{pre|}}}||NULL}}                   = {{{pre}}}
| post{{#if:{{{post|}}}||NULL}}             = {{{post}}}
| post{{#if:{{{post|}}}||NULL}}                 = {{{post}}}
| simplepath{{#if:{{{simplepath|}}}||NULL}} = {{{simplepath}}}
| simplepath{{#if:{{{simplepath|}}}||NULL}}     = {{{simplepath}}}
| full{{#if:{{{full|}}}||NULL}}             = {{{full}}}
| full{{#if:{{{full|}}}||NULL}}                 = {{{full}}}
}}<noinclude>
}}<noinclude>


Line 104: Line 104:
| full  = 1
| full  = 1
}}
}}
=== Aliased parameters ===
This is for https://sourceforge.net/p/flightgear/terragear/ci/genapts/tree/detect.c.
{{obr}}terragear source
{{!}} f    = detect.c
{{!}} b    = genapts
{{!}} full = 1
{{cbr}}.
{{terragear source
| f    = detect.c
| b    = genapts
| full = 1
}}.
=== Numbered parameters ===
This is for https://sourceforge.net/p/flightgear/terragear/ci/genapts/tree/detect.c.
{{obr}}terragear source {{!}} detect.c {{!}} b = genapts {{!}} full = 1 {{cbr}}.
{{terragear source | detect.c | b = genapts | full = 1 }}.


}}</noinclude>
}}</noinclude>

Navigation menu