The wiki is lacking in content. You can help by creating a new article. See the to do list for more ways you can help.

Difference between revisions of "Template:Infobox Enemy"

From Final Fantasy Wiki
Jump to navigationJump to search
(borrowed colors from bulbapedia (except dae4fb))
 
(upd)
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="font-family: verdana, sans-serif; border-radius: 10px; font-size: 10px; margin-left: 2px; background-color: #9DB7F5; border:1px solid #445E9C; float:right;width:300px;padding:2px;"
{| class="infobox" style="width:300px"
|- style="background:#6890F0;"
|- style="background:{{#if:{{{color|}}}|{{{{{color}}}darkcolor}}|{{{{{color|enemy}}}darkcolor}}}}"
!colspan="2"|<font size="2">{{{name|{{PAGENAME}}}}}</font>
!colspan="2" style="color:{{{txtcolor|#FFF}}}"|{{{name|{{PAGENAME}}}}}
|-
|-
|colspan="2" style="text-align:center"|{{{image|}}}
|colspan="2" style="text-align:center"|{{{image|}}}
|-
|-
|colspan="2" style="text-align:center; background:#dae4fb; "|{{{jname}}}<br>''{{{romaji}}}''
|colspan="2" style="text-align:center; background:{{#if:{{{color|}}}|{{{{{color}}}color}}|{{{{{color|enemy}}}color}}}}"|{{{jname}}}<br>''{{{romaji}}}''
|-
|-
{{#if: {{{games|}}} | {{!}}-style="background-color:#fff"
{{#if: {{{first_appear|}}} | {{!}}-
{{!}} style="white-space:nowrap" {{!}} '''Game appearance(s)'''
{{!}}style="background:{{#if:{{{color|}}}|{{{{{color}}}color}}|{{{{{color|enemy}}}color}}}}"{{!}} '''First appearance'''
{{!}} {{{games}}} | {{!}}- }}
{{!}} style="padding:2px" {{!}} {{{first_appear}}} | {{!}}- }}
{{#if: {{{species|}}} | {{!}}-style="background-color:#fff"
{{#if: {{{species|}}} | {{!}}-
{{!}} style="white-space:nowrap" {{!}} '''Species'''
{{!}}style="background:{{#if:{{{color|}}}|{{{{{color}}}color}}|{{{{{color|enemy}}}color}}}}"{{!}} '''Species'''
{{!}} {{{species}}} | {{!}}- }}
{{!}} style="padding:2px" {{!}} {{{species}}} | {{!}}- }}
{{#if: {{{locations|}}} | {{!}}-style="background-color:#fff"
{{#if: {{{other_names|}}} | {{!}}-
{{!}} style="white-space:nowrap" {{!}} '''Location(s)'''
{{!}}style="background:{{#if:{{{color|}}}|{{{{{color}}}color}}|{{{{{color|enemy}}}color}}}}"{{!}} '''Other names'''
{{!}} {{{locations}}} | {{!}}- }}
{{!}} style="padding:2px" {{!}} {{{other_names}}} | {{!}}- }}
{{#if: {{{moves|}}} | {{!}}-style="background-color:#fff"
{{#if: {{{related|}}} |
{{!}} style="white-space:nowrap" {{!}} '''Moves'''
{{!}}- style="vertical-align: top"
{{!}} {{{moves}}} | {{!}}- }}
{{!}} colspan="2" style="padding:0" {{!}}
{{{!}} class="mw-collapsible mw-collapsed" style="width:100%;background:white; text-align:left"
! style="background:{{#if:{{{color|}}}|{{{{{color}}}color}}|{{{{{color|enemy}}}color}}}};font-size:10px" {{!}} Related characters and species
{{!}}-
{{!}} style="padding:0 2px;" {{!}} {{{related|}}}
{{!}}}
|}}
|}<noinclude>
|}<noinclude>
{| style="float: bottom;"
|
<pre>
<pre>
{{Enemy
{{Infobox Enemy
|name=
|name=
|image=
|image=
|jname=
|jname=
|romaji=
|romaji=
|games=
|first_appear=
|species=
|species=
|locations=
|other_names=
|moves=
|related=
}}
}}
</pre>
</pre>
|}
 
[[Category:Infoboxes|E]]
These two parameters affect the color of the template:
 
<pre>
|color= // enter a word or game abbreviation that has an associated dark and light color template, e.g. "FF6"
|txtcolor = // used to change the text color of the header.
</pre>
 
[[Category:Infoboxes|Enemy]]
</noinclude>
</noinclude>

Latest revision as of 12:40, October 28, 2021

Infobox Enemy
{{{jname}}}
{{{romaji}}}
{{Infobox Enemy
|name=
|image=
|jname=
|romaji=
|first_appear=
|species=
|other_names=
|related=
}}

These two parameters affect the color of the template:

|color= // enter a word or game abbreviation that has an associated dark and light color template, e.g. "FF6"
|txtcolor = // used to change the text color of the header.