Template:Infobox politician: Difference between revisions

From Bhikitia Pro, An open encyclopedia
Blossom (talk | contribs)
m Protected "Template:Infobox politician" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
Blossom (talk | contribs)
No edit summary
Line 17: Line 17:
         }}
         }}


        <!-- Position as a Header -->
         {{#if: {{{office|}}}
         {{#if: {{{position|}}}
             | <tr>
             | <tr>
                 <th colspan="2" style="background: #e9e9e9; text-align: center; font-size: 18px; padding: 5px;">{{{position}}}</th>
                 <th colspan="2" style="background: #e9e9e9; text-align: center; font-size: 18px; padding: 5px;">{{{office}}}</th>
             </tr>
             </tr>
         }}
         }}
 
{{#if: {{{office_holder_since|}}} |  
        <!-- Term Start and End in one line -->
        {{#if: {{{office_holder_since|}}} |  
             <tr>
             <tr>
                 <td style="text-align: center; font-size: 16px;">Term Start: {{{office_holder_since}}}</td>
                 <td style="text-align: center; font-size: 13px;">{{{office_holder_since}}}</td>
                 <td style="text-align: center; font-size: 16px;">Term End: {{{office_holder_until}}}</td>
                 <td style="text-align: center; font-size: 13px;">{{{office_holder_until}}}</td>
             </tr>
             </tr>
         }}
         }}
 
<tr>
        <!-- Personal Info Section -->
        <tr>
             <th colspan="2" style="background: #e9e9e9; text-align: center; font-size: 16px; padding: 5px;">Personal Info</th>
             <th colspan="2" style="background: #e9e9e9; text-align: center; font-size: 16px; padding: 5px;">Personal Info</th>
         </tr>
         </tr>
Line 105: Line 100:
| image            = Example_Image.jpg
| image            = Example_Image.jpg
| caption          = Example caption text
| caption          = Example caption text
| position          = Example Position
| office            = Example Position
| office_holder_since = January 1, 1950
| office_holder_since = January 1, 1950
| office_holder_until = December 31, 1960
| office_holder_until = December 31, 1960

Revision as of 16:59, 10 November 2024

Infobox politician
Personal Info


Example Officeholder
File:Example Image.jpg
Example caption text
Example Position
January 1, 1950 December 31, 1960
Personal Info
Born January 1, 1900 in Example birth place
Nationality Example nationality
Occupation Politician
Alma Mater Example University
Children 2
Spouse Example Spouse
Notable Works Example works
Awards Example awards
Website https://example.com