Template:Entity: Difference between revisions
Jump to navigation
Jump to search
(Trying to fix the template) |
(Select data types) |
||
Line 68: | Line 68: | ||
</pre> | </pre> | ||
<templatedata> | <templatedata> | ||
{"params":{"title1":{"suggested":true}, "image1":{"suggested":true},"caption1":{"suggested":true},"nicknames":{"suggested":true},"type":{"suggested":true},"is_hostile":{"suggested":true},"is_spawnable":{"suggested":true},"enables_curse_detector":{"suggested":true},"health":{"suggested":true},"damage":{"suggested":true},"event_name":{"suggested":true},"lua_file":{"suggested":true}},"sets":[] | { | ||
"params": { | |||
"title1": { | |||
"suggested": true, | |||
"type": "string" | |||
}, | |||
"image1": { | |||
"suggested": true, | |||
"type": "wiki-file-name" | |||
}, | |||
"caption1": { | |||
"suggested": true, | |||
"type": "string" | |||
}, | |||
"nicknames": { | |||
"suggested": true, | |||
"type": "string" | |||
}, | |||
"type": { | |||
"suggested": true, | |||
"type": "string" | |||
}, | |||
"is_hostile": { | |||
"suggested": true, | |||
"type": "boolean" | |||
}, | |||
"is_spawnable": { | |||
"suggested": true, | |||
"type": "boolean" | |||
}, | |||
"enables_curse_detector": { | |||
"suggested": true, | |||
"type": "boolean" | |||
}, | |||
"health": { | |||
"suggested": true, | |||
"type": "number" | |||
}, | |||
"damage": { | |||
"suggested": true, | |||
"type": "number" | |||
}, | |||
"event_name": { | |||
"suggested": true, | |||
"type": "string" | |||
}, | |||
"lua_file": { | |||
"suggested": true, | |||
"type": "string" | |||
} | |||
}, | |||
"sets": [] | |||
} | |||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 05:44, 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 | File | 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 |