Jump to content

Template:Infobox person: Difference between revisions

From Profile.lk
Bhashi (talk | contribs)
Created page with "{| class="infobox" style="width:250px; border:1px solid #aaa; background:#f9f9f9;" |- ! Name | {{{name|}}} |- {{#if:{{{birth_date|}}} | ! Birth date | {{{birth_date}}} }} |- {{#if:{{{occupation|}}} | ! Occupation | {{{occupation}}} }} |- {{#if:{{{awards|}}} | ! Awards | {{{awards}}} }} |- {{#if:{{{notes|}}} | ! Notes | {{{notes}}} }} |}"
 
Bhashi (talk | contribs)
No edit summary
 
(10 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;">
|-
            [[File:{{{image}}}|200px|alt={{{name|}}}]]
{{#if:{{{birth_date|}}}
        </td>
| ! Birth date
    </tr>
  | {{{birth_date}}}
}}
}}
|-
    <tr>
{{#if:{{{occupation|}}}
        <th>Name</th>
| ! Occupation
        <td>{{{name|}}}</td>
  | {{{occupation}}}
    </tr>
{{#if:{{{occupation|}}}|
    <tr>
        <th>Occupation</th>
        <td>{{{occupation}}}</td>
    </tr>
}}
}}
|-
{{#if:{{{website|}}}|
{{#if:{{{awards|}}}
    <tr>
| ! Awards
        <th>Website</th>
  | {{{awards}}}
        <td>{{{website}}}</td>
    </tr>
}}
}}
|-
</table>
{{#if:{{{notes|}}}
| ! Notes
  | {{{notes}}}
}}
|}

Latest revision as of 07:51, 2 October 2025

Name