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.
New user registration has been restored. Thank you for your patience.
Difference between revisions of "Template:Infobox Species"
From Final Fantasy Wiki
Jump to navigationJump to search
(undo self) Tag: Undo |
(code cleanup) |
||
Line 1: | Line 1: | ||
{| style=" | {| class="infobox" style="width:300px" | ||
|- style="background:silver" | |- style="background:silver" | ||
!colspan="2" style="font-size:13px"|{{{name|{{PAGENAME}}}}} | !colspan="2" style="font-size:13px"|{{{name|{{PAGENAME}}}}} | ||
Line 5: | Line 5: | ||
|colspan="2" style="text-align:center"|{{{image|}}} | |colspan="2" style="text-align:center"|{{{image|}}} | ||
|-{{#if:{{{jname| | |-{{#if:{{{jname| | ||
{{!}}colspan="2" style="text-align:center; background:#eee | {{!}}colspan="2" style="text-align:center; background:#eee"{{!}}{{{jname|}}}<br>{{#if:{{{romaji|}}}|''{{{romaji}}}''}} | ||
|- | |- | ||
{{#if: {{{games|}}} | {{!}}-style="background-color:#eee" | {{#if: {{{games|}}} | {{!}}-style="background-color:#eee" | ||
{{!}} style="white-space:nowrap" {{!}} '''Main game<br>appearance(s)''' | {{!}} style="white-space:nowrap" {{!}} '''Main game<br>appearance(s)''' | ||
{{!}} {{{games}}} | {{!}}- }} | {{!}} {{{games}}} | {{!}}- }} | ||
{{#if: {{{home|}}} | {{!}}-style="background-color:#eee | {{#if: {{{home|}}} | {{!}}-style="background-color:#eee" | ||
{{!}} style="white-space:nowrap" {{!}} '''Home''' | {{!}} style="white-space:nowrap" {{!}} '''Home''' | ||
{{!}} {{{home}}} | {{!}}- }} | {{!}} {{{home}}} | {{!}}- }} | ||
{{#ifeq:{{{species}}}|yes| | {{#ifeq:{{{species}}}|yes| | ||
{{!}}colspan="2" style="text-align:center;background:silver"{{!}}'''Members and related species'''}} | {{!}}- | ||
{{#if: {{{notable|}}} | {{!}}-style="background-color:#eee | {{!}} colspan="2" style="text-align:center;background:silver"{{!}}'''Members and related species'''}} | ||
{{#if: {{{notable|}}} | {{!}}-style="background-color:#eee" | |||
{{!}} style="white-space:nowrap" {{!}} '''Notable''' | {{!}} style="white-space:nowrap" {{!}} '''Notable''' | ||
{{!}} {{{notable}}} | {{!}}- }} | {{!}} {{{notable}}} | {{!}}- }} | ||
{{#if: {{{variant_of|}}} | {{!}}-style="background-color:#eee | {{#if: {{{variant_of|}}} | {{!}}-style="background-color:#eee" | ||
{{!}} style="white-space:nowrap" {{!}} '''Variant of''' | {{!}} style="white-space:nowrap" {{!}} '''Variant of''' | ||
{{!}} {{{variant_of}}} | {{!}}- }} | {{!}} {{{variant_of}}} | {{!}}- }} | ||
{{#if: {{{variants|}}} | {{!}}-style="background-color:#eee | {{#if: {{{variants|}}} | {{!}}-style="background-color:#eee" | ||
{{!}} style="white-space:nowrap" {{!}} '''Variants''' | {{!}} style="white-space:nowrap" {{!}} '''Variants''' | ||
{{!}} {{{variants}}} | {{!}}- }} | {{!}} {{{variants}}} | {{!}}- }} | ||
{{#if: {{{relatives|}}} | {{!}}-style="background-color:#eee | {{#if: {{{relatives|}}} | {{!}}-style="background-color:#eee" | ||
{{!}} style="white-space:nowrap" {{!}} '''Relatives''' | {{!}} style="white-space:nowrap" {{!}} '''Relatives''' | ||
{{!}} {{{relatives}}} | {{!}}- }} | {{!}} {{{relatives}}} | {{!}}- }} | ||
{{#if: {{{comparable|}}} | {{!}}-style="background-color:#eee | {{#if: {{{comparable|}}} | {{!}}-style="background-color:#eee" | ||
{{!}} style="white-space:nowrap" {{!}} '''Comparable''' | {{!}} style="white-space:nowrap" {{!}} '''Comparable''' | ||
{{!}} {{{comparable}}} | {{!}}- }} | {{!}} {{{comparable}}} | {{!}}- }} | ||
|}<noinclude> | |}<noinclude> | ||
==Usage== | ==Usage== | ||
Note: remember to define <code>|species=yes</code> if members or comparable species are listed within the infobox. | Note: remember to define <code>|species=yes</code> if members or comparable species are listed within the infobox. | ||
<pre> | <pre> | ||
{{Infobox Species | {{Infobox Species | ||
Line 51: | Line 52: | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Infoboxes|Species]] | [[Category:Infoboxes|Species]] | ||
</noinclude> | </noinclude> |
Revision as of 23:08, October 14, 2020
Infobox Species | |
---|---|
Usage
Note: remember to define |species=yes
if members or comparable species are listed within the infobox.
{{Infobox Species |name= |image= |jname= |romaji= |games= |home= |species=yes |notable= |variant_of= |variants= |relatives= |comparable= }}