Template:Fgdata 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                                     = fgdata
| repo                                         = fgdata
| branch{{#if:{{{branch|}}}||NULL}}         = {{{branch}}}
| branch{{#if:{{{branch|{{{b|}}}}}}||NULL}}     = {{{branch|{{{b}}}}}}
| 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 173: Line 173:
}}
}}


}}
=== Aliased parameters ===
This is for https://sourceforge.net/p/flightgear/fgdata/ci/version/2016.1.1/~/tree/Aircraft-uiuc/Cessna172/aircraft.dat.
 
{{obr}}fgdata source
{{!}} f    = Aircraft-uiuc/Cessna172/aircraft.dat
{{!}} b    = version/2016.1.1/~
{{!}} full = 1
{{cbr}}.
 
{{fgdata source
| f    = Aircraft-uiuc/Cessna172/aircraft.dat
| b    = version/2016.1.1/~
| full = 1
}}.
 
 
=== Numbered parameters ===
This is for https://sourceforge.net/p/flightgear/fgdata/ci/version/2016.1.1/~/tree/Aircraft-uiuc/Cessna172/aircraft.dat.
 
{{obr}}fgdata source {{!}} Aircraft-uiuc/Cessna172/aircraft.dat {{!}} b = version/2016.1.1/~ {{!}} full = 1 {{cbr}}.
 
{{fgdata source | Aircraft-uiuc/Cessna172/aircraft.dat | b = version/2016.1.1/~ | full = 1}}.


</noinclude>
}}</noinclude>

Navigation menu