Template:Infobox person: Difference between revisions

From WikiAlpha
No edit summary
No edit summary
Line 1: Line 1:
```wikitext id="infoboxsimplefixed"
<includeonly>
<includeonly>
{| class="infobox" style="width:300px;"
{| class="infobox" style="width:300px; float:right; clear:right; border:1px solid #a2a9b1; margin:0 0 1em 1em; background:#ffffff;"
|-
|-
! colspan="2" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="background:#d8d8d8; text-align:center; font-size:120%; padding:8px;" | {{{name|{{PAGENAME}}}}}
 
{{#if:{{{image|}}}|
|-
|-
| colspan="2" align="center" | [[File:{{{image|No image available.svg}}}|250px]]
| colspan="2" align="center" style="padding:8px;" |
[[File:{{{image}}}|250px]]
}}
 
{{#if:{{{birth_date|{{{birth_place|}}}}}}|
|-
|-
! Born
! Born
| {{{birth_date|}}}<br>{{{birth_place|}}}
| {{{birth_date|}}}{{#if:{{{birth_place|}}}|<br>{{{birth_place}}}|}}
}}
 
{{#if:{{{nationality|}}}|
|-
|-
! Nationality
! Nationality
| {{{nationality|}}}
| {{{nationality}}}
}}
 
{{#if:{{{occupation|}}}|
|-
|-
! Occupation
! Occupation
| {{{occupation|}}}
| {{{occupation}}}
}}
 
{{#if:{{{known_for|}}}|
|-
|-
! Known for
! Known for
| {{{known_for|}}}
| {{{known_for}}}
}}
 
{{#if:{{{education|}}}|
|-
|-
! Education
! Education
| {{{education|}}}
| {{{education}}}
}}
 
{{#if:{{{alma_mater|}}}|
|-
|-
! Alma mater
! Alma mater
| {{{alma_mater|}}}
| {{{alma_mater}}}
}}
 
{{#if:{{{height|}}}|
|-
|-
! Height
! Height
| {{{height|}}}
| {{{height}}}
}}
 
{{#if:{{{weight|}}}|
|-
|-
! Weight
! Weight
| {{{weight|}}}
| {{{weight}}}
}}
 
{{#if:{{{religion|}}}|
|-
|-
! Religion
! Religion
| {{{religion|}}}
| {{{religion}}}
}}
 
{{#if:{{{spouse|}}}|
|-
|-
! Spouse
! Spouse
| {{{spouse|}}}
| {{{spouse}}}
}}
 
{{#if:{{{children|}}}|
|-
|-
! Children
! Children
| {{{children|}}}
| {{{children}}}
}}
 
{{#if:{{{awards|}}}|
|-
|-
! Awards
! Awards
| {{{awards|}}}
| {{{awards}}}
}}
 
{{#if:{{{website|}}}|
|-
|-
! Website
! Website
| {{{website|}}}
| {{{website}}}
}}
 
|}
|}
</includeonly>
</includeonly>
Line 54: Line 99:
| image = ScottWoodward.jpg
| image = ScottWoodward.jpg
| birth_date = January 1, 1980
| birth_date = January 1, 1980
| birth_place = New York, United States
| birth_place = New York, USA
| nationality = American
| nationality = American
| occupation = Entrepreneur
| occupation = Entrepreneur
| known_for = Marketing
| known_for = Marketing
| education = Harvard University
| education = Harvard University
| alma_mater = Harvard University
| height = 5 ft 10 in
| height = 5 ft 10 in
| weight = 75 kg
| religion = Christianity
| spouse = Jane Doe
| spouse = Jane Doe
| children = 2
| awards = Business Award
| website = example.com
| website = example.com
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>
```

Revision as of 20:56, 5 June 2026

```wikitext id="infoboxsimplefixed"


Usage

{{Infobox person
| name = Scott Woodward
| image = ScottWoodward.jpg
| birth_date = January 1, 1980
| birth_place = New York, USA
| nationality = American
| occupation = Entrepreneur
| known_for = Marketing
| education = Harvard University
| height = 5 ft 10 in
| spouse = Jane Doe
| website = example.com
}}

```