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
(color switch code)
(txt color in case)
Line 1: Line 1:
{| class="infobox" style="width:300px"
{| class="infobox" style="width:300px"
|- style="background:{{#if:{{{color|}}}|{{{{{color}}}darkcolor}}|{{{{{color|enemy}}}darkcolor}}}}"
|- style="background:{{#if:{{{color|}}}|{{{{{color}}}darkcolor}}|{{{{{color|enemy}}}darkcolor}}}}"
!colspan="2" style="color:#FFF"|{{{name|{{PAGENAME}}}}}
!colspan="2" style="color:{{{txtcolor|#FFF}}}"|{{{name|{{PAGENAME}}}}}
|-
|-
|colspan="2" style="text-align:center"|{{{image|}}}
|colspan="2" style="text-align:center"|{{{image|}}}
Line 37: Line 37:
|related=
|related=
}}
}}
</pre>
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>
</pre>


[[Category:Infoboxes|Enemy]]
[[Category:Infoboxes|Enemy]]
</noinclude>
</noinclude>

Revision as of 14:49, March 27, 2021

Infobox Enemy
{{{jname}}}
{{{romaji}}}
{{Infobox Enemy
|name=
|image=
|jname=
|romaji=
|firstappear=
|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.