Open main menu

Changes

Template:Github zip file

2,703 bytes added, 09:36, 27 October 2017
Creation of the {{github zip file}} template. This is adapted from the FlightGear page http://wiki.flightgear.org/index.php?title=Template:Github_zip_file&oldid=101161.
{{repo link
| site = gh
| protocol = https
| type = zip
| user{{#if:{{{user|{{{u|}}}}}}||NULL}} = {{{user|{{{u}}}}}}
| proj{{#if:{{{proj|{{{p|{{{1|}}}}}}}}}||NULL}} = {{{proj|{{{p|{{{1}}}}}}}}}
| repo{{#if:{{{repo|{{{r|{{{2|}}}}}}}}}||NULL}} = {{{repo|{{{r|{{{2}}}}}}}}}
| branch{{#if:{{{branch|{{{b|{{{3|}}}}}}}}}||NULL}} = {{{branch|{{{b|{{{3}}}}}}}}}
| tag{{#if:{{{tag|}}}||NULL}} = {{{tag}}}
| commit{{#if:{{{commit|{{{c|{{{4|}}}}}}}}}||NULL}} = {{{commit|{{{c|{{{4}}}}}}}}}
| text{{#if:{{{text|{{{t|{{{5|}}}}}}}}}||NULL}} = {{{text|{{{t|{{{5}}}}}}}}}
| pre{{#if:{{{pre|}}}||NULL}} = {{{pre}}}
| simplepath{{#if:{{{simplepath|}}}||NULL}} = {{{simplepath}}}
| full{{#if:{{{full|}}}||NULL}} = {{{full}}}
}}<noinclude>

{{repo link/doc zip file
| label = GitHub
| site = github
| default_branch_git = master
| gh = 1
| git = 1
| examples =
=== Default ===
This is a link to https://github.com/nmr-relax/relax/archive/master.zip.

{{obr}}github zip file
{{!}} proj = nmr-relax
{{!}} repo = relax
{{!}} full = 1
{{cbr}}.

{{github zip file
| proj = nmr-relax
| repo = relax
| full = 1
}}.

=== Branch ===
This is a link to https://github.com/nmr-relax/relax/archive/N_state_model.zip.

{{obr}}github zip file
{{!}} proj = nmr-relax
{{!}} repo = relax
{{!}} branch = N_state_model
{{!}} full = 1
{{cbr}}.

{{github zip file
| proj = nmr-relax
| repo = relax
| branch = N_state_model
| full = 1
}}.

=== Commit ===
This is a link to https://github.com/nmr-relax/relax/archive/58d63f8dc7b5a17e97bc260c557b2d16a3782f8a.zip.

{{obr}}github zip file
{{!}} proj = nmr-relax
{{!}} repo = relax
{{!}} commit = 58d63f8dc7b5a17e97bc260c557b2d16a3782f8a
{{!}} full = 1
{{cbr}}.

{{github zip file
| proj = nmr-relax
| repo = relax
| commit = 58d63f8dc7b5a17e97bc260c557b2d16a3782f8a
| full = 1
}}.

=== Aliased parameters ===
This is a link to https://github.com/nmr-relax/relax/archive/absolute_rdc.zip.

{{obr}}github zip file
{{!}} p = nmr-relax
{{!}} r = relax
{{!}} b = absolute_rdc
{{!}} full = 1
{{cbr}}.

{{github zip file
| p = nmr-relax
| r = relax
| b = absolute_rdc
| full = 1
}}.

=== Numbered parameters ===
This is a link to https://github.com/nmr-relax/relax/archive/0.3.zip.

{{obr}}github zip file {{!}} nmr-relax {{!}} relax {{!}} 0.3 {{!}} full = 1 {{cbr}}.

{{github zip file | nmr-relax | relax | 0.3 | full = 1 }}.

}}

</noinclude>
Trusted, Bureaucrats
4,228

edits