Template:Infobox Person: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (1 revision: pages)
m (Text replacement - ";padding" to "; padding")
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| style="border: 1px solid #aaa; background-color: #FFF; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; width:23em; font-size: 90%; text-align: left; font-size:90%;"
{| class="infobox" style="width:23em"
|-
! colspan="4" style="font-size:125%; text-align:center; background:#eee"| {{{name}}}
! colspan="4" style="font-size:125%;text-align:center; background:#EEEEEE;"| {{{name}}}
|-
|-
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} colspan="4" style="text-align:center;padding-bottom:.5em;" {{!}}{{{image}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
{{!}} colspan="4" style="text-align:center; padding-bottom:.5em" {{!}}{{{image}}}{{#if:{{{caption|}}}|<br>{{{caption}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{date_of_birth<includeonly>|</includeonly>}}} |
{{#if:{{{date_of_birth<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:right;"{{!}}'''Born'''
{{!}} colspan="2" style="text-align:right"{{!}}'''Born'''
{{!}}{{{date_of_birth}}}
{{!}}{{{date_of_birth}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{place_of_birth<includeonly>|</includeonly>}}} |
{{#if:{{{place_of_birth<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:right;"{{!}}
{{!}} colspan="2" style="text-align:right"{{!}}
{{!}}{{{place_of_birth}}}
{{!}}{{{place_of_birth}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{date_of_death<includeonly>|</includeonly>}}} |
{{#if:{{{date_of_death<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:right;"{{!}}'''Died'''
{{!}} colspan="2" style="text-align:right"{{!}}'''Died'''
{{!}}{{{date_of_death}}}
{{!}}{{{date_of_death}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{place_of_death<includeonly>|</includeonly>}}} |
{{#if:{{{place_of_death<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:right;"{{!}}
{{!}} colspan="2" style="text-align:right"{{!}}
{{!}}{{{place_of_death}}}
{{!}}{{{place_of_death}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{education<includeonly>|</includeonly>}}} |
{{#if:{{{education<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:right;"{{!}}'''Education'''
{{!}} colspan="2" style="text-align:right"{{!}}'''Education'''
{{!}}{{{education}}}
{{!}}{{{education}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{occupation<includeonly>|</includeonly>}}} |
{{#if:{{{occupation<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:right;"{{!}}'''Occupation'''
{{!}} colspan="2" style="text-align:right"{{!}}'''Occupation'''
{{!}}{{{occupation}}}
{{!}}{{{occupation}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{title<includeonly>|</includeonly>}}} |
{{#if:{{{title<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:right;"{{!}}'''Title'''
{{!}} colspan="2" style="text-align:right"{{!}}'''Title'''
{{!}}{{{title}}}
{{!}}{{{title}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{spouse<includeonly>|</includeonly>}}} |
{{#if:{{{spouse<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:right;"{{!}}'''Spouse'''
{{!}} colspan="2" style="text-align:right"{{!}}'''Spouse'''
{{!}}{{{spouse}}}
{{!}}{{{spouse}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{parents<includeonly>|</includeonly>}}} |
{{#if:{{{parents<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:right;"{{!}}'''Parents'''
{{!}} colspan="2" style="text-align:right"{{!}}'''Parents'''
{{!}}{{{parents}}}
{{!}}{{{parents}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{children<includeonly>|</includeonly>}}} |
{{#if:{{{children<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:right;"{{!}}'''Children'''
{{!}} colspan="2" style="text-align:right"{{!}}'''Children'''
{{!}}{{{children}}}
{{!}}{{{children}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{nationality<includeonly>|</includeonly>}}} |
{{#if:{{{nationality<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:right;"{{!}}'''Nationality'''
{{!}} colspan="2" style="text-align:right"{{!}}'''Nationality'''
{{!}}{{{nationality}}}
{{!}}{{{nationality}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{website<includeonly>|</includeonly>}}} |
{{#if:{{{website<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:right;"{{!}}'''Website'''
{{!}} colspan="2" style="text-align:right"{{!}}'''Website'''
{{!}}{{{website}}}
{{!}}{{{website}}}
{{!}}-
{{!}}-
Line 88: Line 87:
}}</pre>
}}</pre>
All fields other than "title" are optional.
All fields other than "title" are optional.
[[Category:Infobox templates|Person]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 13:15, May 10, 2023

{{{name}}}
{{{image}}}
Born {{{date_of_birth}}}
{{{place_of_birth}}}
Died {{{date_of_death}}}
{{{place_of_death}}}
Education {{{education}}}
Occupation {{{occupation}}}
Title {{{title}}}
Spouse {{{spouse}}}
Parents {{{parents}}}
Children {{{children}}}
Nationality {{{nationality}}}
Website {{{website}}}

Usage

{{Infobox Person
| name           = 
| image          = 
| caption        = 
| date_of_birth  = 
| place_of_birth = 
| date_of_death  = 
| place_of_death = 
| education      = 
| occupation     = 
| title          = 
| spouse         = 
| parents        = 
| children       = 
| nationality    = 
| website        = 
}}

All fields other than "title" are optional.