Template:Entity: Difference between revisions

From gm_construct 13 beta
Jump to navigation Jump to search
(Testing)
(Improve style)
Line 1: Line 1:
{|class=infobox align=center width=20% style="background:#f8f9fa; border:1px #a2a9b1 solid"
{|class=infobox style="background:#f8f9fa; border:1px #a2a9b1 solid; float: right;"
|-align=center
|-align=center
|
|
Line 11: Line 11:
|-
|-
|colspan=2|  
|colspan=2|  
{|style="background:#DCDCDC; color:black; font-size:85%; width:290px; padding:2px; text-align:center; {{roundy|3px}}; margin:auto" cellspacing=1
{|style="background:#DCDCDC; color:black; font-size:85%; width:290px; padding:2px; text-align:center; margin:auto" cellspacing=1
|-
|-
!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
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"|Event
!colspan=2 style="padding-bottom:1px; padding-left:20px; padding-right:20px;"|Event
|-
|-
!style="background:#EFEFEF; width:100px"|Event Name
!style="background:#EFEFEF; width:100px"|Event Name

Revision as of 05:53, 19 June 2022

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

{{{caption1}}}

General
Nickname {{{nicknames}}}
Type {{{type}}}
Hostile {{{is_hostile}}}
Spawnable {{{is_spawnable}}}
Cursed {{{enables_curse_detector}}}
Attributes
Health {{{health}}}
Damage {{{damage}}}
Event
Event Name {{{event_name}}}
File {{{lua_file}}}


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.

Template parameters

ParameterDescriptionTypeStatus
title1title1

no description

Stringsuggested
image1image1

no description

Contentsuggested
caption1caption1

no description

Stringsuggested
nicknamesnicknames

no description

Stringsuggested
typetype

no description

Default
Entity
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