Jump to content

Template:Infobox person: Difference between revisions

From Profile.lk
Bhashi (talk | contribs)
No edit summary
Bhashi (talk | contribs)
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox" style="width:250px; border:1px solid #aaa; background:#f9f9f9;"
<table class="infobox" style="float: right; margin-left: 1em; width:250px; border:1px solid #aaa; background:#f9f9f9;">
|-
{{#if:{{{image|}}}|
! Name
    <tr>
| {{{name|}}}
        <td colspan="2" style="text-align:center; padding:5px;">
{{#if:{{{birth_date|}}}|
            [[File:{{{image}}}|200px|alt={{{name|}}}]]
{{!}}-
        </td>
! Birth date
    </tr>
{{!}} {{{birth_date}}}
}}
}}
    <tr>
        <th>Name</th>
        <td>{{{name|}}}</td>
    </tr>
{{#if:{{{occupation|}}}|
{{#if:{{{occupation|}}}|
{{!}}-
    <tr>
! Occupation
        <th>Occupation</th>
{{!}} {{{occupation}}}
        <td>{{{occupation}}}</td>
    </tr>
}}
}}
{{#if:{{{awards|}}}|
{{#if:{{{website|}}}|
{{!}}-
    <tr>
! Awards
        <th>Website</th>
{{!}} {{{awards}}}
        <td>{{{website}}}</td>
    </tr>
}}
}}
{{#if:{{{notes|}}}|
</table>
{{!}}-
! Notes
{{!}} {{{notes}}}
}}
|}

Latest revision as of 07:51, 2 October 2025

Name