模板:单位横幅:修订间差异
添加的内容 删除的内容
(创建页面,内容为“<includeonly> <table style="width: 100%;text-align: center;" border="1"> <tr> <td style="width: 60px;height: 60px;">[[文件:{{{图片名}}}|60px|x60px|link=|{{{单位名}}}]]</td> <td><strong>{{{单位名}}}</strong> (<span style="color: green;">${{{价格}}}</span>)[[{{{单位地址}}}|<span class="mw-ui-button mw-ui-progressive" style="width: 60px;float: right">more</span>]]<br /><span style="display:inline-block;">{{{单位描述}}}<br />Hp: {{{Hp}}} |…”) |
无编辑摘要 |
||
(未显示2个用户的4个中间版本) | |||
第2行:
<table style="width: 100%;text-align: center;" border="1">
<tr>
<td style="width: 60px;height: 60px;">{{#if: {{{图片名|}}} | [[文件:{{{图片名|}}}|60px|x60px|link=|{{{单位名|}}}]]}}</td>
<td><strong>{{{单位名|}}}</strong> (<span style="color: green;">${{{价格|}}}</span>)[[{{{单位地址|}}}|<span class="mw-ui-button mw-ui-progressive" style="
</tr>
</table>
</includeonly>
<noinclude>▼
单位的简略信息展示(模仿游戏的单位介绍框),点击“more”按钮进入单位的具体页面<br />
<pre>{{单位横幅
|图片名=坦克_高清.png
|单位名=Tank
|价格=350
|单位地址=坦克
|单位描述=-Can attack ground only<br />-Fast but low health
|Shield=
Speed=1.10▼
|Income=
Attack=25/1.25s▼
▲|Speed=1.10
Range=130▼
▲|Attack=25/1.25s
▲|Range=130
|Upgradable=
}}
</pre>
示例:<br />
▲<noinclude>
▲{{单位横幅|
▲图片名=坦克_高清.png|
▲单位名=Tank|
▲价格=350|
▲单位地址=坦克|
▲单位描述=-Can attack ground only<br />-Fast but low health|
|Shield=
▲Hp=210|
|Income=
|Speed=1.10
|Attack=25/1.25s
|Range=130
|Upgradable=
}}
</noinclude>
|
2023年11月16日 (四) 22:04的最新版本
单位的简略信息展示(模仿游戏的单位介绍框),点击“more”按钮进入单位的具体页面
输入:
{{单位横幅 |图片名=坦克_高清.png |单位名=Tank |价格=350 |单位地址=坦克 |单位描述=-Can attack ground only<br />-Fast but low health |HP=210 |Shield= |Income= |Speed=1.10 |Attack=25/1.25s |Range=130 |Upgradable= }}
示例:
Tank ($350) -Can attack ground only -Fast but low health HP: 210 | Speed: 1.10 | Attack: 25/1.25s | Range: 130 |