Template:Person infobox: Difference between revisions

swapping colors between Char/person infoboxes
(creating unique infobox. credit to https://zelda-archive.fandom.com/wiki/Template:Infobox_Person)
(swapping colors between Char/person infoboxes)
Line 1: Line 1:
{| class="infobox bordered"
{| class="infobox bordered"
|-  
|-  
! colspan="2" style="font-size:125%; background:#8AFA8A" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="font-size:125%; background:#ACE1AF" | {{{name|{{PAGENAME}}}}}
|-
|-
|colspan="2" style="text-align:center" | {{#if:{{{image|}}}|{{{image}}}|Have an image of this person?<br />You can help by '''[[Special:Upload|uploading]]''' it!}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
|colspan="2" style="text-align:center" | {{#if:{{{image|}}}|{{{image}}}|Have an image of this person?<br />You can help by '''[[Special:Upload|uploading]]''' it!}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
|-
|-
{{#if:{{{birth_date<includeonly>|</includeonly>}}} |
{{#if:{{{birth_date<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Born'''
{{!}} style="background:#D7F1D9" {{!}} '''Born'''
{{!}} {{{birth_date}}}{{#if:{{{birth_place|}}}|<br />{{{birth_place}}}}}
{{!}} {{{birth_date}}}{{#if:{{{birth_place|}}}|<br />{{{birth_place}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{death_date<includeonly>|</includeonly>}}} |
{{#if:{{{death_date<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Died'''
{{!}} style="background:#D7F1D9" {{!}} '''Died'''
{{!}} {{{death_date}}}{{#if:{{{death_place|}}}|<br />{{{death_place}}}}}
{{!}} {{{death_date}}}{{#if:{{{death_place|}}}|<br />{{{death_place}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{resting_place<includeonly>|</includeonly>}}} |
{{#if:{{{resting_place<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Resting place'''
{{!}} style="background:#D7F1D9" {{!}} '''Resting place'''
{{!}} {{{resting_place}}}
{{!}} {{{resting_place}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{nationality<includeonly>|</includeonly>}}} |
{{#if:{{{nationality<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Nationality'''
{{!}} style="background:#D7F1D9" {{!}} '''Nationality'''
{{!}} {{{nationality}}}
{{!}} {{{nationality}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{other_names<includeonly>|</includeonly>}}} |
{{#if:{{{other_names<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Other names'''
{{!}} style="background:#D7F1D9" {{!}} '''Other names'''
{{!}} {{{other_names}}}
{{!}} {{{other_names}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{known_for<includeonly>|</includeonly>}}} |
{{#if:{{{known_for<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Known for'''
{{!}} style="background:#D7F1D9" {{!}} '''Known for'''
{{!}} {{{known_for}}}
{{!}} {{{known_for}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{education<includeonly>|</includeonly>}}} |
{{#if:{{{education<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}}'''Education'''
{{!}} style="background:#D7F1D9" {{!}}'''Education'''
{{!}} {{{education}}}
{{!}} {{{education}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{occupation<includeonly>|</includeonly>}}} |
{{#if:{{{occupation<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Occupation'''
{{!}} style="background:#D7F1D9" {{!}} '''Occupation'''
{{!}} {{{occupation}}}
{{!}} {{{occupation}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{title<includeonly>|</includeonly>}}} |
{{#if:{{{title<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Title'''
{{!}} style="background:#D7F1D9" {{!}} '''Title'''
{{!}} {{{title}}}
{{!}} {{{title}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{employer<includeonly>|</includeonly>}}} |
{{#if:{{{employer<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Employer'''
{{!}} style="background:#D7F1D9" {{!}} '''Employer'''
{{!}} {{{employer}}}
{{!}} {{{employer}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{salary<includeonly>|</includeonly>}}} |
{{#if:{{{salary<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Salary'''
{{!}} style="background:#D7F1D9" {{!}} '''Salary'''
{{!}} {{{salary}}}
{{!}} {{{salary}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{networth<includeonly>|</includeonly>}}} |
{{#if:{{{networth<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Net worth'''
{{!}} style="background:#D7F1D9" {{!}} '''Net worth'''
{{!}} {{{networth}}}
{{!}} {{{networth}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{height<includeonly>|</includeonly>}}} |
{{#if:{{{height<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Height'''
{{!}} style="background:#D7F1D9" {{!}} '''Height'''
{{!}} {{{height}}}
{{!}} {{{height}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{weight<includeonly>|</includeonly>}}} |
{{#if:{{{weight<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Weight'''
{{!}} style="background:#D7F1D9" {{!}} '''Weight'''
{{!}} {{{weight}}}
{{!}} {{{weight}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{term<includeonly>|</includeonly>}}} |
{{#if:{{{term<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Term'''
{{!}} style="background:#D7F1D9" {{!}} '''Term'''
{{!}} {{{term}}}
{{!}} {{{term}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{predecessor<includeonly>|</includeonly>}}} |
{{#if:{{{predecessor<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Predecessor'''
{{!}} style="background:#D7F1D9" {{!}} '''Predecessor'''
{{!}} {{{predecessor}}}
{{!}} {{{predecessor}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{successor<includeonly>|</includeonly>}}} |
{{#if:{{{successor<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Successor'''
{{!}} style="background:#D7F1D9" {{!}} '''Successor'''
{{!}} {{{successor}}}
{{!}} {{{successor}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{party<includeonly>|</includeonly>}}} |
{{#if:{{{party<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Political party'''
{{!}} style="background:#D7F1D9" {{!}} '''Political party'''
{{!}} {{{party}}}
{{!}} {{{party}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{boards<includeonly>|</includeonly>}}} |
{{#if:{{{boards<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Boards on'''
{{!}} style="background:#D7F1D9" {{!}} '''Boards on'''
{{!}} {{{boards}}}
{{!}} {{{boards}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{religion<includeonly>|</includeonly>}}} |
{{#if:{{{religion<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Religious stance'''
{{!}} style="background:#D7F1D9" {{!}} '''Religious stance'''
{{!}} {{{religion}}}
{{!}} {{{religion}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{spouse<includeonly>|</includeonly>}}} |
{{#if:{{{spouse<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Spouse'''
{{!}} style="background:#D7F1D9" {{!}} '''Spouse'''
{{!}} {{{spouse}}}
{{!}} {{{spouse}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{partner<includeonly>|</includeonly>}}} |
{{#if:{{{partner<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Partner'''
{{!}} style="background:#D7F1D9" {{!}} '''Partner'''
{{!}} {{{partner}}}
{{!}} {{{partner}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{children<includeonly>|</includeonly>}}} |
{{#if:{{{children<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Children'''
{{!}} style="background:#D7F1D9" {{!}} '''Children'''
{{!}} {{{children}}}
{{!}} {{{children}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{parents<includeonly>|</includeonly>}}} |
{{#if:{{{parents<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Parents'''
{{!}} style="background:#D7F1D9" {{!}} '''Parents'''
{{!}} {{{parents}}}
{{!}} {{{parents}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{relatives<includeonly>|</includeonly>}}} |
{{#if:{{{relatives<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Relatives'''
{{!}} style="background:#D7F1D9" {{!}} '''Relatives'''
{{!}} {{{relatives}}}
{{!}} {{{relatives}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{signature<includeonly>|</includeonly>}}} |
{{#if:{{{signature<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Signature'''
{{!}} style="background:#D7F1D9" {{!}} '''Signature'''
{{!}} {{{signature}}}
{{!}} {{{signature}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{website<includeonly>|</includeonly>}}} |
{{#if:{{{website<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Website'''
{{!}} style="background:#D7F1D9" {{!}} '''Website'''
{{!}} {{{website}}}
{{!}} {{{website}}}
}}
}}