Template:Person infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(ok i think i figured it out)
No edit summary
(35 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| class="infobox" cellpadding=2 cellspacing=2 align={{{align|right}}} width=280px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background: {{{bg|#f8fff7}}}; border:1px solid {{{border|#8a8}}}; color:{{{color|#000}}}"
{| id="person" class="infobox" style="width:300px"
| align="center" colspan="2" bgcolor="{{{titlebg|#8afa8a}}}" style="font-size:145%;" | '''{{{title|{{PAGENAME}}}}}'''
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
|-
|-
|align="center" colspan="2" | {{{image|}}}
| colspan="2" style="text-align:center" | {{{image|}}}
{{#if:{{{full_name|}}}|{{!}}- style="background:{{{secbg|#afa}}}"
|-
{{!}}'''Full Name'''
{{#if:{{{full_name|}}}|
{{!}} style="width:17em" {{!}} {{{full_name|}}}
{{!}} '''Full name'''
|}}
{{!}} {{{full_name}}}
|- style="vertical-align: top"
}}
{{#if:{{{born|}}}|{{!}}- style="vertical-align: top;"
|-
{{#if:{{{born|}}}|
{{!}} '''Born'''
{{!}} '''Born'''
{{!}} {{{born}}}
{{!}} {{{born}}}
|}}
}}
|- style="vertical-align: top"
|-
{{#if:{{{died|}}}|{{!}}- style="background:{{{secbg|#afa}}}"
{{#if:{{{died|}}}|
{{!}} '''Died'''
{{!}} '''Died'''
{{!}} {{{died}}}
{{!}} {{{died}}}
|}}
}}
|- style="vertical-align: top"
|-
{{#if:{{{role|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{role|}}}|
{{!}} '''Occupation at {{{developer|Nintendo}}}'''
{{!}} '''''Super Mario''–related role(s)'''
{{!}} {{{role}}}
{{!}} {{{role}}}
|}}
}}
|}<noinclude>
|}<templatestyles src="Person infobox/styles.css"/><noinclude>{{br}}
{{br}}
== Usage ==
'''Usage:'''
<pre>
<pre>
{{RealPeopleBox
{{person infobox
|title=The person's name, if different from the article title
|image=A photo of the person
|image=A photo of the person
|full_name=The person's full name
|full_name=The person's full name
|born=The person's date of birth
|born=The person's date of birth
|died=The person's death date, if applicable
|died=The person's death date, if applicable
|role=A brief description of their role at Nintendo
|role=A brief description of the person's role at the company they work at
|developer=The studio that the person works for (default: Nintendo)
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 12:59, February 21, 2024

Person infobox

Usage

{{person infobox
|title=The person's name, if different from the article title
|image=A photo of the person
|full_name=The person's full name
|born=The person's date of birth
|died=The person's death date, if applicable
|role=A brief description of the person's role at the company they work at
}}