From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Template:GithubDownload and the translation is 19% complete.

Other languages:
English • ‎dansk • ‎español • ‎français • ‎polski • ‎português do Brasil • ‎русский • ‎فارسی • ‎中文 • ‎日本語
Documentation icon Template documentation


Transclude the template inside an Extension article to create GitHub Git links. It is specifically designed to provide links for the download argument used in Plantilla:Extensión and categorizes into Categoría:Extensiones en el control de versiones de GitHub .

This template takes two unnamed parameters to form the links, these are:

  • 1 (also as: user): To form the username holding the repository
  • 2: to calculate the name of the repository holding the project, This defaults to the pagename that the extension is on
  • Note: Spaces must be padded with '_' underscores.
(Activate by using |<option>=1)
  • snapshot: Displays a link to your downloads page if you have added any.
  • mastertarball: Displays a download link to a tarball of your master branch.

Ejemplo de uso

{{GithubDownload|<Repository Username>|<Repository Name>}} A example with Linus Torvalds's linux repository: ({{GithubDownload|torvalds|linux}})


{{GithubDownload|<Repository Username>|<Repository Name>|snapshot=1}} A example with Linus Torvalds's linux repository: ({{GithubDownload|torvalds|linux|snapshot=1}})

By default a note is added that the extension is not translatable in translatewiki.net. It can be removed by adding the parameter translatewiki=1:

{{GithubDownload|<Repository Username>|<Repository Name>|translatewiki=1}}

Véase también