Template:Enemy: Difference between revisions
m Cleanup |
major expansion update |
||
| 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; | {| 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; {{#if: {{{float|}}} | float:{{{float}}}; clear:{{{float}}} | float:right; clear:right; }}" | ||
|- | |- | ||
| style="border: 1px black solid; | | style="border: 1px black solid; text-align:center;" colspan="2" | {{{image}}} | ||
|- style=background:# | |- style="background-color:#CCCCFF;" | ||
| | | colspan="2" style="background-color:green; color:white; text-align:center; font-size:120%;" |'''{{{name}}}''' | ||
|- | |- | ||
| style=background:green; white-space:nowrap width:110px | | style="background-color:green; white-space:nowrap; width:110px; color:white;"| Game Appearance | ||
| style="border: 1px black solid;"|{{{game}}}{{#if: {{{romanji|}}} | | | style="border: 1px black solid;" | {{{game}}} | ||
{{!}}- | |||
{{!}} style=background:green; white-space:nowrap width:110px {{!}} | <!-- Begin if statements for optional parameters --> | ||
{{#if: {{{romanji|}}} | {{!}}- | |||
{{!}} style="background-color:green; white-space:nowrap; width:110px; color:white;" {{!}} Romanji | |||
{{!}} style="border: 1px black solid;" {{!}} {{{romanji}}} }} | {{!}} style="border: 1px black solid;" {{!}} {{{romanji}}} }} | ||
|- | |- | ||
| style=background:green; white-space:nowrap | | style="background-color:green; white-space:nowrap; width:110px; color:white;" | HP | ||
| style="border: 1px black solid;"|{{{ | {{#if: {{{hp|}}} | | ||
|- | {{!}} style="border: 1px black solid;" {{!}} {{{hp}}} | | ||
|style=background:green; white-space:nowrap| | {{!}} style="border: 1px black solid;" {{!}} ??? }} | ||
| style="border: 1px black solid;"|{{{gold}}}{{#if: {{{ | {{#if: {{{mp|}}} | {{!}}- | ||
{{!}}- | {{!}} style="background-color:green; white-space:nowrap; width:110px; color:white;" {{!}} MP | ||
{{!}} style=background:green; white-space:nowrap width:110px {{!}} | {{!}} style="border: 1px black solid;" {{!}} {{{mp}}} }} | ||
{{!}} style="border: 1px black solid;" {{!}} {{{ | {{#if: {{{attack|}}} | {{!}}- | ||
{{!}}- | {{!}} style="background-color:green; white-space:nowrap; width:110px; color:white;" {{!}} Attack | ||
{{!}} style=background:green; white-space:nowrap width:110px {{!}} | {{!}} style="border: 1px black solid;" {{!}} {{{attack}}} }} | ||
{{!}} style="border: 1px black solid;" {{!}} {{{skills}}} }}{{#if: {{{spells|}}} | | {{#if: {{{defense|}}} | {{!}}- | ||
{{!}}- | {{!}} style="background-color:green; white-space:nowrap; width:110px; color:white;" {{!}} Defense | ||
{{!}} style=background:green; white-space:nowrap width:110px {{!}} | {{!}} style="border: 1px black solid;" {{!}} {{{defense}}} }} | ||
{{!}} style="border: 1px black solid;" {{!}} {{{spells}}} }}{{#if: {{{ | {{#if: {{{agility|}}} | {{!}}- | ||
{{!}}- | {{!}} style="background-color:green; white-space:nowrap; width:110px; color:white;" {{!}} Agility | ||
{{!}} style=background:green; white-space:nowrap width:110px {{!}} | {{!}} style="border: 1px black solid;" {{!}} {{{agility}}} }} | ||
{{#if: {{{experience|}}} | {{!}}- | |||
{{!}} style="background-color:green; white-space:nowrap; width:110px; color:white;" {{!}} Experience | |||
{{!}} style="border: 1px black solid;" {{!}} {{{experience}}} }} | |||
{{#if: {{{gold|}}} | {{!}}- | |||
{{!}} style="background-color:green; white-space:nowrap; width:110px; color:white;" {{!}} Gold | |||
{{!}} style="border: 1px black solid;" {{!}} {{{gold}}} }} | |||
{{#if: {{{droppedItem|}}} | {{!}}- | |||
{{!}} style="background-color:green; white-space:nowrap; width:110px; color:white;" {{!}} Dropped Item | |||
{{!}} style="border: 1px black solid;" {{!}} {{{droppedItem}}} }} | |||
{{#if: {{{skills|}}} | {{!}}- | |||
{{!}} style="background-color:green; white-space:nowrap; width:110px; color:white;" {{!}} Skills | |||
{{!}} style="border: 1px black solid;" {{!}} {{{skills}}} }} | |||
{{#if: {{{spells|}}} | {{!}}- | |||
{{!}} style="background-color:green; white-space:nowrap; width:110px; color:white;" {{!}} Spells | |||
{{!}} style="border: 1px black solid;" {{!}} {{{spells}}} }} | |||
{{#if: {{{family|}}} | {{!}}- | |||
{{!}} style="background-color:green; white-space:nowrap; width:110px; color:white;" {{!}} Family | |||
{{!}} style="border: 1px black solid;" {{!}} {{{family}}} }} | |||
{{#if: {{{bestiaryNumber|}}} | {{!}}- | |||
{{!}} style="background-color:green; white-space:nowrap; width:110px; color:white;" {{!}} Bestiary # | |||
{{!}} style="border: 1px black solid;" {{!}} {{{bestiaryNumber}}} }} | |||
{{#if: {{{captureRate|}}} | {{!}}- | |||
{{!}} style="background-color:green; white-space:nowrap; width:110px; color:white;" {{!}} Capture Rate | |||
{{!}} style="border: 1px black solid;" {{!}} {{{captureRate}}} }} | |||
{{#if: {{{description|}}} | {{!}}- | |||
{{!}} style="background-color:green; white-space:nowrap; width:110px; color:white;" {{!}} Description | |||
{{!}} style="border: 1px black solid;" {{!}} {{{description}}} }} | {{!}} style="border: 1px black solid;" {{!}} {{{description}}} }} | ||
|- | {{#if: {{{locations|}}} | {{!}}- | ||
{{!}} style="background-color:green; white-space:nowrap; width:110px; color:white;" {{!}} Locations | |||
{{!}} style="border: 1px black solid;" {{!}} {{{locations}}} }} | |||
|}<noinclude> | |||
|} | |||
<noinclude> | |||
{| style="float: bottom;" | {| style="float: bottom;" | ||
| | | | ||
| Line 45: | Line 73: | ||
|romanji= | |romanji= | ||
|hp= | |hp= | ||
|mp= | |||
|attack= | |||
|defense= | |||
|agility= | |||
|experience= | |experience= | ||
|gold= | |gold= | ||
| | |droppedItem= | ||
|skills= | |skills= | ||
|spells= | |spells= | ||
|family= | |||
|bestiaryNumber= | |||
|captureRate= | |||
|description= | |description= | ||
| | |locations= | ||
|}} | |}} | ||
</pre> | </pre> | ||
| Line 57: | Line 92: | ||
The float parameter corresponds to the CSS float property which should be 'left', 'right', or 'none'. The default is 'right'. | The float parameter corresponds to the CSS float property which should be 'left', 'right', or 'none'. The default is 'right'. | ||
Note | Note image, name, and game appearance are the only 'required' fields. | ||
</noinclude> | </noinclude> | ||