模板:Infobox monster:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
添加检测范围参数 |
|||
| (未显示3个用户的8个中间版本) | |||
| 第1行: | 第1行: | ||
<includeonly><div | <includeonly><div class="infoboxborder"> | ||
<table class="infoboxtable"> | |||
|colspan="2" | <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> | |||
<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> | |||
<tr> | |||
<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> | |||
<td class="infoboxsection">生成层数</td> | |||
<td class="infoboxdetail">{{#if:{{{levels|}}}|{{{levels}}}|不适用}}</td> | |||
</tr> | |||
|the skull cavern|skull cavern|骷髅洞穴=<nowiki /> | |the skull cavern|skull cavern|骷髅洞穴=<nowiki /> | ||
<tr> | |||
<td class="infoboxsection">生成层数</td> | |||
<td class="infoboxdetail">{{#if:{{{levels|}}}|{{{levels}}}|所有}}</td> | |||
</tr> | |||
|the farm|farm|农场 = | |the farm|farm|农场 = | ||
|#default=<nowiki /> | |#default=<nowiki /> | ||
<tr> | |||
<td class="infoboxsection">生成层数</td> | |||
<td class="infoboxdetail">{{{levels|不适用}}}</td> | |||
</tr> | |||
}} | }} | ||
<tr> | |||
<td class="infoboxsection">可否杀死</td> | |||
<td class="infoboxdetail">{{#if:{{{killable|}}}|{{{killable}}}|否}}</td> | |||
</tr> | |||
<tr> | |||
<td class="infoboxsection">检测范围</td> | |||
<td class="infoboxdetail">{{#if:{{{distance|}}}|{{{distance}}}|不适用}}</td> | |||
</tr> | |||
<tr> | |||
<td class="infoboxsection">基础血量</td> | |||
<td class="infoboxdetail no-wrap">{{#if:{{{hp|}}}|{{{hp}}}|不适用}}</td> | |||
</tr> | |||
<tr> | |||
<td class="infoboxsection">基础伤害</td> | |||
<td class="infoboxdetail">{{#if:{{{dmg|}}}|{{{dmg}}}|不适用}}</td> | |||
</tr> | |||
<tr> | |||
<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> | |||
<td class="infoboxsection">变种</td> | |||
<td class="infoboxdetail">{{{variations|}}}</td> | |||
</tr> | |||
}} | }} | ||
<tr> | |||
<td class="infoboxsection">掉落物</td> | |||
<td class="infoboxdetail"> | |||
{{{drops|不适用}}}{{#if:{{{drops|}}}|<p>如果到达过矿井底部:</p> | {{{drops|不适用}}}{{#if:{{{drops|}}}|<p>如果到达过矿井底部:</p> | ||
{{name|Diamond | {{name|Diamond|0.05%}} | ||
{{name|Prismatic Shard | {{name|Prismatic Shard|0.05%}}|}}</td> | ||
</tr> | |||
</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 |
| 变种 | |
| 掉落物 |
如果到达过矿井底部:
|
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。

