Template:Gitlab zip file: Difference between revisions

Jump to navigation Jump to search
Added support for the 'tag' parameter.
(Full support for aliased and named parameters (and the addition of the 'name' parameter).)
(Added support for the 'tag' parameter.)
 
Line 7: Line 7:
| repo{{#if:{{{repo|{{{r|{{{2|}}}}}}}}}||NULL}}    = {{{repo|{{{r|{{{2}}}}}}}}}
| repo{{#if:{{{repo|{{{r|{{{2|}}}}}}}}}||NULL}}    = {{{repo|{{{r|{{{2}}}}}}}}}
| branch{{#if:{{{branch|{{{b|{{{3|}}}}}}}}}||NULL}} = {{{branch|{{{b|{{{3}}}}}}}}}
| branch{{#if:{{{branch|{{{b|{{{3|}}}}}}}}}||NULL}} = {{{branch|{{{b|{{{3}}}}}}}}}
| tag{{#if:{{{tag|}}}||NULL}}                      = {{{tag}}}
| commit{{#if:{{{commit|{{{c|{{{4|}}}}}}}}}||NULL}} = {{{commit|{{{c|{{{4}}}}}}}}}
| commit{{#if:{{{commit|{{{c|{{{4|}}}}}}}}}||NULL}} = {{{commit|{{{c|{{{4}}}}}}}}}
| text{{#if:{{{text|{{{t|{{{5|}}}}}}}}}||NULL}}    = {{{text|{{{t|{{{5}}}}}}}}}
| text{{#if:{{{text|{{{t|{{{5|}}}}}}}}}||NULL}}    = {{{text|{{{t|{{{5}}}}}}}}}
Line 66: Line 67:
| b      = FG/2016.1
| b      = FG/2016.1
| full  = 1
| full  = 1
}}
=== Zip file with tag ===
This is for https://gitlab.com/emilianh/IAR80/repository/archive.zip?ref=latest
{{obr}}gitlab zip file
{{!}} u    = emilianh
{{!}} r    = IAR80
{{!}} tag  = latest
{{!}} full = 1
{{cbr}}
{{gitlab zip file
| u    = emilianh
| r    = IAR80
| tag  = latest
| full = 1
}}
}}


Navigation menu