模板:单位横幅

AbAb留言 | 贡献2022年12月20日 (二) 17:31的版本 (该模板用了较多if函数,不知道对性能影响多大)


单位的简略信息展示(模仿游戏的单位介绍框),点击“more”按钮进入单位的具体页面 (该模板用了较多if函数,不知道对性能影响多大)
参数:

图片名=坦克_高清.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 Tank ($350)more
-Can attack ground only
-Fast but low health
HP: 210 | Speed: 1.10 | Attack: 25/1.25s | Range: 130