2,367
个编辑
更改
小
Ghostyu移动页面模板:GithubDownload至模板:Github源码下载
<onlyinclude><div style="border:1px solid #eaecf0;padding:0 8px;background-color:#f8f9fa;color:#000">
'''方式1''':点击如下链接直接下载源码的zip压缩包。
[https://github.com/iotxx/{{{repo-name}}}/archive/master.zip {{{repo-name}}}-master.zip]
'''方式2''':使用git工具或者github桌面软件clone代码。
<code>git clone https://github.com/iotxx/{{{repo-name}}}.git</code>
'''方式3''':在线阅读源码,请直接访问如下网址。
[https://github.com/iotxx/{{{repo-name}}} https://github.com/iotxx/{{{repo-name}}}]
</div></onlyinclude>
<noinclude>
<templatedata>
{
"params": {
"repo-name": {
"label": {
"en": "仓库名称"
},
"description": {
"en": "请填写要提示的内容"
},
"required": true
}
},
"paramOrder": [
"repo-name"
]
}
</templatedata>
== 用法举例 ==
<pre>
{{GithubDownload|repo-name=这里填写仓库名}}
</pre>
例如
{{GithubDownload|repo-name=nb-ek-stm32l476}}
</noinclude>
'''方式1''':点击如下链接直接下载源码的zip压缩包。
[https://github.com/iotxx/{{{repo-name}}}/archive/master.zip {{{repo-name}}}-master.zip]
'''方式2''':使用git工具或者github桌面软件clone代码。
<code>git clone https://github.com/iotxx/{{{repo-name}}}.git</code>
'''方式3''':在线阅读源码,请直接访问如下网址。
[https://github.com/iotxx/{{{repo-name}}} https://github.com/iotxx/{{{repo-name}}}]
</div></onlyinclude>
<noinclude>
<templatedata>
{
"params": {
"repo-name": {
"label": {
"en": "仓库名称"
},
"description": {
"en": "请填写要提示的内容"
},
"required": true
}
},
"paramOrder": [
"repo-name"
]
}
</templatedata>
== 用法举例 ==
<pre>
{{GithubDownload|repo-name=这里填写仓库名}}
</pre>
例如
{{GithubDownload|repo-name=nb-ek-stm32l476}}
</noinclude>