Template:Infobox officeholder: Difference between revisions

No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox mw-parser-output vcard" style="width: 22em; border: 1px solid #aaa; border-collapse: collapse; margin: 10px; float: right; background: #f9f9f9;">
<div class="infobox mw-parser-output vcard" style="width: 22em; max-width:100%; border: 1px solid #aaa; margin: 10px; float: right; background: #f9f9f9;">
     <table style="width: 100%; border: none;">
     <table style="width: 100%; border: none;">
         <!-- Name and Image -->
         <!-- Name and Image -->
Line 8: Line 8:
             <td colspan="2" style="text-align: center;">
             <td colspan="2" style="text-align: center;">
                 {{#if: {{{image|}}}
                 {{#if: {{{image|}}}
                     | [[File:{{{image}}}|thumb|200px|center]]}}
                     | [[File:{{{image}}}|200px|center]]}}
             </td>
             </td>
         </tr>
         </tr>
Line 201: Line 201:
     </table>
     </table>
</div>
</div>
<noinclude>
{{Infobox officeholder
| name              = Example Officeholder
| image            = Example_Image.jpg
| caption          = Example caption text
| office            = Example Position
| term_start        = January 1, 1950
| term_end          = December 31, 1960
| predecessor      = Previous Officeholder
| successor        = Next Officeholder
| office2          = Second Position
| term_start2      = January 1, 1961
| term_end2        = December 31, 1970
| predecessor2      = Previous Second Position
| successor2        = Next Second Position
| office3          = Third Position
| term_start3      = January 1, 1971
| term_end3        = December 31, 1980
| predecessor3      = Previous Third Position
| successor3        = Next Third Position
| birth_date        = January 1, 1930
| birth_place      = Example City, Example Country
| death_date        = January 1, 1990
| death_place      = Example City, Example Country
| nationality      = Example Nationality
| occupation        = Example Occupation
| alma_mater        = Example University
| children          = Number of Children
| spouse            = Example Spouse
| notable_works    = Example Work 1, Example Work 2
| awards            = Example Award 1, Example Award 2
| website          = www.example.com
}}
</noinclude>