Template:GithubDownload
使用法
It is specifically designed to provide links for the download argument used in Template:Extension and categorises into カテゴリ: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 repository2
: to calculate the name of the repository holding the project, This defaults to the pagename that the extension is on
- 注意:スペースはアンダースコア「_」で埋める必要があります
- スナップショット
- (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 yourmaster
branch.release
- Displays a download link to the list of releases. If the value islatest
, it will point to the latest release.
使用例
{{GithubDownload|<Repository Username>|<Repository Name>}}
An example with Linus Torvalds's linux repository: ({{GithubDownload|torvalds|linux}}
)
または
{{GithubDownload|<Repository Username>|<Repository Name>|snapshot=1}}
An example with Linus Torvalds's linux repository: ({{GithubDownload|torvalds|linux|snapshot=1}}
)
スナップショットをダウンロード
GitHub:
注:
地域化の更新は
translatewiki.net からは提供されません。
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
or translatewiki=none
:
{{GithubDownload|<Repository Username>|<Repository Name>|translatewiki=1}}
GitHub: