Template:Entity: Difference between revisions

From gm_construct 13 beta
Jump to navigation Jump to search
(Fix Attributes section name)
No edit summary
Line 14: Line 14:
|-
|-
!colspan=2 style="padding-bottom:1px; padding-left:20px; padding-right:20px"|General
!colspan=2 style="padding-bottom:1px; padding-left:20px; padding-right:20px"|General
|-
!style="background:#EFEFEF; width:100px"|Type
|style="background:white; width:200px; text-align:left;"|{{{type}}}
|-
|-
!style="background:#EFEFEF; width:100px"|Nicknames
!style="background:#EFEFEF; width:100px"|Nicknames
|style="background:white; width:200px; text-align:left;"|{{{nicknames}}}
|style="background:white; width:200px; text-align:left;"|{{{nicknames}}}
|-
!style="background:#EFEFEF; width:100px"|Type
|style="background:white; width:200px; text-align:left;"|{{{type}}}
|-
|-
!style="background:#EFEFEF; width:100px"|Hostile
!style="background:#EFEFEF; width:100px"|Hostile
Line 68: Line 68:
   | image1=Example
   | image1=Example
   | caption1=Example
   | caption1=Example
  | type=Example
   | nicknames=Example
   | nicknames=Example
  | type=Example
   | is_hostile=Example
   | is_hostile=Example
   | is_spawnable=Example
   | is_spawnable=Example
Line 93: Line 93:
"suggested": true,
"suggested": true,
"type": "string"
"type": "string"
},
"type": {
"suggested": true,
"type": "string",
"default": "Entity",
"autovalue": "Entity"
},
},
"nicknames": {
"nicknames": {
"suggested": true,
"suggested": true,
"type": "string"
"type": "string"
},
"type": {
"suggested": true,
"type": "string",
"default": "Entity"
},
},
"is_hostile": {
"is_hostile": {

Revision as of 06:23, 22 June 2022

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

{{{caption1}}}

General
Type {{{type}}}
Nicknames {{{nicknames}}}
Hostile {{{is_hostile}}}
Spawnable {{{is_spawnable}}}
Cursed {{{enables_curse_detector}}}


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