Template:Gitlab zip file: Difference between revisions

Jump to navigation Jump to search
Improvements to the documentation.
(Creation of the {{gitlab zip file}} subtemplate of {{repo link}}.)
 
(Improvements to the documentation.)
Line 16: Line 16:
{{Informative template|1=
{{Informative template|1=
== Goal ==
== Goal ==
This template is for providing direct download links to zip archives of GitLab repositories.  It is a subtemplate of the master {{tl|repo link}} template designed to simplify the interface.
This template is for providing direct download links to the automatically generated zip archives of GitLab repositories.  The temporary zip file is created on demand when the link is followed. It is a subtemplate of the master {{tl|repo link}} template designed to simplify the interface.


== Usage ==
== Usage ==
Line 33: Line 33:
All parameters are optional.
All parameters are optional.


; proj: The name of the project, consisting of a grouping of repositories on the open source infrastructure.
; proj: The name of the project, consisting of a grouping of repositories on the GitLab open source infrastructure.


; repo: The name of the repository, for example '''fgdata'''.  A project registered on one of the open source infrastructures generally allows for multiple repositories under that project name.
; repo: The name of the repository.  A GitLab project allows for multiple repositories under that project name.


; branch: The git branch or tag name.  For git tags, simply append <code>/~</code> to the tag name.
; branch: The git branch or tag name.  For git tags, simply append <code>/~</code> to the tag name.
Line 48: Line 48:
: {{inote|The ''text'' parameter will override this.}}
: {{inote|The ''text'' parameter will override this.}}


; full: If set, the full URL will be shown.
; full: If set, the full URL will be shown rather than any text label.


== Examples ==
== Examples ==

Navigation menu