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

来自Ballance Wiki
跳转至: 导航搜索
(final version)
第20行: 第20行:
 
<table border="0">
 
<table border="0">
 
<tr>
 
<tr>
<td width="10">{{#switch:{{{status}}}  
+
<td width="10">
 +
{{#if: {{{status}}}
 +
{{#switch:{{{status}}}  
 
| 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>
 
| 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=<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>
 
| 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=<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>
 
| 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>
| <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>
+
|}}
 +
|<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: {{{language}}}
 
<td>{{#switch: {{{language}}}
 
| en={{#switch:{{{status}}} | active=Developing | pause=Development stagnation |archive=Archived app | Unknow status}}
 
| en={{#switch:{{{status}}} | active=Developing | pause=Development stagnation |archive=Archived app | Unknow status}}

2018年8月5日 (日) 18:03的版本

{{{name}}}
Basic infomation
Author {{{author}}}
Suitable for {{{suit}}}
Dependency {{{dependency}}}
Release date N/A
Project link {{{link}}}
Development status
N/A


Usage

{{Appbox
|language=

|name=
|author=
|suit=
|link=
|dependency=
|status=

|dateYear=
|dateMonth=
|dateDay=
}}

Parameter description

status

Only receive the value listed below:

  • active
  • pause
  • archive