Template:Infobox person: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| (19 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
< | <noinclude>{{Documentation}} | ||
{{Infobox person | |||
| name = Jimmy Wales | |||
| image = Jimmy Wales.jpg | |||
| caption =The image of Wikipedia founder. | |||
| occupation = Author | |||
| notable_works = [[Wikipedia]] | |||
{{ | | awards = | ||
}} | }} | ||
</noinclude> | |||
<div class="infobox" style="width: 22em; border: 1px solid #aaa; border-collapse: collapse; margin: 10px; float: right; background: #f9f9f9;"> | |||
<table style="width: 100%; border: none;"> | |||
< | <tr> | ||
<th colspan="2" style="background: #e9e9e9; text-align: center;">{{#if: {{{name|}}} | {{{name}}} | "Unknown Name"}}</th> | |||
</tr> | |||
<tr> | |||
<td colspan="2" style="text-align: center;"> | |||
{{#if: {{{image|}}} | |||
| [[File:{{{image}}}|thumb|200px|center]] | |||
| <span style="font-style: italic;">No image available</span> | |||
}} | |||
</td> | |||
</tr> | |||
{{#if: {{{caption|}}} | |||
| <tr> | |||
<td colspan="2" style="align: center; text-align: center; font-style: italic;">{{{caption}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{birth_date|}}} | |||
| <tr> | |||
<th style="text-align: left;">Born</th> | |||
<td>{{{birth_date}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{birth_place|}}} | |||
| <tr> | |||
<th style="text-align: left;">Place of Birth</th> | |||
<td>{{{birth_place}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{nationality|}}} | |||
| <tr> | |||
<th style="text-align: left;">Nationality</th> | |||
<td>{{{nationality}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{occupation|}}} | |||
| <tr> | |||
<th style="text-align: left;">Occupation</th> | |||
<td>{{{occupation}}}</td> | |||
</tr> | |||
<tr> | }} | ||
{{#if: {{{notable_works|}}} | |||
| <tr> | |||
<th style="text-align: left;">Notable Works</th> | |||
<td>{{{notable_works}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{awards|}}} | |||
| <tr> | |||
<th style="text-align: left;">Awards</th> | |||
<td>{{{awards}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{website|}}} | |||
| <tr> | |||
<th style="text-align: left;">Website</th> | |||
<td>{{{website}}}</td> | |||
</tr> | |||
}} | |||
</table> | |||
}} | |||
</tr> | |||
<tr> | |||
{{#if:{{{ | |||
}} | |||
< | |||
}} | |||
</tr> | |||
{{#if:{{{ | |||
}} | |||
<tr> | |||
</tr> | |||
}} | |||
{{#if:{{{ | |||
<tr> | |||
</tr> | |||
}} | |||
{{#if:{{{ | |||
}} | |||
<tr> | |||
</tr> | |||
}} | |||
{{#if:{{{ | |||
}} | |||
<tr> | |||
</tr> | |||
}} | |||
{{#if:{{{ | |||
<tr> | |||
</tr> | |||
}} | |||
{{#if:{{{ | |||
<tr> | |||
</tr> | |||
}} | |||
{{#if:{{{awards|}}}| | |||
<tr> | |||
</tr> | |||
}} | |||
{{#if:{{{website|}}}| | |||
<tr> | |||
</tr> | |||
}} | |||
</table> | |||
</div> | </div> | ||
Latest revision as of 18:45, 25 May 2026
Your wiki got a version of Template:Documentation that is only relevant to Templates Wiki! Click here to revert it.
For a documentation template you can use on your wiki, see Template:Documentation (copy) on Templates Wiki.
Template information, documentation, and installation instructions.
Expand the below text for usage and other information.
Expand the below text for usage and other information.
Template Documentation:
Note: The template above might be broken without the parameters; this is normal.
View, edit, or check the history of this documentation. (How does this work?)
Editors can experiment with this template's sandbox and testcases.
View, edit, or check the history of this documentation. (How does this work?)
Editors can experiment with this template's sandbox and testcases.
- Description
- A template for people articles.
- Syntax
- Add
at the top of the page with parameters as shown below.{{Infobox person|parameters}}
Usage
{{Infobox person
|name =
|image =
|gender =
|age =
|birth_name =
|birth_date =
|birth_place =
|Patents =
|Relatives =
|nationality =
|other_names =
|occupation =
|years_active =
|known_for =
|notable_works =
|home_town =
|height =
|weight =
|hair =
|eyes =
|website =
}}
Preview
| Some Name | |
|---|---|
|
|
|
| Some Name placeholder | |
| Born | 1 December 1988 |
| Place of Birth | Wikipedia |
| Nationality | Wikian |
| Occupation | Wiki writer |
| Notable Works | Infoboxes |
| Website | www.example.com |
Click here to refresh the preview
{{Infobox person
|name = Some Name
|image = Placeholder person.png
|caption = Some Name placeholder
|gender = Female
|age = 29
|birth_name = Some Other Name
|birth_date = 1 December 1988
|birth_place = Wikipedia
|death_date = 4 December 2017
|death_place = Fandom
|nationality = Wikian
|other_names = Some Pseudonym
|occupation = Wiki writer
|years_active = 2005 - 2017
|known_for = Editing templates
|notable_works = Infoboxes
|home_town = Internet
|height = 5'7"
|weight = 160 lbs.
|hair = Brown
|eyes = Blue
|website = www.example.com
}}
Installation Instructions
- Export this template, then import to install it.
Use edit summary:Copied from [[w:c:templates:Template:Infobox person]]to properly attribute this template's editors.
The above message will be enough for most cases; if there are additional instructions, you can see them below.
| Some Name | |
|---|---|
|
|
|
| Some Name placeholder | |
| Born | 1 December 1988 |
| Place of Birth | Wikipedia |
| Nationality | Wikian |
| Occupation | Wiki writer |
| Notable Works | Infoboxes |
| Website | www.example.com |
| Jimmy Wales | |
|---|---|
|
|
|
| The image of Wikipedia founder. | |
| Occupation | Author |
| Notable Works | Wikipedia |
| "Unknown Name" | |
|---|---|
No image available
|
