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
(code cleanup) |
(color switch code) |
||
Line 1: | Line 1: | ||
{| class="infobox" style="width:300px" | {| class="infobox" style="width:300px" | ||
|- style="background:# | |- style="background:{{#if:{{{color|}}}|{{{{{color}}}darkcolor}}|{{{{{color|enemy}}}darkcolor}}}}" | ||
!colspan="2" style="color:#FFF"|{{{name|{{PAGENAME}}}}} | !colspan="2" style="color:#FFF"|{{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
|colspan="2" style="text-align:center"|{{{image|}}} | |colspan="2" style="text-align:center"|{{{image|}}} | ||
|- | |- | ||
|colspan="2" style="text-align:center; background:# | |colspan="2" style="text-align:center; background:{{#if:{{{color|}}}|{{{{{color}}}color}}|{{{{{color|enemy}}}color}}}}"|{{{jname}}}<br>''{{{romaji}}}'' | ||
|- | |- | ||
{{#if: {{{firstappear|}}} | {{!}}-style="background | {{#if: {{{firstappear|}}} | {{!}}-style="background:{{#if:{{{color|}}}|{{{{{color}}}color}}|{{{{{color|enemy}}}color}}}}" | ||
{{!}} '''First appearance''' | {{!}} '''First appearance''' | ||
{{!}} style="padding:2px" {{!}} {{{firstappear}}} | {{!}}- }} | {{!}} style="padding:2px" {{!}} {{{firstappear}}} | {{!}}- }} | ||
{{#if: {{{species|}}} | {{!}}-style="background | {{#if: {{{species|}}} | {{!}}-style="background:{{#if:{{{color|}}}|{{{{{color}}}color}}|{{{{{color|enemy}}}color}}}}" | ||
{{!}} '''Species''' | {{!}} '''Species''' | ||
{{!}} style="padding:2px" {{!}} {{{species}}} | {{!}}- }} | {{!}} style="padding:2px" {{!}} {{{species}}} | {{!}}- }} | ||
{{#if: {{{other_names|}}} | {{!}}-style="background | {{#if: {{{other_names|}}} | {{!}}-style="background:{{#if:{{{color|}}}|{{{{{color}}}color}}|{{{{{color|enemy}}}color}}}}" | ||
{{!}} '''Other names''' | {{!}} '''Other names''' | ||
{{!}} style="padding:2px" {{!}} {{{other_names}}} | {{!}}- }} | {{!}} style="padding:2px" {{!}} {{{other_names}}} | {{!}}- }} | ||
Line 20: | Line 20: | ||
{{!}} colspan="2" style="padding:0" {{!}} | {{!}} colspan="2" style="padding:0" {{!}} | ||
{{{!}} class="mw-collapsible mw-collapsed" style="width:100%;background:white; text-align:left" | {{{!}} class="mw-collapsible mw-collapsed" style="width:100%;background:white; text-align:left" | ||
! style="background:# | ! style="background:{{#if:{{{color|}}}|{{{{{color}}}color}}|{{{{{color|enemy}}}color}}}};font-size:10px" {{!}} Related characters and species | ||
{{!}}- | {{!}}- | ||
{{!}} style="padding:0 2px;" {{!}} {{{related|}}} | {{!}} style="padding:0 2px;" {{!}} {{{related|}}} | ||
Line 38: | Line 38: | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Infoboxes|Enemy]] | [[Category:Infoboxes|Enemy]] | ||
</noinclude> | </noinclude> |
Revision as of 23:54, December 30, 2020
Infobox Enemy | |
---|---|
{{{jname}}} {{{romaji}}} |
{{Infobox Enemy |name= |image= |jname= |romaji= |firstappear= |species= |other_names= |related= }}