6,566
edits
(Improved 'line' parameter documentation.) |
(Added info for the 'type' parameter about using the {{* zip file}} templates instead.) |
||
Line 70: | Line 70: | ||
}}{{#ifeq: {{{type|}}} | 1 | | }}{{#ifeq: {{{type|}}} | 1 | | ||
; type: Choose between the web interface, a direct repository link, or a zip file download. This can be one of {{#if:{{{git|}}}|'''git''', '''git web''',}}{{#if:{{{svn|}}}|<nowiki></nowiki> '''svn''', '''svn web''',}} '''zip'''. The default is '''{{{default_type|git web}}}'''. | ; type: Choose between the web interface, a direct repository link, or a zip file download. This can be one of {{#if:{{{git|}}}|'''git''', '''git web''',}}{{#if:{{{svn|}}}|<nowiki></nowiki> '''svn''', '''svn web''',}} '''zip'''. See the [[#Download templates|<nowiki>{{* zip file}}</nowiki> templates]] for a simplified interface for the zip files. The default is '''{{{default_type|git web}}}'''. | ||
{{#if: {{{gh|{{{gl|}}}}}}|: {{inote|Zip archive downloads are currently only supported for {{#if:{{{gh|}}}|GitHub}}{{#if: {{{gh|{{{gl|}}}}}}|<nowiki></nowiki> and <nowiki></nowiki>}}{{#if:{{{gl|}}}|GitLab}} repositories.}}}} | {{#if: {{{gh|{{{gl|}}}}}}|: {{inote|Zip archive downloads are currently only supported for {{#if:{{{gh|}}}|GitHub}}{{#if: {{{gh|{{{gl|}}}}}}|<nowiki></nowiki> and <nowiki></nowiki>}}{{#if:{{{gl|}}}|GitLab}} repositories.}}}} | ||
Line 262: | Line 262: | ||
| git = 1 | | git = 1 | ||
}} | }} | ||
== Related templates == | |||
{{repo link/doc related}} | |||
}}</noinclude> | }}</noinclude> |