Template:Entity: Difference between revisions
Jump to navigation
Jump to search
(Add margin-left) |
(Testing ifs) |
||
Line 1: | Line 1: | ||
{|class=infobox style="background:#f8f9fa; border:1px #a2a9b1 solid; float: right; margin-left: 20px;" | {|class=infobox style="background:#f8f9fa; border:1px #a2a9b1 solid; float: right; margin-left: 20px; margin-bottom: 20px;" | ||
|-align=center | |-align=center | ||
| | | | ||
Line 38: | Line 38: | ||
|style="background:white; width:200px; text-align:left;"|{{{damage}}} | |style="background:white; width:200px; text-align:left;"|{{{damage}}} | ||
|- | |- | ||
!colspan=2 style="padding-bottom:1px; padding-left:20px; padding-right:20px | {{#if:{{{event_name|}}}| | ||
| | !colspan=2 style="padding-bottom:1px; padding-left:20px; padding-right:20px"!Event | ||
!style="background:#EFEFEF; width:100px" | !- | ||
}} | |||
| | {{#if:{{{event_name|}}}| | ||
!style="background:#EFEFEF; width:100px" | !style="background:#EFEFEF; width:100px"!Event Name | ||
!style="background:white; width:200px; text-align:left;"!{{{event_name}}} | |||
!- | |||
}} | |||
{{#if:{{{lua_file|}}}| | |||
!style="background:#EFEFEF; width:100px"!File | |||
!style="background:white; width:200px; text-align:left;"!{{{lua_file}}} | |||
!- | |||
}} | |||
|} | |} | ||
|} | |} |
Revision as of 06:22, 19 June 2022
| |||||||||||||||||||
|
Example usage:
{{Entity | title1=Example | image1=Example | caption1=Example | nicknames=Example | type=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 | Content | suggested |
caption1 | caption1 | no description | String | suggested |
nicknames | nicknames | no description | String | suggested |
type | type | 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 |