Difference between revisions of "Template:Infobox person"
Jump to navigation
Jump to search
(200px) |
(simplifying code) |
||
| Line 1: | Line 1: | ||
{| border=1 class="infobox bordered" style="width:300px;border:1px solid black;font-size:90%" cellpadding=2 cellspacing=4 | {| border=1 class="infobox bordered" style="width:300px;border:1px solid black;font-size:90%" cellpadding=2 cellspacing=4 | ||
|- | |- | ||
| − | !colspan="2" style="color: white; font-size: 120%; height: | + | !colspan="2" style="color: white; font-size: 120%; height: 24px; background:royalblue"| '''{{{name|{{PAGENAME}}}}}'''{{#if: {{{nativename<includeonly>|</includeonly>}}} |<br> ''{{{nativename}}}'' }}{{#if: {{{birthname<includeonly>|</includeonly>}}} |<br> ''{{{birthname}}}'' }} |
|- | |- | ||
| − | + | ! colspan="2"|{{#if:{{{image|}}}|[[File:{{{image}}}|290px]]|}}{{#if:{{{caption|}}}|<br><span style="font-size:90%">{{{caption|}}}</span>}} | |
| − | ! colspan="2"|{{#if:{{{image|}}}|[[ | + | |- |
| − | + | <!---------First term of office----------> | |
| − | <! | + | {{#if:{{{office|}}}| |
| − | {{#if:{{{office|}}} | | + | {{!}}colspan="2" align="center" style="font-size: 120%; height: 24px; background: thistle" {{!}} '''{{{office|}}} of {{{country|}}}''' |
| − | {{!}}colspan="2" align="center" style=" | + | {{!}}- |
}} | }} | ||
| − | + | {{#if:{{{term_start|}}}| | |
| − | + | {{!}}colspan="2" align="center"{{!}}'''Term of office'''<br>{{{term_start|}}} – {{#if:{{{term_end|}}} | {{{term_end|}}} }} | |
| − | {{#if:{{{term_start|}}} | | + | {{!}}- |
| − | {{!}}colspan="2" align="center | ||
}} | }} | ||
| − | + | {{#if:{{{previous|}}}| | |
| − | + | ! Preceded by | |
| − | {{#if:{{{previous|}}} | | + | {{!}} [[{{{previous}}}]] |
| − | + | {{!}}- | |
| − | {{!}} [[{{{previous | ||
}} | }} | ||
| − | + | {{#if:{{{next|}}}| | |
| − | + | ! Succeeded by | |
| − | {{#if:{{{next|}}} | | + | {{!}} [[{{{next}}}]] |
| − | + | {{!}}- | |
| − | {{!}} [[{{{next | ||
}} | }} | ||
| − | |||
<!---------Second term of office----------> | <!---------Second term of office----------> | ||
| − | {{#if:{{{office2|}}} | | + | {{#if:{{{office2|}}}| |
| − | {{!}}colspan="2" align="center" style=" | + | {{!}}colspan="2" align="center" style="font-size: 120%; height: 24px; background: thistle" {{!}} '''{{{office2|}}} of {{{country|}}}''' | |
| + | {{!}}- | ||
}} | }} | ||
| − | + | {{#if:{{{term_start2|}}}| | |
| − | + | {{!}}colspan="2" align="center" {{!}} '''Term of office'''<br>{{{term_start2|}}} - {{#if:{{{term_end2|}}} | {{{term_end2|}}} }} | |
| − | {{#if:{{{term_start2|}}} | | + | {{!}}- |
| − | {{!}}colspan="2" align="center | ||
}} | }} | ||
| − | + | {{#if:{{{party2|}}} | | |
| − | |||
| − | {{#if:{{{party2|}}} | | ||
{{!}}'''Political party''' | {{!}}'''Political party''' | ||
| − | {{!}} [[{{{party2|}}}]] | + | {{!}} [[{{{party2|}}}]] |
| + | {{!}}- | ||
}} | }} | ||
| − | + | {{#if:{{{previous2|}}}| | |
| − | |||
| − | {{#if:{{{previous2|}}}| | ||
{{!}}'''Preceded by''' | {{!}}'''Preceded by''' | ||
| − | {{!}} [[{{{previous2|}}}]] | + | {{!}} [[{{{previous2|}}}]] |
| + | {{!}}- | ||
}} | }} | ||
| − | + | {{#if:{{{next2|}}} | | |
| − | |||
| − | {{#if:{{{next2|}}} | | ||
{{!}}'''Succeeded by''' | {{!}}'''Succeeded by''' | ||
| − | {{!}} [[{{{next2|}}}]] | + | {{!}} [[{{{next2|}}}]] |
| + | {{!}}- | ||
}} | }} | ||
| − | |||
<!---------Third term of office----------> | <!---------Third term of office----------> | ||
| − | {{#if:{{{office3|}}} | | + | {{#if:{{{office3|}}} | |
| − | {{!}}colspan="2" align="center" style=" | + | {{!}}colspan="2" align="center" style="font-size: 120%; height: 24px; background: thistle" {{!}} '''{{{office3|}}} of {{{country|}}}''' |
| + | {{!}}- | ||
}} | }} | ||
| − | + | {{#if:{{{term_start3|}}}| | |
| − | + | {{!}}colspan="2" align="center"{{!}}'''Term of office'''<br>{{{term_start3|}}} – {{#if:{{{term_end3|}}} | {{{term_end3|}}} }} | |
| − | {{#if:{{{term_start3|}}} | | + | {{!}}- |
| − | {{!}}colspan="2" align="center | ||
}} | }} | ||
| − | + | {{#if:{{{party3|}}} | | |
| − | |||
| − | {{#if:{{{party3|}}} | | ||
{{!}} '''Political party''' | {{!}} '''Political party''' | ||
| − | {{!}} {{{party3|}}} | + | {{!}} {{{party3|}}} |
| + | {{!}}- | ||
}} | }} | ||
| − | + | {{#if:{{{previous3|}}} | | |
| − | |||
| − | {{#if:{{{previous3|}}} | | ||
{{!}} '''Preceded by''' | {{!}} '''Preceded by''' | ||
| − | {{!}} [[{{{previous3|}}}]] | + | {{!}} [[{{{previous3|}}}]] |
| + | {{!}}- | ||
}} | }} | ||
| − | + | {{#if:{{{next3|}}} | | |
| − | |||
| − | {{#if:{{{next3|}}} | | ||
{{!}}'''Succeeded by''' | {{!}}'''Succeeded by''' | ||
| − | {{!}} [[{{{next3|}}}]] | + | {{!}} [[{{{next3|}}}]] |
| + | {{!}}- | ||
}} | }} | ||
| − | |||
<!----------Life & death ----------> | <!----------Life & death ----------> | ||
| − | {{#if:{{{birth_date|}}} | + | {{#if:{{{birth_date|}}}{{{flourit|}}}{{{death_date|}}}{{{party|}}}{{{spouse|}}}{{{religion|}}} | |
| − | {{ | + | ! colspan="2" style="background:thistle; font-size:120%"{{!}}Personal details |
| − | + | {{!}}- | |
| − | {{ | ||
| − | |||
}} | }} | ||
| − | + | {{#if:{{{birth_date|}}}| | |
| − | {{#if:{{{ | + | ! Born |
| − | {{!}} | + | {{!}} {{{birth_date}}} {{#if:{{{birth_place|}}} | <br>{{{birth_place|}}} }} |
| − | {{ | + | {{!}}- |
}} | }} | ||
| − | {{!-}} | + | {{#if:{{{flourit|}}}| |
| − | {{#if:{{{death_date|}}} | | + | ! Flourished |
| + | {{!}} {{{flourit}}} | ||
| + | {{!}}- | ||
| + | }} | ||
| + | {{#if:{{{death_date|}}} | | ||
{{!}}'''Died''' | {{!}}'''Died''' | ||
| − | {{!}} {{{death_date}}} {{#if:{{{death_place|}}} | <br>{{{death_place|}}} | }}| | + | {{!}} {{{death_date}}} {{#if:{{{death_place|}}} | <br>{{{death_place|}}} }} |
| + | {{!}}- | ||
| + | }} | ||
| + | {{#if:{{{party|}}} | | ||
| + | ! Political Party | ||
| + | {{!}} {{{party}}} | ||
| + | {{!}}- | ||
}} | }} | ||
| − | + | {{#if:{{{spouse|}}} | | |
| − | + | ! Spouse | |
| − | {{#if:{{{ | + | {{!}} {{{spouse}}} {{#if:{{{spouse2|}}} | <br>{{{spouse2|}}} }} |
| − | {{!}} | + | {{!}}- |
| − | {{ | ||
}} | }} | ||
| − | + | {{#if:{{{religion|}}}| | |
| − | + | ! Religion | |
| − | {{#if:{{{ | + | {{!}} {{{religion}}} |
| − | + | {{!}}- | |
| − | {{!}} {{{ | ||
}} | }} | ||
| − | {{ | + | {{#if:{{{allegiance|}}}{{{branch|}}}{{{serviceyears|}}}{{{rank|}}}{{{unit|}}}{{{commands|}}}{{{battles|}}}{{{awards|}}} | |
| − | {{ | + | !colspan="2" style="background:#D8DFD8; font-size:120%"{{!}}Military Service |
| − | {{ | ||
| − | {{ | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{!}}- | {{!}}- | ||
| − | |||
{{#if:{{{nickname|}}}| | {{#if:{{{nickname|}}}| | ||
! Nickname(s) | ! Nickname(s) | ||
| Line 171: | Line 156: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
| − | |||
|}<noinclude> | |}<noinclude> | ||
<pre style="width:35em"> | <pre style="width:35em"> | ||
Revision as of 14:13, June 22, 2021
| Infobox person {{{nativename}}} {{{birthname}}} | |
|---|---|
{{Infobox person
|name =
|nativename =
|birthname =
|country =
|office =
|term_start =
|term_end =
|party =
|previous =
|next =
|office2 =
|term_start2 =
|term_end2 =
|party2 =
|previous2 =
|next2 =
|office3 =
|term_start3 =
|term_end3 =
|party3 =
|previous3 =
|next3 =
|birth_date =
|birth_place =
|flourit =
|death_place =
|death_date =
|party =
|spouse =
|spouse2 =
|religion =
|nickname =
|allegiance =
|branch =
|serviceyears =
|rank =
|unit =
|commands =
|battles =
|awards =
}}