Template:Person: Difference between revisions

No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div class="infobox" style="width: 22em; border: 1px solid #aaa; border-collapse: collapse; margin: 10px; float: right; background: #f9f9f9; word-wrap: break-word; overflow-wrap: break-word;">
<div class="infobox" style="width: 22em; border: 1px solid #aaa; border-collapse: collapse; margin: 10px; float: right; background: #f9f9f9; word-wrap: break-word; overflow-wrap: break-word;">
    <table style="width: 100%; border: none;table-layout: fixed;">
<table style="width: 100%; border: none;table-layout: fixed;">
        <tr>
<tr>
            <th colspan="2" style="background: #e9e9e9; text-align: center;">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}}}}</th>
<th colspan="2" style="background: #e9e9e9; text-align: center;">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}}}}</th>
        </tr>
</tr>
        <tr> <td colspan="2" style="text-align: center;"> {{#if: {{{image|}}} | [[File:{{{image}}}|thumb|200px|center]] }} </td> </tr> {{#if: {{{caption|}}} | <tr> <td colspan="2" style="align: center; text-align: center; font-style: italic;">{{{caption}}}</td> </tr> }}
<tr>  
         {{#if: {{{birth_date|}}}
<td colspan="2" style="text-align: center;"> {{#if: {{{image|}}} | [[File:{{{image}}}|thumb|200px|center]] }} </td> </tr> {{#if: {{{caption|}}} | <tr> <td colspan="2" style="align: center; text-align: center; font-style: italic;">{{{caption}}}</td> </tr> }}
{{#if: {{{birth_date|}}}
| <tr>
<th style="text-align: left;">Birth Date</th>
<td>{{{birth_date}}}</td>
</tr>
}}
{{#if: {{{birth_place|}}}
| <tr>
<th style="text-align: left;">Birth Place</th>
<td>{{{birth_place}}}</td>
</tr>
}}
{{#if: {{{nationality|}}}
| <tr>
<th style="text-align: left;">Nationality</th>
<td>{{{nationality}}}</td>
</tr>
}}
{{#if: {{{citizenship|}}}
| <tr>
<th style="text-align: left;">Citizenship</th>
<td>{{{citizenship}}}</td>
</tr>
}}
         {{#if: {{{residence|}}}
             | <tr>
             | <tr>
                 <th style="text-align: left;">Birth Date</th>
                 <th style="text-align: left;">Residence</th>
                 <td>{{{birth_date}}}</td>
                 <td>{{{residence}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{birth_place|}}}
         {{#if: {{{occupation|}}}
             | <tr>
             | <tr>
                 <th style="text-align: left;">Birth Place</th>
                 <th style="text-align: left;">Occupation</th>
                 <td>{{{birth_place}}}</td>
                 <td>{{{occupation}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{nationality|}}}
         {{#if: {{{height|}}}
             | <tr>
             | <tr>
                 <th style="text-align: left;">Nationality</th>
                 <th style="text-align: left;">Height</th>
                 <td>{{{nationality}}}</td>
                 <td>{{{height}}}</td>
            </tr>
        }}
        {{#if: {{{citizenship|}}}
            | <tr>
                <th style="text-align: left;">Citizenship</th>
                <td>{{{citizenship}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{residence|}}}
         {{#if: {{{parents|}}}
             | <tr>
             | <tr>
                 <th style="text-align: left;">Residence</th>
                 <th style="text-align: left;">Parents</th>
                 <td>{{{residence}}}</td>
                 <td>{{{parents}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{occupation|}}}
         {{#if: {{{spouse|}}}
             | <tr>
             | <tr>
                 <th style="text-align: left;">Occupation</th>
                 <th style="text-align: left;">Spouse</th>
                 <td>{{{occupation}}}</td>
                 <td>{{{spouse}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{height|}}}
         {{#if: {{{childern|}}}
             | <tr>
             | <tr>
                 <th style="text-align: left;">Height</th>
                 <th style="text-align: left;">Childern (s)</th>
                 <td>{{{height}}}</td>
                 <td>{{{childern}}}</td>
             </tr>
             </tr>
         }}
         }}
Line 51: Line 70:
                 <th style="text-align: left;">Known For</th>
                 <th style="text-align: left;">Known For</th>
                 <td>{{{known_for}}}</td>
                 <td>{{{known_for}}}</td>
            </tr>
        }}
        {{#if: {{{education|}}}
            | <tr>
                <th style="text-align: left;">Education</th>
                <td>{{{education}}}</td>
             </tr>
             </tr>
         }}
         }}