打开/关闭菜单
331
1.7K
131
11.8K
星露谷物语扩展百科
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:Infobox building:修订间差异

来自星露谷物语扩展百科
SummerFleur留言 | 贡献
m无编辑摘要
Sizau留言 | 贡献
无编辑摘要
 
(未显示2个用户的8个中间版本)
第1行: 第1行:
<includeonly><div class="infoboxborder">
<includeonly><div class="infoboxborder">
<table class="location infoboxtable" style="max-width: 320px;">
<table class="location infoboxtable" style="max-width: 320px;">
<tr class="infoboxtitle">
<td colspan="2" class="infoboxheader">{{{name|{{PAGENAME}}}}}</td>
</tr>{{#if:{{{native|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}|<tr class="infoboxtitle"><td colspan="2" class="infoboxheader">{{{native|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}</td></tr>|}}
<tr>
<tr>
    <td colspan="2" class="infoboxheader {{#if: {{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}|class="infoboxheader-zh"|}}">{{{name|{{PAGENAME}}}}}</td>
<td colspan="2">[[File:{{{image|{{{eng|Blank icon}}}.png}}}|{{#if:{{{width|}}}|{{{width|}}}|}}|link=]]{{#if:{{{image2|}}}|&nbsp; &nbsp;[[File:{{{image2|}}}.png|{{#if:{{{width|}}}|{{{width|}}}|}}|link=]]|}}</td>
</tr>
{{#if: {{{English|{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}}}}|
<tr>
<td colspan="2" class="infoboxheader infoboxheader-en">{{{English|{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}}}}</td>
</tr>|}}
<tr>
<td colspan="2" style="padding-bottom: 5px; text-align: center;">[[File:{{{eng|Blank icon}}}.png|{{#if:{{{width|}}}|{{{width|}}}|}}|link=]]{{#if:{{{image2|}}}|&nbsp; &nbsp;[[File:{{{image2|}}}.png|{{#if:{{{width|}}}|{{{width|}}}|}}|link=]]|}}</td>
</tr>
</tr>
<tr>
<tr>
第55行: 第51行:
     <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>
</tr>
</tr>
<tr>
<tr>
     <td class="infoboxsection">{{M|内部名称}}</td>
     <td class="infoboxsection">{{~|内部名称}}</td>
     <td class="infoboxdetail consolas">{{{internal|}}}</td>
     <td class="infoboxdetail consolas">{{{internal|}}}</td>
</tr>
</tr>
}}
}}
</table></div>{{Mainonly|[[Category:农场建筑]]}}{{InfoboxSEO}}</includeonly><noinclude>
</table></div>{{Mainonly|[[Category:农场建筑]]}}{{InfoboxSEO}}</includeonly><noinclude>{{Documentation}}</noinclude>
{{Infobox building
|name      = 祝尼魔屋
|eng      = Junimo Hut
|width    = 150px
|cost      = {{price|20000}}
|materials = {{name|Stone|200}}{{name|Starfruit|9}}{{name|Fiber|100}}
|size      = 3x2
|sizehv    = 3x2
}}{{Documentation}}</noinclude>

2026年1月25日 (日) 23:31的最新版本

[ 查看 | 编辑 | 历史 | 刷新 ]文档页面

简介

此模板({{Infobox building}})是用于展示游戏中各种建筑的信息框,其基本用法为:

{{Infobox special item
|name         = 中文名称
|eng          = 英文名称
|image2       = 额外图片名称
|width        = 图片的宽度
|base         = 建造基础(例如大鸡舍要在鸡舍的基础上升级)
|cost         = 建造需花费的金币
|materials    = 建造需花费的材料
|build        = 建造用时,留空代表立即完成
|animals      = 可容纳的动物种类(若适用)
|capacity     = 可容纳的动物数量(若适用)
|size         = 建筑尺寸,此参数用于匹配对应图片名
|sizehv       = 建筑尺寸,此参数用于以文本形式展示
|ability      = 建筑功能(若有,没有则留空)
|internal     = 建筑在代码内的 ID(若有,没有则留空)
}}

另见

普通

特殊

[ 查看 | 编辑 | 历史 | 刷新 ]上述文档的内容来自模板:Infobox building/doc