Template:Entity: Difference between revisions

From gm_construct 13 beta
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 7: Line 7:
|-align=center
|-align=center
|[[File:{{{image1}}}|250px|center]]
|[[File:{{{image1}}}|250px|center]]
{{#if:{{{caption1}}}|
|-align=center
   {{!}}style="width:250px;"|{{!}}{{{caption1}}}
{{#if:{{{caption1|}}}|
   {{!}}style="width:250px"{{!}}{{{caption1}}}
}}
}}
|}
|}
Line 23: Line 24:
   {{!}}style="background:#EFEFEF; width:130px"{{!}}Nicknames
   {{!}}style="background:#EFEFEF; width:130px"{{!}}Nicknames
   {{!}}style="background:white; width:200px; text-align:left;"{{!}}{{{nicknames}}}
   {{!}}style="background:white; width:200px; text-align:left;"{{!}}{{{nicknames}}}
  {{!}}-
}}
{{#if:{{{health|}}}{{{damage|}}}{{{is_hostile|}}}{{{is_spawnable|}}}{{{enables_curse_detector|}}}|
  !colspan=2 style="padding-bottom:1px; padding-left:20px; padding-right:20px"{{!}}Attributes
   {{!}}-
   {{!}}-
}}
}}
Line 38: Line 43:
   {{!}}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}}}
  {{!}}-
}}
{{#if:{{{health|}}}{{{damage|}}}|
  {{!}}colspan=2 style="padding-bottom:1px; padding-left:20px; padding-right:20px"{{!}}Attributes
   {{!}}-
   {{!}}-
}}
}}

Latest revision as of 20:34, 12 February 2023

{{{title1}}}
[[File:{{{image1}}}|250px|center]]
General
Type {{{type}}}


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.

Template parameters

ParameterDescriptionTypeStatus
title1title1

no description

Stringsuggested
image1image1

no description

Filesuggested
caption1caption1

no description

Stringsuggested
typetype

no description

Default
Entity
Auto value
Entity
Stringsuggested
nicknamesnicknames

no description

Stringsuggested
is_hostileis_hostile

no description

Booleansuggested
is_spawnableis_spawnable

no description

Booleansuggested
enables_curse_detectorenables_curse_detector

no description

Booleansuggested
healthhealth

no description

Numbersuggested
damagedamage

no description

Numbersuggested
event_nameevent_name

no description

Stringsuggested
lua_filelua_file

no description

Stringsuggested