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