Template:Enemy: Difference between revisions
Jump to navigation
Jump to search
added description parameter |
remove excess space when parameters are missing |
||
| Line 6: | Line 6: | ||
|- | |- | ||
| style=background:green; white-space:nowrap width:110px|<font color=white>Game Appearance</font> | | style=background:green; white-space:nowrap width:110px|<font color=white>Game Appearance</font> | ||
| style="border: 1px black solid;"|{{{game}}} | | style="border: 1px black solid;"|{{{game}}}{{#if: {{{romanji|}}} | <nowiki /> | ||
{{#if: {{{romanji|}}} | {{!}}- | {{!}}- | ||
{{!}} style=background:green; white-space:nowrap width:110px {{!}} <font color=white>Romanji</font> | {{!}} style=background:green; white-space:nowrap width:110px {{!}} <font color=white>Romanji</font> | ||
{{!}} style="border: 1px black solid;" {{!}} {{{romanji}}} }} | {{!}} style="border: 1px black solid;" {{!}} {{{romanji}}} }} | ||
| Line 18: | Line 18: | ||
|- | |- | ||
|style=background:green; white-space:nowrap|<font color=white>Gold Gained</font> | |style=background:green; white-space:nowrap|<font color=white>Gold Gained</font> | ||
| style="border: 1px black solid;"|{{{gold}}} | | style="border: 1px black solid;"|{{{gold}}}{{#if: {{{droppedItems|}}} | <nowiki /> | ||
{{#if: {{{droppedItems|}}} | {{!}}- | {{!}}- | ||
{{!}} style=background:green; white-space:nowrap width:110px {{!}} <font color=white>Dropped Items</font> | {{!}} style=background:green; white-space:nowrap width:110px {{!}} <font color=white>Dropped Items</font> | ||
{{!}} style="border: 1px black solid;" {{!}} {{{droppedItems}}} }} | {{!}} style="border: 1px black solid;" {{!}} {{{droppedItems}}} }}{{#if: {{{skills|}}} | <nowiki /> | ||
{{#if: {{{skills|}}} | {{!}}- | {{!}}- | ||
{{!}} style=background:green; white-space:nowrap width:110px {{!}} <font color=white>Skills</font> | {{!}} style=background:green; white-space:nowrap width:110px {{!}} <font color=white>Skills</font> | ||
{{!}} style="border: 1px black solid;" {{!}} {{{skills}}} }} | {{!}} style="border: 1px black solid;" {{!}} {{{skills}}} }}{{#if: {{{spells|}}} | <nowiki /> | ||
{{#if: {{{spells|}}} | {{!}}- | {{!}}- | ||
{{!}} style=background:green; white-space:nowrap width:110px {{!}} <font color=white>Spells</font> | {{!}} style=background:green; white-space:nowrap width:110px {{!}} <font color=white>Spells</font> | ||
{{!}} style="border: 1px black solid;" {{!}} {{{spells}}} }} | {{!}} style="border: 1px black solid;" {{!}} {{{spells}}} }}{{#if: {{{description|}}} | <nowiki /> | ||
{{#if: {{{description|}}} | {{!}}- | {{!}}- | ||
{{!}} style=background:green; white-space:nowrap width:110px {{!}} <font color=white>Description</font> | {{!}} style=background:green; white-space:nowrap width:110px {{!}} <font color=white>Description</font> | ||
{{!}} style="border: 1px black solid;" {{!}} {{{description}}} }} | {{!}} style="border: 1px black solid;" {{!}} {{{description}}} }} | ||
Revision as of 12:01, 30 January 2010
| {{{image}}} | |
| {{{name}}} | |
| Game Appearance | {{{game}}} |
| HP | {{{hp}}} |
| Exp. Gained | {{{experience}}} |
| Gold Gained | {{{gold}}} |
| Location | {{{location}}} |
{{Monster
|float=
|image=[[Image:|200px]]
|name=
|game=
|romanji=
|hp=
|experience=
|gold=
|droppedItems=
|skills=
|spells=
|description=
|location=
|}}
|
The float parameter corresponds to the CSS float property which should be 'left', 'right', or 'none'. The default is 'right'.
Note that romanji, droppedItems, skills, and spells will be hidden if not passed a value.