Template:GithubDownload/hu

From RobotX
Jump to navigation Jump to search


Template documentation

Használat

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 Template:Extension and categorizes 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 mutatt.

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 hozzáadásával törölhető:

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

Lásd még