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

来自Ballance Wiki
跳转至: 导航搜索
 
(未显示2个用户的10个中间版本)
第4行: 第4行:
  
 
|above={{{name}}}
 
|above={{{name}}}
|{{#if: {{{screenshot}}}
+
|image=
|image=[[File:{{{screenshot}}}|200px]]
+
{{#if: {{{screenshot|}}}
}}
+
|[[File:{{{screenshot}}}|200px]]|}}
|{{#if: {{{screenshotDesc}}}
+
|caption=
|caption={{{screenshotDesc}}}
+
{{#if: {{{screenshotDesc|}}}
}}
+
|{{{screenshotDesc}}}|}}
  
||||header1=基本信息
+
|header1=基本信息
 
|label2=作者
 
|label2=作者
 
|data2={{{author}}}
 
|data2={{{author}}}
第20行: 第20行:
 
|label5=发布时间
 
|label5=发布时间
 
|data5={{{date}}}
 
|data5={{{date}}}
|label6=项目地址
+
|label6=最终版本
|data6={{#if:{{{link}}}|{{{link}}}| 无  }}
+
|data6={{{latest|}}}
|label7=开发状态
+
|label7=项目地址
|data7=
+
|data7={{#if:{{{link}}}|{{{link}}}| 无  }}
<table border="0">
+
|label8=开发状态
<tr>
+
|data8={{#switch:{{{status}}}  
<td width="10">
+
| active={{Dot|1em|green|1px solid #000}} 活跃开发中
{{#if:{{{status}}}|
+
| pause={{Dot|1em|yellow|1px solid #000}} 开发停滞
{{#switch:{{{status}}}  
+
| archive={{Dot|1em|red|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>
+
| {{Dot|1em|gray|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>
+
|label9=授权方式
| 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>
+
|data9={{{license|}}}
|}}
+
}}<noinclude>
|<div style="border:1px solid #000;background-color:gray;width: 10px;height: 10px;border-radius: 50%;-moz-border-radius: 50%;-webkit-border-radius: 50%;"></div> }}</td>
 
<td>{{#switch:{{{status}}} | active=活跃开发中 | pause=开发停滞 |archive=已停止开发 | 未知状态}}</td>
 
</tr>
 
</table>
 
 
 
}}
 
 
 
<noinclude>
 
  
 
== Usage ==
 
== Usage ==
第55行: 第47行:
 
|status=
 
|status=
 
|date=
 
|date=
 +
|latest=
 +
|license=
 
}}
 
}}
 
</pre>
 
</pre>
第71行: 第65行:
  
 
你只需要输入文件名即可,模板会自动强制大小  
 
你只需要输入文件名即可,模板会自动强制大小  
 +
 +
如果你选择忽略这个参数,图片将不会展示
  
 
</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

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

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