Template:Entity: Difference between revisions
Imafluffycat (talk | contribs) Undo revision 81 by Imafluffycat (talk) Tag: Undo |
Trying to fix the template |
||
| Line 1: | Line 1: | ||
{|class=infobox align=center width=20% style="background:#f8f9fa; border:1px #a2a9b1 solid" | |||
|-align=center | |||
| | |||
{|width=100% align=right style="background:transparent; font-size:80%" | |||
|-align=center | |||
!<font size=3>{{{title1}}}</font> | |||
|-align=center | |||
|[[File:{{{image1}}}|250px|center]] | |||
{{#if:{{{caption1}}}|''{{{caption1}}}''}} | |||
|} | |||
|- | |||
|colspan=2| | |||
{|style="background:#DCDCDC; color:black; font-size:85%; width:290px; padding:2px; text-align:center; {{roundy|3px}}; margin:auto" cellspacing=1 | |||
|- | |||
!colspan=2 style="padding-bottom:1px; padding-left:20px; padding-right:20px"|General | |||
|- | |||
!style="background:#EFEFEF; width:100px"|Nickname | |||
|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:white; width:200px; text-align:left;"|{{{is_hostile}}} | |||
|- | |||
!style="background:#EFEFEF; width:100px"|Spawnable | |||
|style="background:white; width:200px; text-align:left;"|{{{is_spawnable}}} | |||
|- | |||
!style="background:#EFEFEF; width:100px"|Cursed | |||
|style="background:white; width:200px; text-align:left;"| {{{enables_curse_detector}}} | |||
|- | |||
!colspan=2 style="padding-bottom:1px; padding-left:20px; padding-right:20px"|Attributes | |||
|- | |||
!style="background:#EFEFEF; width:100px"|Health | |||
|style="background:white; width:200px; text-align:left;"|{{{health}}} | |||
|- | |||
!style="background:#EFEFEF; width:100px"|Damage | |||
|style="background:white; width:200px; text-align:left;"|{{{damage}}} | |||
|- | |||
!colspan=2 style="padding-bottom:1px; padding-left:20px; padding-right:20px"|Event | |||
|- | |||
!style="background:#EFEFEF; width:100px"|Event Name | |||
|style="background:white; width:200px; text-align:left;"|{{{event_name}}} | |||
|- | |||
!style="background:#EFEFEF; width:100px"|File | |||
|style="background:white; width:200px; text-align:left;"|{{{lua_file}}} | |||
|- | |||
|} | |||
|} | |||
<noinclude> | <noinclude> | ||
Example usage: | Example usage: | ||
<pre> | <pre> | ||
{{Entity | {{Entity | ||
| title1=Example | |||
| image1=Example | | image1=Example | ||
| caption1=Example | | caption1=Example | ||
| nicknames=Example | | nicknames=Example | ||
| type=Example | | type=Example | ||
| is_hostile=Example | | is_hostile=Example | ||
| is_spawnable=Example | | is_spawnable=Example | ||
| enables_curse_detector=Example | | enables_curse_detector=Example | ||
| health=Example | | health=Example | ||
| damage=Example | | damage=Example | ||
| event_name=Example | | event_name=Example | ||
| lua_file=Example | | lua_file=Example | ||
}} | }} | ||
</pre> | </pre> | ||
<templatedata> | <templatedata> | ||
{"params":{" | {"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":[],"maps":{}} | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Revision as of 05:41, 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 | Unknown | suggested |
| image1 | image1 | no description | Unknown | suggested |
| caption1 | caption1 | no description | Unknown | suggested |
| nicknames | nicknames | no description | Unknown | suggested |
| type | type | no description | Unknown | suggested |
| is_hostile | is_hostile | no description | Unknown | suggested |
| is_spawnable | is_spawnable | no description | Unknown | suggested |
| enables_curse_detector | enables_curse_detector | no description | Unknown | suggested |
| health | health | no description | Unknown | suggested |
| damage | damage | no description | Unknown | suggested |
| event_name | event_name | no description | Unknown | suggested |
| lua_file | lua_file | no description | Unknown | suggested |