Sablon:GitHubLetöltés

This page is a translated version of the page Template:GithubDownload and the translation is 80% complete.
Sablondokumentáció

Használat

Transclude the template inside an Extension page to create GitHub Git links.

It is specifically designed to provide links for the download argument used in Sablon:Kiterjesztés and categorises into Category:Extensions in GitHub version control .

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.
Pillanatképek
(A |<option>=1 paraméterrel aktiválható)
  • snapshot - A saját letöltési oldaladra mutató link, ha megadtad.
  • mastertarball - Letöltési hivatkozás a master tarballjára.
  • release - A kiadások listájára mutató letöltési link; ha értéke latest, akkor a legfrissebb verzióra mutat.

Használati példa

{{GithubDownload|<Repository Username>|<Repository Name>}} Példa Linus Torvalds Linux-tárára: ({{GithubDownload|torvalds|linux}})

vagy

{{GithubDownload|<Repository Username>|<Repository Name>|snapshot=1}} Példa Linus Torvalds Linux-tárára: ({{GithubDownload|torvalds|linux|snapshot=1}})

Alapértelmezésben egy figyelmeztetés jelenik meg, miszerint a kiterjesztés nem fordítható a translatewiki.neten. Ez a translatewiki=1 vagy translatewiki=none paraméter hozzáadásával törölhető:

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

Lásd még