Difference between revisions of "Template:Infobox person"

From Diary of a Wimpy Kid Wiki
Jump to navigation Jump to search
m
(Change)
Line 1: Line 1:
<div style="float:{{{align|right}}}; with=33%; display:table;">
{| class="infobox bordered" style="float:right; width:264px; font-size:90%; text-align:left;" cellpadding="3"
{| class="infobox" style="background:#FFFFFF; width:314px; max-width:314px; text-align: left; line-height: 1.5em; font-size: 89%; overflow-wrap: break-word" {{#ifeq:{{{align|right}}}|right|infobox}}
|-  
|-
! colspan="2" style="font-size:110%; text-align:center; background-color:#EEE; color:#000;" | ''{{{title|{{PAGENAME}}}}}''
! colspan="2" style="font-size:110%; text-align:center; background-color:#EEE; color:#000;" | ''{{{title|{{PAGENAME}}}}}''
|-
|-
| colspan="2" align="center" |{{#if:{{{image|}}}|{{{image}}}|[[File:Unseen Person.png|300x400px]]}}
{{#if:{{{image<includeonly>|</includeonly>}}} |
|-
{{!}} colspan="2" style="text-align:center;background-color:#FFF;" {{!}}{{{image}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
! nowrap="nowrap" style="padding:3px" |Name
{{!}}-
|style="padding:3px" |{{#if:{{{name|}}}|{{{name}}}|Unknown}}
}}
|-
{{#if:{{{height<includeonly>|</includeonly>}}} |
! nowrap="nowrap" style="padding:3px" |Height
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Height'''
|style="padding:3px" |{{#if:{{{height|}}}|{{{height}}}|Unknown}}
{{!}}{{{height}}}
|-
{{!}}-
}}
{{#if: {{{alias|}}}|
{{#if: {{{alias|}}}|
! nowrap="nowrap" style="padding:3px" {{!}} Alias
{{!}} nowrap="nowrap" style="padding:3px" {{!}}'''Alias'''
{{!}} style="padding:3px" {{!}}{{{alias|}}}
{{!}} style="padding:3px" {{!}}{{{alias|}}}
{{!}}-|}}
{{!}}-|}}
! nowrap="nowrap" style="padding:3px" |Gender
{{#if:{{{gender<includeonly>|</includeonly>}}} |
|style="padding:3px" |{{#if:{{{gender|}}}|{{{gender}}}|Unknown}}
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Gender'''
|-
{{!}}{{{gender}}}
! nowrap="nowrap" style="padding:3px" |Born
{{!}}-
|style="padding:3px" |{{#if:{{{born|}}}|{{{born}}}|Unknown}}
}}
|-
{{#if:{{{born<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Born'''
{{!}}{{{born}}}
{{!}}-
}}
{{#if: {{{died|}}}|
{{#if: {{{died|}}}|
! nowrap="nowrap" style="padding:3px" {{!}} Died
{{!}} nowrap="nowrap" style="padding:3px" {{!}}'''Died'''
{{!}} style="padding:3px" {{!}}{{{died|}}}
{{!}} style="padding:3px" {{!}}{{{died|}}}
{{!}}-|}}
{{!}}-|}}
! nowrap="nowrap" style="padding:3px" |Occupation
{{#if:{{{occupation<includeonly>|</includeonly>}}} |
| style="padding:3px" |{{#if:{{{occupation|}}}|{{{occupation}}}|Unknown}}
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Occupation'''
|-
{{!}}{{{occupation}}}
{{#if: {{{family|}}}|
{{!}}-
! nowrap="nowrap" style="padding:3px" {{!}} Family
}}
{{!}} style="padding:3px" {{!}}{{{family|}}}
{{#if:{{{family<includeonly>|</includeonly>}}} |
{{!}}-|}}
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Family'''
{{!}}{{{family}}}
{{!}}-
}}
{{#if: {{{active|}}}|
{{#if: {{{active|}}}|
! nowrap="nowrap" style="padding:3px" {{!}} Years active
{{!}} nowrap="nowrap" style="padding:3px" {{!}}'''Years active'''
{{!}} style="padding:3px" {{!}}{{{active|}}}
{{!}} style="padding:3px" {{!}}{{{active|}}}
{{!}}-|}}
{{!}}-|}}
{{#if: {{{first|}}}|
{{#if: {{{first|}}}|
! style="padding:3px" {{!}} First appearance
{{!}} nowrap="nowrap" style="padding:3px" {{!}}'''First appearance'''
{{!}} style="padding:3px" {{!}}{{{first|}}}
{{!}} style="padding:3px" {{!}}{{{first|}}}
{{!}}-|}}
{{!}}-|}}
{{#if: {{{last|}}}|
{{#if: {{{last|}}}|
! style="padding:3px" {{!}} Last appearance
{{!}} nowrap="nowrap" style="padding:3px" {{!}}'''Last appearance'''
{{!}} style="padding:3px" {{!}}{{{last|}}}
{{!}} style="padding:3px" {{!}}{{{last|}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{map|}}}|{{!}}-
{{!}} colspan="2" {{!}} {{{map}}}}}
|}</div><noinclude><span style="margin:-10px 0 0 0; font-size:xx-small; clear:right; float:right;">[[Template:InfoPerson|[view]]] &bull; [[Template talk:InfoPerson|[talk]]]</span>
|}</div><noinclude><span style="margin:-10px 0 0 0; font-size:xx-small; clear:right; float:right;">[[Template:InfoPerson|[view]]] &bull; [[Template talk:InfoPerson|[talk]]]</span>
{{imported}}
This is a template made specifically for real-life people that have somehow been involved in the [[Diary of a Wimpy Kid (series)|Diary of a Wimpy Kid series]], but not mainly through acting. This covers real-life people that have been depicted in the books as well.
This is a template made specifically for real-life people that have somehow been involved in the [[Diary of a Wimpy Kid (series)|Diary of a Wimpy Kid series]], but not mainly through acting. This covers real-life people that have been depicted in the books as well.


Line 55: Line 59:
{{InfoPerson
{{InfoPerson
|image=
|image=
|name=
|height=
|alias=
|alias=
|gender=
|gender=
Line 68: Line 72:
</pre>
</pre>
<includeonly>[[Category:Characters|{{PAGENAME}}]]</includeonly>
<includeonly>[[Category:Characters|{{PAGENAME}}]]</includeonly>
[[Category:Infobox templates|{{PAGENAME}}]]
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
</noinclude>

Revision as of 06:27, 2 April 2022

Infobox person
{{{image}}}
Height {{{height}}}
Gender {{{gender}}}
Born {{{born}}}
Occupation {{{occupation}}}
Family {{{family}}}

[view][talk]

This is a template made specifically for real-life people that have somehow been involved in the Diary of a Wimpy Kid series, but not mainly through acting. This covers real-life people that have been depicted in the books as well.

To use the template, copy and paste the following into the top of a person's page.

{{InfoPerson
|image=
|height=
|alias=
|gender=
|born=
|died=
|occupation=
|family=
|active=
|first=
|last=
}}