Jump to content

Template:Infobox person: Difference between revisions

From Profile.lk
Bhashi (talk | contribs)
No edit summary
Bhashi (talk | contribs)
No edit summary
 
(4 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|}}}|
|-
    <tr>
! Name
        <td colspan="2" style="text-align:center; padding:5px;">
| {{{name|}}}
            [[File:{{{image}}}|200px|alt={{{name|}}}]]
 
        </td>
{{#if:{{{birth_date|}}}|   {{!}}-                   ! Birth date              {{!}} {{{birth_date}}}   }}{{#if:{{{occupation|}}}| {{!}}-                    ! Occupation
    </tr>
{{!}} {{{occupation}}}   }}{{#if:{{{awards|}}}|    {{!}}-                    ! Awards
}}
{{!}} {{{awards}}}       }}{{#if:{{{notes|}}}|       {{!}}-                    ! Notes
    <tr>
{{!}} {{{notes}}}         }}
        <th>Name</th>
 
        <td>{{{name|}}}</td>
|}
    </tr>
{{#if:{{{occupation|}}}|
     <tr>
        <th>Occupation</th>
        <td>{{{occupation}}}</td>
    </tr>
}}
{{#if:{{{website|}}}|
    <tr>
        <th>Website</th>
        <td>{{{website}}}</td>
    </tr>
}}
</table>

Latest revision as of 07:51, 2 October 2025

Name