“模板:Appbox/zh”的版本间的差异

来自Ballance Wiki
跳转至: 导航搜索
 
(未显示2个用户的16个中间版本)
第4行: 第4行:
  
 
|above={{{name}}}
 
|above={{{name}}}
 +
|image=
 +
{{#if: {{{screenshot|}}}
 +
|[[File:{{{screenshot}}}|200px]]|}}
 +
|caption=
 +
{{#if: {{{screenshotDesc|}}}
 +
|{{{screenshotDesc}}}|}}
  
|header1={{#switch: {{{language}}} | en=Basic infomation | zh=基本信息 | Basic infomation}}
+
|header1=基本信息
|label2={{#switch: {{{language}}} | en=Author | zh=作者 | Author}}
+
|label2=作者
 
|data2={{{author}}}
 
|data2={{{author}}}
|label3={{#switch: {{{language}}} | en=Suitable for | zh=适用于 | Suitable for}}
+
|label3=适用于
 
|data3={{{suit}}}
 
|data3={{{suit}}}
|label4={{#switch: {{{language}}} | en=Dependency | zh=依赖 | Dependency}}
+
|label4=依赖
|data4={{#if:{{{dependency}}}|{{{dependency}}}| {{#switch: {{{language}}} | en=N/A | zh=| N/A}}  }}
+
|data4={{#if:{{{dependency}}}|{{{dependency}}}| 无 }}
|label5={{#switch: {{{language}}} | en=Release date | zh=发布时间 | Release date}}
+
|label5=发布时间
|data5={{DateConverter|language={{{language}}}|year={{{dateYear}}}|month={{{dateMonth}}}|day={{{dateDay}}}}}
+
|data5={{{date}}}
|label6={{#switch: {{{language}}} | en=Project link | zh=项目地址 | Project link}}
+
|label6=最终版本
|data6={{#if:{{{link}}}|{{{link}}}| {{#switch: {{{language}}} | en=N/A | zh=| N/A}} }}
+
|data6={{{latest|}}}
|label7={{#switch: {{{language}}} | en=Development status | zh=开发状态 | Development status}}
+
|label7=项目地址
|data7=
+
|data7={{#if:{{{link}}}|{{{link}}}| 无  }}
<table border="0">
+
|label8=开发状态
<tr>
+
|data8={{#switch:{{{status}}}  
<td width="10">{{#switch:{{{status}}}  
+
| active={{Dot|1em|green|1px solid #000}} 活跃开发中
| active= <div style="border:1px solid #000;background-color:green;width: 10px;height: 10px;border-radius: 50%;-moz-border-radius: 50%;-webkit-border-radius: 50%;"></div>
+
| pause={{Dot|1em|yellow|1px solid #000}} 开发停滞
| pause=<div style="border:1px solid #000;background-color:yellow;width: 10px;height: 10px;border-radius: 50%;-moz-border-radius: 50%;-webkit-border-radius: 50%;"></div>
+
| archive={{Dot|1em|red|1px solid #000}} 已停止开发
| archive=<div style="border:1px solid #000;background-color:red;width: 10px;height: 10px;border-radius: 50%;-moz-border-radius: 50%;-webkit-border-radius: 50%;"></div>
+
| {{Dot|1em|gray|1px solid #000}} 未知状态}}
| <div style="border:1px solid #000;background-color:#7f7f7f;width: 10px;height: 10px;border-radius: 50%;-moz-border-radius: 50%;-webkit-border-radius: 50%;"></div> }}</td>
+
|label9=授权方式
<td>{{#switch: {{{language}}}
+
|data9={{{license|}}}
| en={{#switch:{{{status}}} | active=Developing | pause=Development stagnation |archive=Archived app | Unknow status}}
+
}}<noinclude>
| zh={{#switch:{{{status}}} | active=开发中 | pause=开发停滞 |archive=已停止开发 | 未知状态}}
 
|N/A}}</td>
 
</tr>
 
</table>
 
 
 
}}
 
 
 
<noinclude>
 
  
 
== Usage ==
 
== Usage ==
第40行: 第38行:
 
<pre>
 
<pre>
 
{{Appbox
 
{{Appbox
|language=
 
 
 
|name=
 
|name=
 +
|screenshot=
 +
|screenshotDesc=
 
|author=
 
|author=
 
|suit=
 
|suit=
第48行: 第46行:
 
|dependency=
 
|dependency=
 
|status=
 
|status=
 
+
|date=
|dateYear=
+
|latest=
|dateMonth=
+
|license=
|dateDay=
 
 
}}
 
}}
 
</pre>
 
</pre>
第59行: 第56行:
 
=== status ===
 
=== status ===
  
Only receive the value listed below:
+
只接受下列各数值
  
 
* active
 
* active
 
* pause
 
* pause
 
* archive
 
* archive
 +
 +
=== screenshot ===
 +
 +
你只需要输入文件名即可,模板会自动强制大小
 +
 +
如果你选择忽略这个参数,图片将不会展示
  
 
</noinclude>
 
</noinclude>

2020年9月21日 (一) 22:46的最新版本

{{{name}}}
基本信息
作者 {{{author}}}
适用于 {{{suit}}}
依赖 {{{dependency}}}
发布时间 {{{date}}}
项目地址 {{{link}}}
开发状态 未知状态

Usage

{{Appbox
|name=
|screenshot=
|screenshotDesc=
|author=
|suit=
|link=
|dependency=
|status=
|date=
|latest=
|license=
}}

Parameter description

status

只接受下列各数值

  • active
  • pause
  • archive

screenshot

你只需要输入文件名即可,模板会自动强制大小

如果你选择忽略这个参数,图片将不会展示