Template:Entity: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{is_hostile|}}}| | {{#if:{{{health|}}}{{{damage|}}}{{{is_hostile|}}}{{{is_spawnable|}}}{{{enables_curse_detector|}}}| | ||
{{!}}colspan=2 style="padding-bottom:1px; padding-left:20px; padding-right:20px"{{!}}Attributes | |||
{{!}}- | |||
}}{{#if:{{{is_hostile|}}}| | |||
{{!}}style="background:#EFEFEF; width:130px"{{!}}Hostile | {{!}}style="background:#EFEFEF; width:130px"{{!}}Hostile | ||
{{!}}style="background:white; width:200px; text-align:left;"{{!}}{{{is_hostile}}} | {{!}}style="background:white; width:200px; text-align:left;"{{!}}{{{is_hostile}}} | ||
Line 39: | Line 42: | ||
{{!}}style="background:#EFEFEF; width:130px"{{!}}Cursed | {{!}}style="background:#EFEFEF; width:130px"{{!}}Cursed | ||
{{!}}style="background:white; width:200px; text-align:left;"{{!}}{{{enables_curse_detector}}} | {{!}}style="background:white; width:200px; text-align:left;"{{!}}{{{enables_curse_detector}}} | ||
{{!}}- | {{!}}- | ||
}} | }} |
Revision as of 20:28, 12 February 2023
| |||||
|
Example usage:
{{Entity | title1=Example | image1=Example | caption1=Example | type=Example | nicknames=Example | is_hostile=Example | is_spawnable=Example | enables_curse_detector=Example | health=Example | damage=Example | event_name=Example | lua_file=Example }}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
title1 | title1 | no description | String | suggested |
image1 | image1 | no description | File | suggested |
caption1 | caption1 | no description | String | suggested |
type | type | no description
| String | suggested |
nicknames | nicknames | no description | String | suggested |
is_hostile | is_hostile | no description | Boolean | suggested |
is_spawnable | is_spawnable | no description | Boolean | suggested |
enables_curse_detector | enables_curse_detector | no description | Boolean | suggested |
health | health | no description | Number | suggested |
damage | damage | no description | Number | suggested |
event_name | event_name | no description | String | suggested |
lua_file | lua_file | no description | String | suggested |