Template:Object infobox 2: Difference between revisions
Jump to navigation
Jump to search
(Adding some constants, WIP) |
(Adding more constants, more to come) |
||
Line 3: | Line 3: | ||
{{#if: {{{image|}}} | | {{#if: {{{image|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{image}}}| | {{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{image}}}|200px|]] | ||
}} | }} | ||
|- | |- | ||
Line 10: | Line 10: | ||
|- | |- | ||
{{#if: {{{group|}}} | | {{#if: {{{group|}}} | | ||
{{!}} '''Object Group''' {{!!}} | {{!}} '''Object Group''' {{!!}} {{{group}}} | ||
{{!}}-}} | {{!}}-}} | ||
|- | |- | ||
Line 17: | Line 17: | ||
|- | |- | ||
{{#if: {{{gravity|}}} | | {{#if: {{{gravity|}}} | | ||
{{!}} '''Gravity''' {{!!}} | {{!}} '''Gravity''' {{!!}} {{{gravity}}} | ||
{{!}}-}} | {{!}}-}} | ||
|- | |- | ||
{{#if: {{{friction|}}} | | {{#if: {{{friction|}}} | | ||
{{!}} '''Friction''' {{!!}} | {{!}} '''Friction''' {{!!}} {{{friction}}} | ||
{{!}}-}} | {{!}}-}} | ||
|- | |- | ||
{{#if: {{{buoyancy|}}} | | {{#if: {{{buoyancy|}}} | | ||
{{!}} '''Buoyancy''' {{!!}} | {{!}} '''Buoyancy''' {{!!}} {{{buoyancy}}} | ||
{{!}}-}} | |||
|- | |||
{{#if:{{{interaction|}}}{{{damage|}}}{{{health|}}}{{{radius|}}}{{{height|}}}{{{offset|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Hitbox</span>''' | |||
|}} | |||
|- | |||
{{#if: {{{interaction|}}} | | |||
{{!}} '''Interaction Type''' {{!!}} {{{interaction}}} | |||
{{!}}-}} | |||
|- | |||
{{#if: {{{damage|}}} | | |||
{{!}} '''Damage''' {{!!}} {{{damage}}} | |||
{{!}}-}} | |||
|- | |||
{{#if: {{{health|}}} | | |||
{{!}} '''Health''' {{!!}} {{{health}}} | |||
{{!}}-}} | |||
|- | |||
{{#if: {{{radius|}}} | | |||
{{!}} '''Radius''' {{!!}} {{{radius}}} | |||
{{!}}-}} | |||
|- | |||
{{#if: {{{height|}}} | | |||
{{!}} '''Height''' {{!!}} {{{height}}} | |||
{{!}}-}} | |||
|- | |||
{{#if: {{{offset|}}} | | |||
{{!}} '''Offset''' {{!!}} {{{offset}}} | |||
{{!}}-}} | {{!}}-}} | ||
|- | |- | ||
|}{{#ifeq:{{NAMESPACENUMBER}}|0| | |}{{#ifeq:{{NAMESPACENUMBER}}|0| | ||
[[Category:Objects]]}}</includeonly> | [[Category:Objects]]}}</includeonly> | ||
<noinclude | <noinclude>{{Object_infobox_2 | ||
|title= | |title=Boulder | ||
|image= | |image=STROOP- Rolling Rock.png | ||
| | |group=General Actor | ||
| | |gravity=8 | ||
| | |friction=0.999 | ||
| | |buoyancy=2 | ||
| | |interaction=Hurtbox 1 | ||
| | |damage=3 | ||
| | |health=0 | ||
| | |radius=315 | ||
| | |height=525 | ||
| | |offset=0 | ||
}} | |||
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude> | |||
}} | |||