Template:Infobox person: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly> {| class="infobox vcard" style="float:right; clear:right; width:22em; font-size:90%; line-height:1.4em; border:1px solid #aaa; background:#f9f9f9; padding:0.2em; margin:0 0 1em 1em;" |- ! colspan="2" style="background:#b0c4de; text-align:center; font-size:110%;" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} |- {{#if:{{{image|}}}| | colspan="2" style="text-align:center;" | [[File:{{{image}}}|200px]] }} {{#if:{{{caption|}}}| | colspan="2" style="text-align:ce..." |
|||
| Line 47: | Line 47: | ||
<noinclude> | <noinclude> | ||
This template creates a simple biography vCard infobox, floated to the right side of the page. | This template creates a simple biography vCard infobox, floated to the right side of the page. | ||
<includeonly> | |||
{| class="infobox vcard" style="float:right; clear:right; width:22em; font-size:90%; line-height:1.4em; border:1px solid #aaa; background:#f9f9f9; padding:0.2em; margin:0 0 1em 1em;" | |||
|- | |||
! colspan="2" style="background:#b0c4de; text-align:center; font-size:110%;" | {{{name|{{PAGENAME}}}}} | |||
|- | |||
| colspan="2" style="text-align:center;" | [[File:{{{image|Example.jpg}}}|200px]] | |||
|- | |||
| colspan="2" style="text-align:center; font-size:85%;" | {{{caption|}}} | |||
|- | |||
! Born | |||
| {{{birth_date|–}}}<br />{{{birth_place|}}} | |||
|- | |||
! Died | |||
| {{{death_date|}}}<br />{{{death_place|}}} | |||
|- | |||
! Nationality | |||
| {{{nationality|}}} | |||
|- | |||
! Occupation | |||
| {{{occupation|}}} | |||
|- | |||
! Known for | |||
| {{{known_for|}}} | |||
|- | |||
! Notable works | |||
| {{{notable_works|}}} | |||
|- | |||
! Awards | |||
| {{{awards|}}} | |||
|} | |||
</includeonly> | |||
<noinclude> | |||
This is a simple biography vCard infobox template. | |||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{Infobox biography vcard | {{Infobox biography vcard | ||
| name = | | name = John Doe | ||
| image = Example.jpg | | image = Example.jpg | ||
| caption = | | caption = Sample caption | ||
| birth_date = | | birth_date = 1 January 1990 | ||
| birth_place = | | birth_place = New York, USA | ||
| death_date = | | death_date = | ||
| death_place = | | death_place = | ||
| nationality = | | nationality = American | ||
| occupation = | | occupation = Software Engineer | ||
| known_for = | | known_for = Open-source projects | ||
| notable_works= | | notable_works= Project Alpha, Project Beta | ||
| awards = | | awards = Best Dev Award 2020 | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||