Template:Infobox person: Difference between revisions

From Bhikitia Pro, An open encyclopedia
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>
<div class="infobox" style="width: 22em; border: 1px solid #aaa; border-collapse: collapse; margin: 10px; float: right; background: #f9f9f9;">
<div class="infobox" style="width: 100%; max-width: 22em; border: 1px solid #aaa; border-collapse: collapse; margin: 10px auto; background: #f9f9f9;">
     <table style="width: 100%; border: none;">
     <table style="width: 100%; border: none;">
         <tr>
         <tr>
             <th colspan="2" style="background: #e9e9e9; text-align: center;">{{#if: {{{name|}}} | {{{name}}} | "Unknown Name"}}</th>
             <th colspan="2" style="background: #e9e9e9; text-align: center; padding: 5px;">{{#if: {{{name|}}} | {{{name}}} | "Unknown Name"}}</th>
         </tr>
         </tr>
         <tr>
         <tr>
             <td colspan="2" style="text-align: center;">
             <td colspan="2" style="text-align: center;">
                 {{#if: {{{image|}}}
                 {{#if: {{{image|}}}
                     | [[File:{{{image}}}|thumb|150px|center]]
                     | [[File:{{{image}}}|150px|thumb}]]
                     | <span style="font-style: italic;">No image available</span>
                     | <span style="font-style: italic;">No image available</span>
                 }}
                 }}
Line 15: Line 15:
         {{#if: {{{caption|}}}
         {{#if: {{{caption|}}}
             | <tr>
             | <tr>
                 <td colspan="2" style="text-align: center; font-size: smaller; font-style: italic;">{{{caption}}}</td>
                 <td colspan="2" style="text-align: center; font-size: smaller; font-style: italic; padding: 5px;">{{{caption}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{birth_date|}}}
         {{#if: {{{birth_date|}}}
             | <tr>
             | <tr>
                 <th style="text-align: left;">Born:</th>
                 <th style="text-align: left; padding: 5px;">Born:</th>
                 <td>{{{birth_date}}}</td>
                 <td style="padding: 5px;">{{{birth_date}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{birth_place|}}}
         {{#if: {{{birth_place|}}}
             | <tr>
             | <tr>
                 <th style="text-align: left;">Place of Birth:</th>
                 <th style="text-align: left; padding: 5px;">Place of Birth:</th>
                 <td>{{{birth_place}}}</td>
                 <td style="padding: 5px;">{{{birth_place}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{nationality|}}}
         {{#if: {{{nationality|}}}
             | <tr>
             | <tr>
                 <th style="text-align: left;">Nationality:</th>
                 <th style="text-align: left; padding: 5px;">Nationality:</th>
                 <td>{{{nationality}}}</td>
                 <td style="padding: 5px;">{{{nationality}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{occupation|}}}
         {{#if: {{{occupation|}}}
             | <tr>
             | <tr>
                 <th style="text-align: left;">Occupation:</th>
                 <th style="text-align: left; padding: 5px;">Occupation:</th>
                 <td>{{{occupation}}}</td>
                 <td style="padding: 5px;">{{{occupation}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{notable_works|}}}
         {{#if: {{{notable_works|}}}
             | <tr>
             | <tr>
                 <th style="text-align: left;">Notable Works:</th>
                 <th style="text-align: left; padding: 5px;">Notable Works:</th>
                 <td>{{{notable_works}}}</td>
                 <td style="padding: 5px;">{{{notable_works}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{awards|}}}
         {{#if: {{{awards|}}}
             | <tr>
             | <tr>
                 <th style="text-align: left;">Awards:</th>
                 <th style="text-align: left; padding: 5px;">Awards:</th>
                 <td>{{{awards}}}</td>
                 <td style="padding: 5px;">{{{awards}}}</td>
             </tr>
             </tr>
         }}
         }}
     </table>
     </table>
</div>
</div>

Revision as of 18:00, 4 November 2024

"Unknown Name"
               No image available