Template:Infobox person: Difference between revisions

From WikiMD's Medical Encyclopedia

No edit summary
No edit summary
Line 1: Line 1:
<table class="infobox" style="width:22em; font-size: 0.9em; line-height: 1.4em; text-align: left;">
<includeonly>{{#ifeq:{{{child|}}}|yes||{{Infobox image|image={{{image|}}}|size={{{image_size|frameless}}}|alt={{{alt|}}}}}}
    <caption style="font-weight: bold; text-align: center;">{{{name|One}}}</caption>
{| class="infobox vcard" style="width: 22em; text-align: left; font-size: 90%;"
    <tbody>
|+ '''{{{name|{{PAGENAME}}}}}'''
        <tr>
|-
            <td style="text-align: center;">
| colspan="2" style="text-align: center;" | {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|}}}|{{{caption|}}}]]}}
                {{#if: {{{image|}}} | [[File:{{{image}}}|200px|center]] | <!-- No image provided --> }}
|-
            </td>
| '''Name'''
        </tr>
| {{{name|}}}
        <tr>
|-
            <th scope="row">Birth name</th>
| '''Birth name'''
            <td>{{{birthname|One}}}</td>
| {{{birthname|}}}
        </tr>
|-
        <tr>
| '''Birth date'''
            <th scope="row">Birth date</th>
| {{{birth_date|}}}
            <td>{{{birth_date|One}}}</td>
|-
        </tr>
| '''Birth place'''
        <tr>
| {{{birth_place|}}}
            <th scope="row">Birth place</th>
|-
            <td>{{{birth_place|One}}}</td>
| '''Death date'''
        </tr>
| {{{death_date|}}}
        <tr>
|-
            <th scope="row">Death date</th>
| '''Death place'''
            <td>{{{death_date|One}}}</td>
| {{{death_place|}}}
        </tr>
|-
        <tr>
| '''Alma mater'''
            <th scope="row">Death place</th>
| {{{alma_mater|}}}
            <td>{{{death_place|One}}}</td>
|-
        </tr>
| '''Occupation'''
        <tr>
| {{{occupation|}}}
            <th scope="row">Alma mater</th>
|-
            <td>{{{alma_mater|One}}}</td>
| '''Years active'''
        </tr>
| {{{years_active|}}}
        <tr>
|-
            <th scope="row">Occupation</th>
| '''Organization'''
            <td>{{{occupation|One}}}</td>
| {{{organization|}}}
        </tr>
|-
        <tr>
| '''Known for'''
            <th scope="row">Years active</th>
| {{{known_for|}}}
            <td>{{{years_active|One}}}</td>
|-
        </tr>
| '''Notable works'''
        <tr>
| {{{notable_works|}}}
            <th scope="row">Organization</th>
|-
            <td>{{{organization|One}}}</td>
| '''Spouse(s)'''
        </tr>
| {{{spouse|}}}
        <tr>
|-
            <th scope="row">Known for</th>
| '''Website'''
            <td>{{{known_for|One}}}</td>
| {{{website|}}}
        </tr>
|}
        <tr>
</includeonly><noinclude>
            <th scope="row">Notable works</th>
{{documentation}}
            <td>{{{notable_works|One}}}</td>
</noinclude>
        </tr>
        <tr>
            <th scope="row">Spouse</th>
            <td>{{{spouse|One}}}</td>
        </tr>
    </tbody>
</table>

Revision as of 21:45, 18 December 2024