模板:Infobox building:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
m 文本替换 - 替换“: {{{English|”为“:{{{English|” |
m 文本替换 - 替换“#if: {{{”为“#if:{{{” |
||
| 第2行: | 第2行: | ||
<table class="location infoboxtable" style="max-width: 320px;"> | <table class="location infoboxtable" style="max-width: 320px;"> | ||
<tr> | <tr> | ||
<td colspan="2" class="infoboxheader {{#if: {{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}|class="infoboxheader-zh"|}}">{{{name|{{PAGENAME}}}}}</td> | <td colspan="2" class="infoboxheader {{#if:{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}|class="infoboxheader-zh"|}}">{{{name|{{PAGENAME}}}}}</td> | ||
</tr> | </tr> | ||
{{#if:{{{English|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}| | {{#if:{{{English|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}| | ||
| 第55行: | 第55行: | ||
<td class="infoboxdetail">{{{ability|}}}</td> | <td class="infoboxdetail">{{{ability|}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{internal|}}}| | }}{{#if:{{{internal|}}}| | ||
<tr> | <tr> | ||
<td colspan="2" class="infoboxsection">高级</td> | <td colspan="2" class="infoboxsection">高级</td> | ||
2025年9月9日 (二) 10: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。

