Template:Gitlab zip file: Difference between revisions

Jump to navigation Jump to search
Full support for aliased and named parameters (and the addition of the 'name' parameter).
(Added examples for aliased and numbered parameter usage.)
(Full support for aliased and named parameters (and the addition of the 'name' parameter).)
Line 1: Line 1:
{{repo link
{{repo link
| site                                     = gitlab
| site                                             = gitlab
| protocol                                 = https
| protocol                                         = https
| type                                     = zip
| type                                             = zip
| proj{{#if:{{{proj|}}}||NULL}}             = {{{proj}}}
| user{{#if:{{{user|{{{u|}}}}}}||NULL}}            = {{{user|{{{u}}}}}}
| repo{{#if:{{{repo|}}}||NULL}}             = {{{repo}}}
| proj{{#if:{{{proj|{{{p|{{{1|}}}}}}}}}||NULL}}     = {{{proj|{{{p|{{{1}}}}}}}}}
| branch{{#if:{{{branch|}}}||NULL}}         = {{{branch}}}
| repo{{#if:{{{repo|{{{r|{{{2|}}}}}}}}}||NULL}}     = {{{repo|{{{r|{{{2}}}}}}}}}
| commit{{#if:{{{commit|}}}||NULL}}         = {{{commit}}}
| branch{{#if:{{{branch|{{{b|{{{3|}}}}}}}}}||NULL}} = {{{branch|{{{b|{{{3}}}}}}}}}
| text{{#if:{{{text|}}}||NULL}}             = {{{text}}}
| commit{{#if:{{{commit|{{{c|{{{4|}}}}}}}}}||NULL}} = {{{commit|{{{c|{{{4}}}}}}}}}
| pre{{#if:{{{pre|}}}||NULL}}               = {{{pre}}}
| text{{#if:{{{text|{{{t|{{{5|}}}}}}}}}||NULL}}     = {{{text|{{{t|{{{5}}}}}}}}}
| post{{#if:{{{post|}}}||NULL}}             = {{{post}}}
| pre{{#if:{{{pre|}}}||NULL}}                       = {{{pre}}}
| simplepath{{#if:{{{simplepath|}}}||NULL}} = {{{simplepath}}}
| post{{#if:{{{post|}}}||NULL}}                     = {{{post}}}
| full{{#if:{{{full|}}}||NULL}}             = {{{full}}}
| simplepath{{#if:{{{simplepath|}}}||NULL}}         = {{{simplepath}}}
| full{{#if:{{{full|}}}||NULL}}                     = {{{full}}}
}}<noinclude>
}}<noinclude>


Navigation menu