Template:Person infobox: Difference between revisions

creating unique infobox. credit to https://zelda-archive.fandom.com/wiki/Template:Infobox_Person
(Fixed)
(creating unique infobox. credit to https://zelda-archive.fandom.com/wiki/Template:Infobox_Person)
Line 1: Line 1:
#REDIRECT [[Template:Person infobox alt]]
{| class="infobox bordered"
|-
! colspan="2" style="font-size:125%; background:#8AFA8A" | {{{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}}}}}
|-
{{#if:{{{birth_date<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Born'''
{{!}} {{{birth_date}}}{{#if:{{{birth_place|}}}|<br />{{{birth_place}}}}}
{{!}}-
}}
{{#if:{{{death_date<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Died'''
{{!}} {{{death_date}}}{{#if:{{{death_place|}}}|<br />{{{death_place}}}}}
{{!}}-
}}
{{#if:{{{resting_place<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Resting place'''
{{!}} {{{resting_place}}}
{{!}}-
}}
{{#if:{{{nationality<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Nationality'''
{{!}} {{{nationality}}}
{{!}}-
}}
{{#if:{{{other_names<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Other names'''
{{!}} {{{other_names}}}
{{!}}-
}}
{{#if:{{{known_for<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Known for'''
{{!}} {{{known_for}}}
{{!}}-
}}
{{#if:{{{education<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}}'''Education'''
{{!}} {{{education}}}
{{!}}-
}}
{{#if:{{{occupation<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Occupation'''
{{!}} {{{occupation}}}
{{!}}-
}}
{{#if:{{{title<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Title'''
{{!}} {{{title}}}
{{!}}-
}}
{{#if:{{{employer<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Employer'''
{{!}} {{{employer}}}
{{!}}-
}}
{{#if:{{{salary<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Salary'''
{{!}} {{{salary}}}
{{!}}-
}}
{{#if:{{{networth<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Net worth'''
{{!}} {{{networth}}}
{{!}}-
}}
{{#if:{{{height<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Height'''
{{!}} {{{height}}}
{{!}}-
}}
{{#if:{{{weight<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Weight'''
{{!}} {{{weight}}}
{{!}}-
}}
{{#if:{{{term<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Term'''
{{!}} {{{term}}}
{{!}}-
}}
{{#if:{{{predecessor<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Predecessor'''
{{!}} {{{predecessor}}}
{{!}}-
}}
{{#if:{{{successor<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Successor'''
{{!}} {{{successor}}}
{{!}}-
}}
{{#if:{{{party<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Political party'''
{{!}} {{{party}}}
{{!}}-
}}
{{#if:{{{boards<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Boards on'''
{{!}} {{{boards}}}
{{!}}-
}}
{{#if:{{{religion<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Religious stance'''
{{!}} {{{religion}}}
{{!}}-
}}
{{#if:{{{spouse<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Spouse'''
{{!}} {{{spouse}}}
{{!}}-
}}
{{#if:{{{partner<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Partner'''
{{!}} {{{partner}}}
{{!}}-
}}
{{#if:{{{children<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Children'''
{{!}} {{{children}}}
{{!}}-
}}
{{#if:{{{parents<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Parents'''
{{!}} {{{parents}}}
{{!}}-
}}
{{#if:{{{relatives<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Relatives'''
{{!}} {{{relatives}}}
{{!}}-
}}
{{#if:{{{signature<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Signature'''
{{!}} {{{signature}}}
{{!}}-
}}
{{#if:{{{website<includeonly>|</includeonly>}}} |
{{!}} style="background:#8AFA8A" {{!}} '''Website'''
{{!}} {{{website}}}
}}
|}<noinclude>
This template is the real world equivalent of {{tem|character infobox}}. It is mainly used on articles for game designers and other famous people with connections to ''[[Mario (franchise)|Mario]]'' and/or its related franchises.
 
==Usage==
<pre>
{{person infobox
|name          =
|image        =
|caption      =
|birth_date    =
|birth_place  =
|death_date    =
|death_place  =
|resting_place =
|residence    =
|nationality  =
|other_names  =
|known_for    =
|education    =
|employer      =
|occupation    =
|title        =
|salary        =
|networth      =
|height        =
|weight        =
|term          =
|predecessor  =
|successor    =
|party        =
|boards        =
|religion      =
|spouse        =
|partner      =
|children      =
|parents      =
|relatives    =
|signature    =
|website      =
}}</pre>
 
[[Category:Infobox templates]]</noinclude>