模板:Infobox building:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
删除的内容 添加的内容
SummerFleur(留言 | 贡献) m无编辑摘要 |
SummerFleur(留言 | 贡献) m 模板重构 |
||
| 第1行: | 第1行: | ||
<includeonly> |
<includeonly><div class="infoboxborder"> |
||
|Name={{{name|}}} |
|||
|Eng={{{eng|}}} |
|||
|Image={{{image|}}} |
|||
|Image2={{{image2|}}} |
|||
}}<div class="infoboxborder"> |
|||
<table class="location infoboxtable"> |
<table class="location infoboxtable"> |
||
<tr> |
<tr> |
||
<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: {{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}| |
{{#if: {{{English|{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}}}}| |
||
<tr> |
<tr> |
||
<td colspan="2" class="infoboxheader infoboxheader-en">{{{English|{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}}}}</td> |
|||
</tr> |
</tr>|}} |
||
|}} |
|||
<tr> |
<tr> |
||
<td colspan="2" style="padding-bottom: 5px; text-align: center;">[[File:{{{eng|Blank icon}}}.png|{{#if:{{{width|}}}|{{{width|}}}|}}|link=]]{{#if:{{{image2|}}}| [[File:{{{image2|}}}.png|{{#if:{{{width|}}}|{{{width|}}}|}}|link=]]|}}</td> |
|||
</tr> |
</tr> |
||
<tr> |
<tr> |
||
| 第21行: | 第15行: | ||
</tr> |
</tr> |
||
<tr> |
<tr> |
||
<td colspan="2" class="infoboxsection">信息< |
<td colspan="2" class="infoboxsection">信息</td> |
||
| ⚫ | |||
{{#if:{{{base|}}}|<nowiki /> |
|||
<tr> |
<tr> |
||
<td class="infoboxsection">建造基础</td> |
<td class="infoboxsection">建造基础</td> |
||
<td class="infoboxdetail">{{{base|}}}</td> |
<td class="infoboxdetail">{{{base|}}}</td> |
||
</tr> |
</tr> |
||
}} |
|||
| ⚫ | |||
<tr> |
<tr> |
||
<td class="infoboxsection">建造成本</td> |
<td class="infoboxsection">建造成本</td> |
||
| 第35行: | 第29行: | ||
<tr> |
<tr> |
||
<td class="infoboxsection">建筑材料</td> |
<td class="infoboxsection">建筑材料</td> |
||
<td class="infoboxdetail">{{{materials|}}}< |
<td class="infoboxdetail">{{{materials|}}}</td> |
||
| ⚫ | |||
{{#if:{{{animals|}}}|<nowiki /> |
|||
<tr> |
<tr> |
||
<td class="infoboxsection">动物</td> |
<td class="infoboxsection">动物</td> |
||
<td class="infoboxdetail">{{{animals|}}}</td> |
<td class="infoboxdetail">{{{animals|}}}</td> |
||
</tr> |
</tr> |
||
| ⚫ | |||
|}}<!-- |
|||
| ⚫ | |||
<tr> |
<tr> |
||
<td class="infoboxsection">容量</td> |
<td class="infoboxsection">容量</td> |
||
<td class="infoboxdetail">{{{capacity|}}}</td> |
<td class="infoboxdetail">{{{capacity|}}}</td> |
||
</tr> |
</tr> |
||
}} |
|||
| ⚫ | |||
<tr> |
<tr> |
||
<td class="infoboxsection">尺寸</td> |
<td class="infoboxsection">尺寸</td> |
||
<td class="infoboxdetail" style="text-align: center;"> {{#if:{{{sizehv|}}} |'''{{{sizehv|}}}'''<br />[[File:Marker{{{size|}}}.png|{{{size|}}}|center]] | [[File:Marker{{{size|}}}.png|{{{size|}}}|center]]}}< |
<td class="infoboxdetail" style="text-align: center;"> {{#if:{{{sizehv|}}} |'''{{{sizehv|}}}'''<br />[[File:Marker{{{size|}}}.png|{{{size|}}}|center]] | [[File:Marker{{{size|}}}.png|{{{size|}}}|center]]}}</td> |
||
| ⚫ | |||
{{#if:{{{ability|}}}|<nowiki /> |
|||
<tr> |
<tr> |
||
<td class="infoboxsection">功能</td> |
<td class="infoboxsection">功能</td> |
||
<td class="infoboxdetail">{{{ability|}}}</td> |
<td class="infoboxdetail">{{{ability|}}}</td> |
||
</tr> |
</tr> |
||
| ⚫ | |||
|}} |
|||
| ⚫ | |||
| ⚫ | |||
<tr> |
<tr> |
||
<td colspan="2" class="infoboxsection">高级</td> |
<td colspan="2" class="infoboxsection">高级</td> |
||
| 第67行: | 第59行: | ||
<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> |
||
{{Infobox building |
|||
|name = 祝尼魔屋 |
|name = 祝尼魔屋 |
||
| |
|eng = Junimo Hut |
||
|width = 150px |
|width = 150px |
||
|cost = {{price|20000}} |
|cost = {{price|20000}} |
||
2025年9月1日 (一) 22:48的版本
简介
此模板({{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。

