Template:Species infobox: Difference between revisions

restyle with infobox bordered (a la Zeldapedia)
(fixed)
(restyle with infobox bordered (a la Zeldapedia))
Line 1: Line 1:
{| class="toccolours" style="float:right; margin:0 0 0.5em 1em; width:300px; font-size:95%"
{| class="infobox bordered" style="font-size: 90%; width:280px"
! colspan="2" style="font-size:125%;background:#10274C; color:#FFF" | {{{name|{{PAGENAME}}}}}
|-
|-
! colspan="2" style="background-color:{{{bgcolor|#00FFFF}}}; color:{{{txtcolor|black}}}; text-align: center; font-size: larger;padding:3px" | '''{{{name|{{PAGENAME}}}}}'''  
| colspan="2" style="text-align:center;" | {{#if:{{{image|}}}|{{{image}}}|Have an image of this enemy?<br />You can '''[[Special:Upload|upload]]''' it!}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
|-
| colspan="2" style="text-align: center;" |
{{{image}}}<br>{{{caption|}}}
|-
|-
{{#if:{{{characteristics|}}}{{{species_origin|}}}{{{colors|}}}{{{homeland|}}}{{{affiliations|}}}|
{{#if:{{{characteristics|}}}{{{species_origin|}}}{{{colors|}}}{{{homeland|}}}{{{affiliations|}}}|
! colspan="2" style="background-color:{{{bgcolor|#00FFFF}}}; color:{{{txtcolor|black}}}; text-align: center; font-size: larger;" {{!}} '''General information'''
! colspan="2" style="background:#10274C; color:#FFF; text-align: center; font-size: 105%;" {{!}} '''General information'''
{{!}}-
{{!}}-
{{#if:{{{species_origin|}}}|
{{#if:{{{species_origin|}}}|
{{!}}- style="vertical-align: top;"
{{!}}- style="vertical-align: top;"
{{!}}'''Species origin:'''
{{!}}style="background:#C5CED6"{{!}}'''Species origin'''
{{!}}style="padding-right: 1em;" {{!}} {{{species_origin}}}
{{!}} {{{species_origin}}}
}}
}}
{{!}}-
{{!}}-
{{#if:{{{characteristics|}}}|
{{#if:{{{characteristics|}}}|
{{!}}- style="vertical-align: top;"
{{!}}- style="vertical-align: top;"
{{!}}'''Characteristics:'''
{{!}}style="background:#C5CED6"{{!}}'''Characteristics'''
{{!}}style="padding-right: 1em;" {{!}} {{{characteristics}}}
{{!}} {{{characteristics}}}
}}
}}
{{!}}-
{{!}}-
{{#if:{{{powers|}}}|
{{#if:{{{powers|}}}|
{{!}}- style="vertical-align: top;"
{{!}}- style="vertical-align: top;"
{{!}}'''Powers:'''
{{!}}style="background:#C5CED6"{{!}}'''Powers'''
{{!}}style="padding-right: 1em;" {{!}} {{{powers}}}
{{!}} {{{powers}}}
}}
{{!}}-
{{#if:{{{weaknesses|}}}|
{{!}}- style="vertical-align: top;"
{{!}}style="background:#C5CED6"{{!}}'''Weaknesses'''
{{!}} {{{weaknesses}}}
}}
}}
{{!}}-
{{!}}-
{{#if:{{{colors|}}}|
{{#if:{{{colors|}}}|
{{!}}- style="vertical-align: top;"
{{!}}- style="vertical-align: top;"
{{!}}'''Color(s):'''
{{!}}style="background:#C5CED6"{{!}}'''Colors'''
{{!}}style="padding-right: 1em;" {{!}} {{{colors}}}
{{!}} {{{colors}}}
}}
}}
{{!}}-
{{!}}-
{{#if:{{{homeland|}}}|
{{#if:{{{homeland|}}}|
{{!}}- style="vertical-align: top;"
{{!}}- style="vertical-align: top;"
{{!}}'''Homeland:'''
{{!}}style="background:#C5CED6"{{!}}'''Homeland'''
{{!}}style="padding-right: 1em;" {{!}} {{{homeland}}}
{{!}} {{{homeland}}}
}}
{{!}}-
{{#if:{{{affiliation|}}}|
{{!}}- style="vertical-align: top;"
{{!}}style="background:#C5CED6"{{!}}'''Affiliations'''
{{!}} {{{affiliation}}}
}}
}}
{{!}}-
{{!}}-
{{#if:{{{affiliations|}}}|
{{#if:{{{leader|}}}|
{{!}}- style="vertical-align: top;"
{{!}}- style="vertical-align: top;"
{{!}}'''Affiliation(s):'''
{{!}}style="background:#C5CED6"{{!}}'''Leader'''
{{!}}style="padding-right: 1em;" {{!}} {{{affiliations}}}
{{!}} {{{leader}}}
}}
}}
}}
}}
Line 48: Line 58:
{{#if:{{{first_appearance|}}}{{{latest_appearance|}}}{{{other_games|}}}|
{{#if:{{{first_appearance|}}}{{{latest_appearance|}}}{{{other_games|}}}|
{{!}}- style="vertical-align: top;"
{{!}}- style="vertical-align: top;"
! colspan="2" style="background-color:{{{bgcolor|#00FFFF}}}; color:{{{txtcolor|black}}}; text-align: center; font-size: larger;" {{!}} '''Game appearances'''
! colspan="2" style="background:#10274C; color:#FFF; text-align: center; font-size: 105%;" {{!}} '''Game appearances'''
{{!}}-
{{!}}-
{{#if:{{{first_appearance|}}}|
{{#if:{{{first_appearance|}}}|
{{!}}- style="vertical-align: top;"
{{!}}- style="vertical-align: top;"
{{!}}'''First appearance:'''
{{!}}style="background:#C5CED6"{{!}}'''First appearance'''
{{!}}style="padding-right: 1em;" {{!}} {{{first_appearance}}}
{{!}} {{{first_appearance}}}
}}
}}
{{!}}-
{{!}}-
{{#if:{{{latest_appearance|}}}|
{{#if:{{{latest_appearance|}}}|
{{!}}- style="vertical-align: top;"
{{!}}- style="vertical-align: top;"
{{!}}'''Latest appearance:'''
{{!}}style="background:#C5CED6"{{!}}'''Latest appearance'''
{{!}}style="padding-right: 1em;" {{!}} {{{latest_appearance}}}
{{!}} {{{latest_appearance}}}
}}
}}
{{!}}-
{{!}}-
{{#if:{{{other_games|}}}|
{{#if:{{{other_games|}}}|
{{!}}- style="vertical-align: top;"
{{!}}- style="vertical-align: top;"
{{!}}'''Other games:'''
{{!}}style="background:#C5CED6"{{!}}'''Other games'''
{{!}}style="padding-right: 1em;" {{!}} {{{other_games}}}
{{!}} {{{other_games}}}
}}
}}
}}
}}
Line 71: Line 81:
{{#if:{{{variant_of|}}}{{{variants|}}}{{{relatives|}}}{{{comparable|}}}{{{notable|}}}|
{{#if:{{{variant_of|}}}{{{variants|}}}{{{relatives|}}}{{{comparable|}}}{{{notable|}}}|
{{!}}- style="vertical-align: top;"
{{!}}- style="vertical-align: top;"
! colspan="2" style="background-color:{{{bgcolor|#00FFFF}}}; color:{{{txtcolor|black}}}; text-align: center; font-size: larger;" {{!}} '''Similar entities'''
! colspan="2" style="background:#10274C; color:#FFF; text-align: center; font-size: 105%;" {{!}} '''Similar entities'''
{{!}}-
{{!}}-
{{#if:{{{variant_of|}}}|
{{#if:{{{variant_of|}}}|
{{!}}- style="vertical-align: top;"
{{!}}- style="vertical-align: top;"
{{!}}'''Variant of:'''
{{!}}style="background:#C5CED6"{{!}}'''Variant of'''
{{!}}style="padding-right: 1em;" {{!}} {{{variant_of}}}
{{!}} {{{variant_of}}}
}}
}}
{{!}}-
{{!}}-
{{#if:{{{variants|}}}|
{{#if:{{{variants|}}}|
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{{!}} class="{{#if:{{{collapsed|}}}|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
{{{!}} class="borderless {{#if:{{{collapsed|}}}|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
! style="text-align:left;padding:2px !important" {{!}} Variants
! style="background:#C5CED6;text-align:left;padding:2px !important" {{!}} Variants
{{!}}-
{{!}}-
{{!}} style="padding:0 2px !important" {{!}} {{{variants}}}
{{!}} style="padding:0 2px !important" {{!}} {{{variants}}}
Line 90: Line 100:
{{#if:{{{relatives|}}}|
{{#if:{{{relatives|}}}|
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{{!}} class="{{#if:{{{collapsed|}}}|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
{{{!}} class="borderless {{#if:{{{collapsed|}}}|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
! style="text-align:left;padding:2px !important" {{!}} Relatives
! style="background:#C5CED6;text-align:left;padding:2px !important" {{!}} Relatives
{{!}}-
{{!}}-
{{!}} style="padding:0 2px !important" {{!}} {{{relatives}}}
{{!}} style="padding:0 2px !important" {{!}} {{{relatives}}}
Line 99: Line 109:
{{#if:{{{comparable|}}}|
{{#if:{{{comparable|}}}|
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{{!}} class="{{#if:{{{collapsed|}}}|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
{{{!}} class="borderless {{#if:{{{collapsed|}}}|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
! style="text-align:left;padding:2px !important" {{!}} Comparable
! style="background:#C5CED6;text-align:left;padding:2px !important" {{!}} Comparable
{{!}}-
{{!}}-
{{!}} style="padding:0 2px !important" {{!}} {{{comparable}}}
{{!}} style="padding:0 2px !important" {{!}} {{{comparable}}}
Line 108: Line 118:
{{#if:{{{notable|}}}|
{{#if:{{{notable|}}}|
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{{!}} class="{{#if:{{{collapsed|}}}|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
{{{!}} class="borderless {{#if:{{{collapsed|}}}|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
! style="text-align:left;padding:2px !important" {{!}} Notable members
! style="background:#C5CED6;text-align:left;padding:2px !important" {{!}} Notable members
{{!}}-
{{!}}-
{{!}} style="padding:0 2px !important" {{!}} {{{notable}}}
{{!}} style="padding:0 2px !important" {{!}} {{{notable}}}
Line 127: Line 137:
|characteristics=
|characteristics=
|powers=
|powers=
|weaknesses=
|colors=
|colors=
|homeland=
|homeland=
|affiliations=
|affiliations=
|leader=
|first_appearance=
|first_appearance=
|latest_appearance=
|latest_appearance=
Line 141: Line 153:
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>