模板:Infobox building:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
SummerFleur(留言 | 贡献) m无编辑摘要 |
m 文本替换 - 替换“{{{English|{{{eng|{{English|”为“{{{English|{{{eng|{{Eng|” |
||
| 第4行: | 第4行: | ||
<td colspan="2" class="infoboxheader {{#if: {{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}|class="infoboxheader-zh"|}}">{{{name|{{PAGENAME}}}}}</td> | <td colspan="2" class="infoboxheader {{#if: {{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}|class="infoboxheader-zh"|}}">{{{name|{{PAGENAME}}}}}</td> | ||
</tr> | </tr> | ||
{{#if: {{{English|{{{eng|{{ | {{#if: {{{English|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}| | ||
<tr> | <tr> | ||
<td colspan="2" class="infoboxheader infoboxheader-en">{{{English|{{{eng|{{ | <td colspan="2" class="infoboxheader infoboxheader-en">{{{English|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}</td> | ||
</tr>|}} | </tr>|}} | ||
<tr> | <tr> | ||
2025年9月8日 (一) 20:52的版本
简介
此模板({{Infobox building}})是用于展示游戏中各种建筑的信息框,其基本用法为:
{{Infobox special item
|name = 中文名称
|eng = 英文名称
|image2 = 额外图片名称
|width = 图片的宽度
|base = 建造基础(例如大鸡舍要在鸡舍的基础上升级)
|cost = 建造需花费的金币
|materials = 建造需花费的材料
|build = 建造用时,留空代表立即完成
|animals = 可容纳的动物种类(若适用)
|capacity = 可容纳的动物数量(若适用)
|size = 建筑尺寸,此参数用于匹配对应图片名
|sizehv = 建筑尺寸,此参数用于以文本形式展示
|ability = 建筑功能(若有,没有则留空)
|internal = 建筑在代码内的 ID(若有,没有则留空)
}}
另见
普通
{{Infobox animal}}{{Infobox animal prod}}{{Infobox artifact}}{{Infobox artisan}}{{Infobox building}}{{Infobox cooking}}{{Infobox craft}}{{Infobox festival}}{{Infobox fish}}{{Infobox flower}}{{Infobox forage}}{{Infobox fruit}}{{Infobox item}}{{Infobox location}}{{Infobox monster}}{{Infobox resource}}{{Infobox seed}}{{Infobox tree}}{{Infobox vegetable}}{{Infobox villager}}{{Infobox weapon}}
特殊
{{Infobox utils}}{{InfoboxSEO}}{{Tabs}}
[ 查看 | 编辑 | 历史 | 刷新 ]上述文档的内容来自模板:Infobox building/doc。

