Template:Terragear source: Difference between revisions

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                                          = terragear
| repo                                          = terragear
| branch                                        = {{{branch|{{{b|master}}}}}}
| branch                                        = {{{branch|{{{b|master}}}}}}
| 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 38: Line 39:
}}
}}


=== File and a tag ===
=== File and a branch ===
  {{obr}}terragear source
  {{obr}}terragear source
  {{!}} path  = detect.c
  {{!}} path  = detect.c
  {{!}} branch = genapts
  {{!}} branch = pre_vec3
  {{cbr}}
  {{cbr}}


{{terragear source
{{terragear source
| path  = detect.c
| path  = detect.c
| branch = genapts
| branch = pre_vec3
}}
 
=== File and a tag ===
{{obr}}terragear source
{{!}} path = detect.c
{{!}} tag  = genapts
{{cbr}}
 
{{terragear source
| path = detect.c
| tag  = genapts
}}
}}