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

模板:Infobox monster:修订间差异

来自星露谷物语扩展百科
Sizau留言 | 贡献
m 已还原Sizau讨论)的编辑至最后由[[User:zh>Sizau|zh>Sizau]]修订的版本
Ytloe留言 | 贡献
添加检测范围参数
 
(未显示3个用户的8个中间版本)
第1行: 第1行:
<includeonly><div id="infoboxborder">
<includeonly><div class="infoboxborder">
{| id="infoboxtable"
<table class="infoboxtable">
|colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}}
<tr class="infoboxtitle">
|-
<td colspan="2" class="infoboxheader">{{{name|{{PAGENAME}}}}}</td>
|colspan="2" style="padding-bottom: 15px;"|{{#if: {{{portrait}}}|[[File:{{{portrait|Villager Placeholder.png}}}{{#if:{{{width|}}}|{{!}}{{{width|}}}}}|center|link=]]|[[File:Villager Placeholder.png|center|link=]]}}
</tr>{{#if:{{{native|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}|<tr class="infoboxtitle"><td colspan="2" class="infoboxheader">{{{native|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}</td></tr>|}}
|-
<tr>
|colspan="2" id="infoboxsection" style="text-align: center;"|信息
<td colspan="2" style="padding-bottom: 15px;">{{#if:{{{portrait}}}|[[File:{{{portrait|Villager Placeholder.png}}}{{#if:{{{width|}}}|{{!}}{{{width|}}}}}|center|link=]]|[[File:Villager Placeholder.png|center|link=]]}}</td>
|-
</tr>
|id="infoboxsection"|生成地点:
<tr>
|id="infoboxdetail"|{{#switch:{{lc:{{{location|}}}}}
<td colspan="2" class="infoboxsection">信息</td>
</tr>
<tr>
<td class="infoboxsection no-wrap">生成地点</td>
<td class="infoboxdetail">{{#switch:{{lc:{{{location|}}}}}
| the mines | mines | 矿井 = [[矿井]]  
| the mines | mines | 矿井 = [[矿井]]  
| the skull cavern | skull cavern | 骷髅洞穴 = [[骷髅洞穴]]  
| the skull cavern | skull cavern | 骷髅洞穴 = [[骷髅洞穴]]  
| the farm | farm | 农场 = [[农场]]  
| the farm | farm | 农场 = [[农场]]  
| #default = {{{location|}}}}}{{#switch:{{lc:{{{location|}}}}}
| #default = {{{location|}}}}}</td>
</tr>
{{#switch:{{lc:{{{location|}}}}}
|the mines|mines|矿井=<nowiki />
|the mines|mines|矿井=<nowiki />
{{!}}-
<tr>
{{!}}id="infoboxsection"{{!}}生成层数:
<td class="infoboxsection">生成层数</td>
{{!}}id="infoboxdetail"{{!}}{{#if:{{{levels|}}}|{{{levels}}}|不适用}}
<td class="infoboxdetail">{{#if:{{{levels|}}}|{{{levels}}}|不适用}}</td>
</tr>
|the skull cavern|skull cavern|骷髅洞穴=<nowiki />
|the skull cavern|skull cavern|骷髅洞穴=<nowiki />
{{!}}-
<tr>
{{!}}id="infoboxsection"{{!}}生成层数:
<td class="infoboxsection">生成层数</td>
{{!}}id="infoboxdetail"{{!}}{{#if:{{{levels|}}}|{{{levels}}}|所有}}
<td class="infoboxdetail">{{#if:{{{levels|}}}|{{{levels}}}|所有}}</td>
</tr>
|the farm|farm|农场 =
|the farm|farm|农场 =
|#default=<nowiki />
|#default=<nowiki />
{{!}}-
<tr>
{{!}}id="infoboxsection"{{!}}生成层数:
<td class="infoboxsection">生成层数</td>
{{!}}id="infoboxdetail"{{!}}{{{levels|不适用}}}
<td class="infoboxdetail">{{{levels|不适用}}}</td>
</tr>
}}
}}
|-
<tr>
|id="infoboxsection"|可否杀死:
<td class="infoboxsection">可否杀死</td>
|id="infoboxdetail"|{{#if:{{{killable|}}}|{{{killable}}}|否}}
<td class="infoboxdetail">{{#if:{{{killable|}}}|{{{killable}}}|否}}</td>
|-
</tr>
|id="infoboxsection"|基础HP:
<tr>
|id="infoboxdetail" class="no-wrap"|{{#if:{{{hp|}}}|{{{hp}}}|不适用}}
<td class="infoboxsection">检测范围</td>
|-
<td class="infoboxdetail">{{#if:{{{distance|}}}|{{{distance}}}|不适用}}</td>
|id="infoboxsection"|基础伤害:
</tr>
|id="infoboxdetail"|{{#if:{{{dmg|}}}|{{{dmg}}}|不适用}}
<tr>
|-
<td class="infoboxsection">基础血量</td>
|id="infoboxsection"|基础防御:
<td class="infoboxdetail no-wrap">{{#if:{{{hp|}}}|{{{hp}}}|不适用}}</td>
|id="infoboxdetail"|{{#if:{{{def|}}}|{{{def}}}|不适用}}
</tr>
|-
<tr>
|id="infoboxsection"|移速:
<td class="infoboxsection">基础伤害</td>
|id="infoboxdetail"|{{#if:{{{spd|}}}|{{{spd}}}|不适用}}
<td class="infoboxdetail">{{#if:{{{dmg|}}}|{{{dmg}}}|不适用}}</td>
|-
</tr>
|id="infoboxsection"|给予经验:
<tr>
|id="infoboxdetail"|{{#if:{{{exp|}}}|{{{exp}}}|不适用}}{{#if:{{{variations|}}}
<td class="infoboxsection">基础防御</td>
<td class="infoboxdetail">{{#if:{{{def|}}}|{{{def}}}|不适用}}</td>
</tr>
<tr>
<td class="infoboxsection">移速</td>
<td class="infoboxdetail">{{#if:{{{spd|}}}|{{{spd}}}|不适用}}</td>
</tr>
<tr>
<td class="infoboxsection">给予经验</td>
<td class="infoboxdetail">{{#if:{{{exp|}}}|{{{exp}}}|不适用}}</td>
</tr>
{{#if:{{{variations|}}}
| <nowiki/>
| <nowiki/>
  {{!}}-
<tr>
  {{!}}id="infoboxsection"{{!}}变种:
<td class="infoboxsection">变种</td>
  {{!}}id="infoboxdetail"{{!}}{{{variations|}}}
<td class="infoboxdetail">{{{variations|}}}</td>
</tr>
}}
}}
|-
<tr>
|id="infoboxsection"|掉落物:
<td class="infoboxsection">掉落物</td>
|id="infoboxdetail"|
<td class="infoboxdetail">
{{{drops|不适用}}}{{#if:{{{drops|}}}|<p>如果到达过矿井底部:</p>
{{{drops|不适用}}}{{#if:{{{drops|}}}|<p>如果到达过矿井底部:</p>
{{name|Diamond|alt=钻石|0.05%}}
{{name|Diamond|0.05%}}
{{name|Prismatic Shard|alt=五彩碎片|0.05%}}|}}
{{name|Prismatic Shard|0.05%}}|}}</td>
|-
</tr>
|}</div>{{#if:{{{debug mode|}}}||[[Category:怪物]]}}{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}}</noinclude>
</table></div>{{Mainonly|[[Category:怪物]]}}{{InfoboxSEO}}</includeonly><noinclude>
==示例==
{{Infobox monster
|portrait  = Serpent Anim.gif
|location  = Skull Cavern
|levels    = 所有
|killable  = 是
|distance  = 13
|hp        = 150
|dmg        = 23
|def        = 0
|spd        = 2
|exp        = 20
|variations = {{name|Royal Serpent}}
|drops      = {{name|Bomb|15%}}{{name|Prismatic Shard|0.1%}}{{name|Rabbit's Foot|0.8%}}{{name|Red Cabbage Seeds|0.2%|class=inline}}{{name|Spicy Eel|6%}}{{name|Void Essence|99%}}{{name|Void Essence|15%}}
|name = 飞蛇
}}
{{Documentation}}</noinclude>

2025年11月12日 (三) 19:41的最新版本

示例

飞蛇
Serpent
信息
生成地点 骷髅洞穴
生成层数 所有
可否杀死
检测范围 13
基础血量 150
基础伤害 23
基础防御 0
移速 2
给予经验 20
变种 皇家飞蛇
掉落物 炸弹(15%) 五彩碎片(0.1%) 兔子的脚(0.8%) 红叶卷心菜种子(0.2%) 香辣鳗鱼(6%) 虚空精华(99%) 虚空精华(15%)

如果到达过矿井底部:

钻石(0.05%)

五彩碎片(0.05%)
[ 查看 | 编辑 | 历史 | 刷新 ]文档页面

Description

To use this template, add the 模板:T template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses Fandom's infobox syntax.

Syntax

{{Infobox monster
 | name         = Apophis
 | en           = Apophis
 | image        = Apophis.png
 | imagecaption = 
 | hp           = 12500
 | attack       = 120
 | defense      = 30
 | crit         = 
 | exp          = 
 | location     = [[Crimson Badlands]]
 | drop         = 
[[File:Void Shard.png|24px]] [[Void Shard]] (1)

[[File:Void Essence.png|24px]] Void Essence (24)

[[File:Spicy Eel.png|24px]] Spicy Eel (1)
}}

Sample output

Apophis
信息
生成地点 Crimson Badlands
生成层数 不适用
可否杀死
检测范围 不适用
基础血量 12500
基础伤害 不适用
基础防御 不适用
移速 不适用
给予经验 不适用
掉落物 不适用
{{Infobox monster
 | name         = Apophis
 | en           = Apophis
 | image        = Apophis.png
 | imagecaption = 
 | hp           = 12500
 | attack       = 120
 | defense      = 30
 | crit         = 
 | exp          = 
 | location     = [[Crimson Badlands]]
 | drop         = 
[[File:Void Shard.png|24px]] [[Void Shard]] (1)

[[File:Void Essence.png|24px]] Void Essence (24)

[[File:Spicy Eel.png|24px]] Spicy Eel (1)
}}
[ 查看 | 编辑 | 历史 | 刷新 ]上述文档的内容来自模板:Infobox monster/doc