Advent of Ascension Wiki

1.7.10版本的玩家请注意,本Mod的1.7.10版本在此wiki上正式停止支持。这也意味着,在绝大多数页面上,关于1.7.10版本的内容会被移除。如果您需要关于1.7.10版本的信息,您可以尝试翻阅相应页面在2019年2月之前的历史版本(点击页面右上角的“历史”标签可以查看所有历史版本)
如果您希望评论、询问相关信息,或是表达自己的顾虑,请至官方Discord服务器或移步社区主页

了解更多

Advent of Ascension Wiki
[已复核版本][已复核版本]
Angrydog001留言 | 贡献
(任务:取代Wikipedia非标准格式)
Angrydog001留言 | 贡献
(文本替换 - 替换“<br/>”为“<br>”)
 
第12行: 第12行:
 
{{#if: {{{type|}}}|
 
{{#if: {{{type|}}}|
 
{{!}} '''类别'''
 
{{!}} '''类别'''
{{!}} colspan="2" {{!}} {{{type}}}{{#if: {{{type2|}}} |<br/>{{{type2}}} }}{{#if: {{{type3|}}} |<br/>{{{type3}}} }}}}
+
{{!}} colspan="2" {{!}} {{{type}}}{{#if: {{{type2|}}} |<br>{{{type2}}} }}{{#if: {{{type3|}}} |<br>{{{type3}}} }}}}
 
|-
 
|-
 
{{#if: {{{Health|}}}|
 
{{#if: {{{Health|}}}|

2020年1月27日 (一) 04:29的最新版本

用法

除了Type之外的所有变量是可选的。

{{MobInfoBox
| image = imagename.png
| image2 = imagename2.png
| image2caption = Caption of the image on the bottom of the infobox
| type = Dimension
| environment = Biome
| damage = Amount of HP they damage the undefended player upon hit
| hp = Amount of HP the NPC has
| living = Sound the mob makes when it's alive
| hurt = Sound the mob makes when it gets hurt
| death = Sound the mob makes when it dies
| music = If the mob is a boss, the music that plays in the background during the fight
| title = (optional if you want a different title)
| item1|quantity1|rate1
...
| item15|quantity15|rate15
}}