Template:Enemy: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
No edit summary
updated to support hiding of romanji, dropped items, skills, and spells
Line 7: Line 7:
| 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|}}} | {{!}}-
| 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}}} }}
|-  
|-  
| style=background:green; white-space:nowrap width:110px|<font color=white>HP</font>
| style=background:green; white-space:nowrap width:110px|<font color=white>HP</font>
Line 19: Line 19:
|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|}}} | {{!}}-
|style=background:green; white-space:nowrap|<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|}}} | {{!}}-
|style=background:green; white-space:nowrap|<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|}}} | {{!}}-
|style=background:green; white-space:nowrap|<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}}} }}
|-
|-
|style=background:green; white-space:nowrap|<font color=white>Location</font>
|style=background:green; white-space:nowrap|<font color=white>Location</font>
Line 50: Line 50:
</pre>
</pre>
|}
|}
Note that romanji, droppedItems, skills, and spells will be hidden if not passed a value.
[[Category:Templates|MonsterStats]]
[[Category:Templates|MonsterStats]]
</noinclude>
</noinclude>

Revision as of 15:52, 27 January 2010

{{{image}}}
{{{name}}}
Game Appearance {{{game}}}
HP {{{hp}}}
Exp. Gained {{{experience}}}
Gold Gained {{{gold}}}


Location {{{location}}}
{{Monster
|image=[[Image:|200px]]
|name=
|game=
|romanji=
|hp=
|experience=
|gold=
|droppedItems=
|skills=
|spells=
|location=
|}}

Note that romanji, droppedItems, skills, and spells will be hidden if not passed a value.