模板:Infobox monster:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
无编辑摘要 |
|||
| 第1行: | 第1行: | ||
<includeonly><div id="infoboxborder"> | <includeonly>{{#set: | ||
|Name={{{name|{{PAGENAME}}}}} | |||
|Eng={{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}} | |||
|Portrait={{{portrait|}}} | |||
|Width={{{width|}}} | |||
|Location={{{location|}}} | |||
|Levels={{{levels|}}} | |||
|Killable={{{killable|}}} | |||
|Hp={{{hp|}}} | |||
|Dmg={{{dmg|}}} | |||
|Def={{{def|}}} | |||
|Spd={{{spd|}}} | |||
|Exp={{{exp|}}} | |||
|Variations={{{variations|}}} | |||
|Drops={{{drops|}}} | |||
}}<div id="infoboxborder"> | |||
{| id="infoboxtable" | {| id="infoboxtable" | ||
|colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}} | |colspan="2" id="infoboxheader"{{#if: {{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}| class="infoboxheaderzh"|}}|{{#if:{{{name|}}} | {{{name|}}} | {{PAGENAME}} }} | ||
{{#if: {{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}| | |||
<tr> | |||
<td colspan="2" id="infoboxheader" class="infoboxheaderen">{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}</td> | |||
</tr> | |||
| | |||
}} | |||
|- | |- | ||
|colspan="2" style="padding-bottom: 15px;"|{{#if: {{{portrait}}}|[[File:{{{portrait|Villager Placeholder.png}}}{{#if:{{{width|}}}|{{!}}{{{width|}}}}}|center|link=]]|[[File:Villager Placeholder.png|center|link=]]}} | |colspan="2" style="padding-bottom: 15px;"|{{#if: {{{portrait}}}|[[File:{{{portrait|Villager Placeholder.png}}}{{#if:{{{width|}}}|{{!}}{{{width|}}}}}|center|link=]]|[[File:Villager Placeholder.png|center|link=]]}} | ||
| 第7行: | 第28行: | ||
|colspan="2" id="infoboxsection" style="text-align: center;"|信息 | |colspan="2" id="infoboxsection" style="text-align: center;"|信息 | ||
|- | |- | ||
|id="infoboxsection"| | |id="infoboxsection"|生成地点 | ||
|id="infoboxdetail"|{{#switch:{{lc:{{{location|}}}}} | |id="infoboxdetail"|{{#switch:{{lc:{{{location|}}}}} | ||
| the mines | mines | 矿井 = [[矿井]] | | the mines | mines | 矿井 = [[矿井]] | ||
| 第15行: | 第36行: | ||
|the mines|mines|矿井=<nowiki /> | |the mines|mines|矿井=<nowiki /> | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}} | {{!}}id="infoboxsection"{{!}}生成层数 | ||
{{!}}id="infoboxdetail"{{!}}{{#if:{{{levels|}}}|{{{levels}}}|不适用}} | {{!}}id="infoboxdetail"{{!}}{{#if:{{{levels|}}}|{{{levels}}}|不适用}} | ||
|the skull cavern|skull cavern|骷髅洞穴=<nowiki /> | |the skull cavern|skull cavern|骷髅洞穴=<nowiki /> | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}} | {{!}}id="infoboxsection"{{!}}生成层数 | ||
{{!}}id="infoboxdetail"{{!}}{{#if:{{{levels|}}}|{{{levels}}}|所有}} | {{!}}id="infoboxdetail"{{!}}{{#if:{{{levels|}}}|{{{levels}}}|所有}} | ||
|the farm|farm|农场 = | |the farm|farm|农场 = | ||
|#default=<nowiki /> | |#default=<nowiki /> | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}} | {{!}}id="infoboxsection"{{!}}生成层数 | ||
{{!}}id="infoboxdetail"{{!}}{{{levels|不适用}}} | {{!}}id="infoboxdetail"{{!}}{{{levels|不适用}}} | ||
}} | }} | ||
|- | |- | ||
|id="infoboxsection"| | |id="infoboxsection"|可否杀死 | ||
|id="infoboxdetail"|{{#if:{{{killable|}}}|{{{killable}}}|否}} | |id="infoboxdetail"|{{#if:{{{killable|}}}|{{{killable}}}|否}} | ||
|- | |- | ||
|id="infoboxsection"| | |id="infoboxsection"|基础血量 | ||
|id="infoboxdetail" class="no-wrap"|{{#if:{{{hp|}}}|{{{hp}}}|不适用}} | |id="infoboxdetail" class="no-wrap"|{{#if:{{{hp|}}}|{{{hp}}}|不适用}} | ||
|- | |- | ||
|id="infoboxsection"| | |id="infoboxsection"|基础伤害 | ||
|id="infoboxdetail"|{{#if:{{{dmg|}}}|{{{dmg}}}|不适用}} | |id="infoboxdetail"|{{#if:{{{dmg|}}}|{{{dmg}}}|不适用}} | ||
|- | |- | ||
|id="infoboxsection"| | |id="infoboxsection"|基础防御 | ||
|id="infoboxdetail"|{{#if:{{{def|}}}|{{{def}}}|不适用}} | |id="infoboxdetail"|{{#if:{{{def|}}}|{{{def}}}|不适用}} | ||
|- | |- | ||
|id="infoboxsection"| | |id="infoboxsection"|移速 | ||
|id="infoboxdetail"|{{#if:{{{spd|}}}|{{{spd}}}|不适用}} | |id="infoboxdetail"|{{#if:{{{spd|}}}|{{{spd}}}|不适用}} | ||
|- | |- | ||
|id="infoboxsection"| | |id="infoboxsection"|给予经验 | ||
|id="infoboxdetail"|{{#if:{{{exp|}}}|{{{exp}}}|不适用}}{{#if:{{{variations|}}} | |id="infoboxdetail"|{{#if:{{{exp|}}}|{{{exp}}}|不适用}}{{#if:{{{variations|}}} | ||
| <nowiki/> | | <nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}} | {{!}}id="infoboxsection"{{!}}变种 | ||
{{!}}id="infoboxdetail"{{!}}{{{variations|}}} | {{!}}id="infoboxdetail"{{!}}{{{variations|}}} | ||
}} | }} | ||
|- | |- | ||
|id="infoboxsection"| | |id="infoboxsection"|掉落物 | ||
|id="infoboxdetail"| | |id="infoboxdetail"| | ||
{{{drops|不适用}}}{{#if:{{{drops|}}}|<p>如果到达过矿井底部:</p> | {{{drops|不适用}}}{{#if:{{{drops|}}}|<p>如果到达过矿井底部:</p> | ||
| 第57行: | 第78行: | ||
{{name|Prismatic Shard|alt=五彩碎片|0.05%}}|}} | {{name|Prismatic Shard|alt=五彩碎片|0.05%}}|}} | ||
|- | |- | ||
|}</div>{{#if:{{{debug mode|}}}||[[Category:怪物]]}}{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}}</noinclude> | |}</div>{{#if:{{{debug mode|}}}||[[Category:怪物]]}}{{InfoboxSEO}}</includeonly><noinclude> | ||
==示例== | |||
{{Infobox monster | |||
|portrait = Serpent Anim.gif | |||
|location = Skull Cavern | |||
|levels = 所有 | |||
|killable = 是 | |||
|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 = 飞蛇 | |||
}} | |||
{{Englishdoc}}</noinclude> | |||
