Template:Gitlab source: Difference between revisions

Jump to navigation Jump to search
Support for the tag parameter.
(Fix for the 'git clone' example - the 'type' parameter needs to be set to 'git'.)
(Support for the tag parameter.)
Line 9: Line 9:
| 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}}}
| path{{#if:{{{path|{{{f|{{{4|}}}}}}}}}||NULL}}    = {{{path|{{{f|{{{4}}}}}}}}}
| path{{#if:{{{path|{{{f|{{{4|}}}}}}}}}||NULL}}    = {{{path|{{{f|{{{4}}}}}}}}}
| commit{{#if:{{{commit|{{{c|{{{5|}}}}}}}}}||NULL}} = {{{commit|{{{c|{{{5}}}}}}}}}
| commit{{#if:{{{commit|{{{c|{{{5|}}}}}}}}}||NULL}} = {{{commit|{{{c|{{{5}}}}}}}}}

Navigation menu