Template:Enemy: Difference between revisions

m moved Template:Monster to Template:Enemy: More correct name, as not all enemies are monsters
mNo edit summary
 
(74 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{| width=290px style="font-family: verdana; padding: 6px; margin: 0 0 1em 1em; font-size: 10px; background-color: #ffffff; color:black; border:1px solid #8888aa;float:{{#if: {{{float|}}} | {{{float}}} | right }};"
<onlyinclude><includeonly>
|-
{{EnemyBase
| style="border: 1px black solid;" align=center colspan=2|{{{image}}}
|float={{{float|}}}
|- style=background:#ccccff
|image={{{image|}}}
| align=center colspan=2 style=background:green;|<font color=white size="2">'''{{{name}}}'''</font>
|name={{{name|}}}
|-
|game={{{game|}}}
| style=background:green; white-space:nowrap width:110px|<font color=white>Game Appearance</font>
|console={{{console|}}}
| style="border: 1px black solid;"|{{{game}}}{{#if: {{{romanji|}}} | <nowiki />
|romanji={{{romanji| {{{romaji| }}} }}}
{{!}}-
|kanji={{{kanji| {{{jap| }}} }}}
{{!}} style=background:green; white-space:nowrap width:110px {{!}} <font color=white>Romanji</font>
|hp={{{hp|}}}
{{!}} style="border: 1px black solid;" {{!}} {{{romanji}}} }}
|mp={{{mp|}}}
|-
|attack={{{attack|}}}
| style=background:green; white-space:nowrap width:110px|<font color=white>HP</font>
|defense={{{defense|}}}
| style="border: 1px black solid;"|{{{hp}}}
|agility={{{agility|}}}
|-
|wisdom={{{wisdom|}}}
| style=background:green; white-space:nowrap|<font color=white>Exp. Gained</font>
|experience={{{experience|}}}
| style="border: 1px black solid;"|{{{experience}}}
|gold={{{gold|}}}
|-
|droppedItem={{{droppedItem|}}}
|style=background:green; white-space:nowrap|<font color=white>Gold Gained</font>
|skills={{{skills|}}}
| style="border: 1px black solid;"|{{{gold}}}{{#if: {{{droppedItems|}}} | <nowiki />
|spells={{{spells|}}}
{{!}}-
|family={{{family|}}}
{{!}} style=background:green; white-space:nowrap width:110px {{!}} <font color=white>Dropped Items</font>
|level={{{level|}}}
{{!}} style="border: 1px black solid;" {{!}} {{{droppedItems}}} }}{{#if: {{{skills|}}} | <nowiki />
|bestiaryNumber={{{bestiaryNumber|}}}
{{!}}-
|captureRate={{{captureRate|}}}
{{!}} style=background:green; white-space:nowrap width:110px {{!}} <font color=white>Skills</font>
|description={{{description|}}}
{{!}} style="border: 1px black solid;" {{!}} {{{skills}}} }}{{#if: {{{spells|}}} | <nowiki />
|locations={{{locations|}}} }}</includeonly></onlyinclude><noinclude>
{{!}}-
{{Enemy/doc}}
{{!}} style=background:green; white-space:nowrap width:110px {{!}} <font color=white>Spells</font>
[[Category:Enemy templates]]
{{!}} style="border: 1px black solid;" {{!}} {{{spells}}} }}{{#if: {{{description|}}} | <nowiki />
{{!}}-
{{!}} style=background:green; white-space:nowrap width:110px {{!}} <font color=white>Description</font>
{{!}} style="border: 1px black solid;" {{!}} {{{description}}} }}
|-
|style=background:green; white-space:nowrap|<font color=white>Location</font>
| style="border: 1px black solid;"|{{{location}}}
|}<noinclude>
{| style="float: bottom;"
|
<pre>
{{Monster
|float=
|image=[[Image:|200px]]
|name=
|game=
|romanji=
|hp=
|experience=
|gold=
|droppedItems=
|skills=
|spells=
|description=
|location=
|}}
</pre>
|}
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.
[[Category:Templates|MonsterStats]]
</noinclude>
</noinclude>