Difference between revisions of "Template:Infobox person"

From Conservapedia
Jump to: navigation, search
(New page: <noinclude><!--</noinclude>{| class=infobox ! colspan=2 style="background:#efefef; font-size:150%;" | {{{name|{{PAGENAME}}}}} |- align=center {{#if:{{{image|}}}|{{!}} colspan=2 {{!}} [[Ima...)
 
Line 1: Line 1:
<noinclude><!--</noinclude>{| class=infobox
+
{| class="infobox bordered" style="border:2px solid black; float: width:23em; right; margin: 0 0 0.5em 0.5em; text-align: left; font-size: 85%; margin-left:5px" border=0 align="right" cellpadding="2" cellspacing="0" width="250"
! colspan=2 style="background:#efefef; font-size:150%;" | {{{name|{{PAGENAME}}}}}
+
|- align=center
+
{{#if:{{{image|}}}|{{!}} colspan=2 {{!}} [[Image:{{{image}}}|200px]]}}
+
|- align=center
+
{{#if:{{{imagedesc|}}}|{{!}} colspan=2 {{!}} <small>{{{imagedesc}}}</small>}}
+
|- align=center
+
{{#if:{{{byline|}}}|{{!}} colspan=2 {{!}} <small>© {{{byline}}}</small>}}
+
|- bgcolor=#efefef
+
! colspan=2 | Persondata
+
 
|-
 
|-
| '''Born:''' || {{{born}}} {{#if:{{{birthplace|}}}|<br>{{{birthplace}}}}}
+
!colspan="2" align="center" style="color: white; font-size: 120%; height: 20px; background: Royalblue no-repeat scroll top left;"| '''{{{name|{{PAGENAME}}}}}'''
 
|-
 
|-
{{#if:{{{dead|}}}|{{!}} '''Dead:''' {{!}}{{!}} {{{dead}}} {{#if:{{{deathplace|}}}|<br>{{{deathplace}}}}}}}
+
<!----------Image---------->
|-
+
{{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|200px]]|}}
| '''Nationality:''' || {{{nationality}}}
+
{{!-}}
|-
+
<!----------First term of office---------->
{{#if:{{{party|}}}|{{!}} '''Political party:''' {{!}}{{!}} {{{party}}}}}
+
{{#if:{{{seq|}}} | <!--then:-->
|-
+
{{#ifeq: {{{office|}}}
{{#if:{{{spouse|}}}|{{!}} '''Spouse:''' {{!}}{{!}} {{{spouse}}}}}
+
|-
+
{{#if:{{{religion|}}}|{{!}} '''Religion:''' {{!}}{{!}} {{{religion}}}}}
+
  
|- bgcolor=#efefef
+
{{!}}colspan="2" align="center" style="color: white; font-size: 120%; height: 24px; background: darkblue no-repeat scroll top left;" <hr/>{{!}} '''{{{office|}}} of {{{country|}}}'''
{{#if:{{{position1|}}}|! colspan=2 {{!}} {{{position1}}}}}
+
}}
|-
+
}}
{{#if:{{{period1|}}}|{{!}} '''Period:''' {{!}}{{!}} {{{period1}}}}}
+
{{!-}}
|-
+
<!----------Term---------->
{{#if:{{{predecessor1|}}}|{{!}} '''Predecessor:''' {{!}}{{!}} {{{predecessor1}}}}}
+
{{#if:{{{term_start|}}} | <!--then:-->
|-
+
{{!}}colspan="2" align="center" style="color: black;" {{!}}'''Term of office'''<br>{{{term_start|}}} - {{#if:{{{term_end|}}} | {{{term_end|}}} | }} | <!--else-->
{{#if:{{{successor1|}}}|{{!}} '''Successor:''' {{!}}{{!}} {{{successor1}}}}}
+
}}
 +
{{!-}}
 +
<!---------Party---------->
 +
{{#if:{{{party|}}} | <!--then:-->
 +
{{!}} '''Political party '''
 +
{{!}} [[{{{party|}}}]] | <!--else-->
 +
}}
 +
{{!-}}
 +
<!------Predecessor------->
 +
{{#if:{{{previous|}}} | <!--then:-->
 +
{{!}}'''Preceded by'''
 +
{{!}} [[{{{previous|}}}]] |<!--else-->
 +
}}
 +
{{!-}}
 +
<!-----Successor---------->
 +
{{#if:{{{next|}}} | <!--then:-->
 +
{{!}}'''Succeeded by'''
 +
{{!}} [[{{{next|}}}]] |<!--else-->
 +
}}
 +
{{!-}}
 +
<!---------Second term of office---------->
 +
{{#if:{{{seq2|}}} | <!--then:-->
 +
{{#ifeq: {{{office2|}}} | vice |<!--then:-->
  
|- bgcolor=#efefef
+
{{!}}colspan="2" align="center" style="color: black ; font-size: 120%; height: 24px; background: thistle no-repeat scroll top left;" <hr/>{{!}} '''{{{office|}}} of {{{country|}}}''' |<!--else-->
{{#if:{{{position2|}}}|! colspan=2 {{!}} {{{position2}}}}}
+
|-
+
{{#if:{{{period2|}}}|{{!}} '''Period:''' {{!}}{{!}} {{{period2}}}}}
+
|-
+
{{#if:{{{predecessor2|}}}|{{!}} '''Predecessor:''' {{!}}{{!}} {{{predecessor2}}}}}
+
|-
+
{{#if:{{{successor2|}}}|{{!}} '''Successor:''' {{!}}{{!}} {{{successor2}}}}}
+
  
|- bgcolor=#efefef
+
}}
{{#if:{{{signature|}}}|! colspan=2 {{!}} Signature}}
+
}}
|- align=center
+
{{!-}}
{{#if:{{{signature|}}}|{{!}} colspan=2 {{!}} [[Image:{{{signature}}}]]}}
+
<!----------Term---------->
|}
+
{{#if:{{{term_start2|}}} | <!--then:-->
<noinclude>-->
+
{{!}}colspan="2" align="center" style="color: black;" {{!}}'''Term of office'''<br>{{{term_start2|}}} - {{#if:{{{term_end2|}}} | {{{term_end2|}}} | }} | <!--else-->
<pre>
+
}}
{{Infobox person
+
{{!-}}
|name=
+
<!---------Party---------->
|image=
+
{{#if:{{{party2|}}} | <!--then:-->
|imagedesc=
+
{{!}}'''Political party'''
|byline=
+
{{!}} [[{{{party2|}}}]] |<!--else-->
|born=
+
}}
|birthplace=
+
{{!-}}
|dead=
+
<!------Predecessor------->
|deathplace=
+
{{#if:{{{previous2|}}}| <!--then:-->
|nationality=
+
{{!}}'''Preceded by'''
|party=
+
{{!}} [[{{{previous2|}}}]] | <!--else-->
|spouse=
+
}}
|religion=
+
{{!-}}
 +
<!-----Successor---------->
 +
{{#if:{{{next2|}}} | <!--then:-->
 +
{{!}}'''Succeeded by'''
 +
{{!}} [[{{{next2|}}}]] | <!--else-->
 +
}}
 +
{{!-}}
 +
<!---------Third term of office---------->
 +
{{#if:{{{seq3|}}} | <!--then:-->
 +
{{#ifeq: {{{office3|}}} |  vice | <!--then:-->
  
|position1=
+
{{!}}colspan="2" align="center" style="color: black; font-size: 120%; height: 24px; background: thistle no-repeat scroll top left;" <hr/>{{!}} '''{{#ifeq: {{#expr: {{{seq3|}}} = 11 or {{{seq3|}}} = 12 or {{{seq3|}}} = 13 }} | 0 | {{#ifeq: {{#expr: {{{seq3|}}} mod 10}}| 1 | {{{seq3|}}}<sup>st</sup> | {{#ifeq: {{#expr: {{{seq3|}}} mod 10}} | 2 | {{{seq3|}}}<sup>nd</sup> | {{#ifeq: {{#expr: {{{seq3|}}} mod 10}}| 3 | {{{seq3|}}}<sup>rd</sup> | {{{seq3|}}}<sup>th</sup>  }}  }} }}| {{{seq3|}}}<sup>th</sup> }} Vice-President of {{{country|the United States}}}''' |<!--else-->
|period1=
+
|predecessor1=
+
|successor1=
+
  
|position2=
+
{{!}}colspan="2" align="center" style="color: black; font-size: 120%; height: 24px; background: plum no-repeat scroll top left;" <hr/>{{!}} '''{{#ifeq: {{#expr: {{{seq3|}}} = 11 or {{{seq3|}}} = 12 or {{{seq3|}}} = 13 }} | 0 | {{#ifeq: {{#expr: {{{seq3|}}} mod 10}}| 1 | {{{seq3|}}}<sup>st</sup> | {{#ifeq: {{#expr: {{{seq3|}}} mod 10}} | 2 | {{{seq3|}}}<sup>nd</sup> | {{#ifeq: {{#expr: {{{seq3|}}} mod 10}}| 3 | {{{seq3|}}}<sup>rd</sup> | {{{seq3|}}}<sup>th</sup>  }}  }} }}| {{{seq3|}}}<sup>th</sup> }} President of {{{country|the United States}}}'''
|period2=
+
|predecessor2=
+
|successor2=
+
 
+
|signature=
+
 
}}
 
}}
</pre></noinclude>
+
}}
 +
{{!-}}
 +
<!----------Term---------->
 +
{{#if:{{{term_start3|}}} | <!--then:-->
 +
{{!}}colspan="2" align="center" style="color: black;" {{!}}'''Term of office'''<br>{{{term_start3|}}} - {{#if:{{{term_end3|}}} | {{{term_end3|}}} | }} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!---------Party---------->
 +
{{#if:{{{party3|}}} | <!--then:-->
 +
{{!}} '''Political party'''
 +
{{!}} [[{{{party3|}}}]] | <!--else-->
 +
}}
 +
{{!-}}
 +
<!-----Presidents---->
 +
{{#if:{{{pres3|}}} | <!--then:-->
 +
{{!}} '''President'''{{# if:{{{2pres3|}}}|s}}
 +
{{!}} [[{{{pres3|}}}]] {{#if:{{{pres_dates3|}}} | ({{{pres_dates3|}}}) | }}{{#if:{{{2pres3|}}} | <br>[[{{{2pres3|}}}]] {{#if:{{{2pres_dates3|}}} | ({{{2pres_dates3|}}}) | }} | }}{{#if:{{{3pres3|}}} | <br>[[{{{3pres3|}}}]] {{#if:{{{3pres_dates3|}}} | ({{{3pres_dates3|}}}) | }} | }}{{#if:{{{4pres3|}}} | <br>[[{{{4pres3|}}}]] {{#if:{{4{pres_dates3|}}} | ({{{4pres_dates3|}}}) | }} | }} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!-----Vice Presidents---->
 +
{{#if:{{{vp3|}}} | <!--then:-->
 +
{{!}} '''Vice President'''{{# if:{{{2vp3|}}}|s}}
 +
{{!}} [[{{{vp3|}}}]] {{#if:{{{vp_dates3|}}} | ({{{vp_dates3|}}}) | }}{{#if:{{{2vp3|}}} | <br>[[{{{2vp3|}}}]] {{#if:{{{2vp_dates3|}}} | ({{{2vp_dates3|}}}) | }} | }}{{#if:{{{3vp3|}}}| <br>[[{{{3vp3|}}}]] {{#if:{{{3vp_dates3|}}} | ({{{3vp_dates3|}}}) | }} | }}{{#if:{{{4vp3|}}} | <br>[[{{{4vp3|}}}]] {{#if:{{4{vp_dates3|}}} | ({{{4vp_dates3|}}}) | }} | }} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!------Predecessor------->
 +
{{#if:{{{previous3|}}} | <!--then:-->
 +
{{!}} '''Preceded by'''
 +
{{!}} [[{{{previous3|}}}]] |<!--else-->
 +
}}
 +
{{!-}}
 +
<!-----Successor---------->
 +
{{#if:{{{next3|}}} | <!--then:-->
 +
{{!}}'''Succeeded by'''
 +
{{!}} [[{{{next3|}}}]] | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----------Life & death ---------->
 +
{{#if:{{{birth_date|}}} | <!--then:-->
 +
{{!}}colspan="2"{{!}}<hr/>
 +
{{!-}}
 +
{{!}} '''Born'''
 +
{{!}} {{{birth_date}}} {{#if:{{{birth_place|}}} | <br>[[{{{birth_place|}}}]] | }}| <!--else-->
 +
}}
 +
{{!-}}
 +
{{#if:{{{death_date|}}} | <!--then:-->
 +
{{!}}'''Died'''
 +
{{!}} {{{death_date}}} {{#if:{{{death_place|}}} | <br>[[{{{death_place|}}}]] | }}| <!--else-->
 +
}}
 +
{{!-}}
 +
<!----------Spouse, etc.---------->
 +
{{#if:{{{spouse|}}} |<!--then:-->
 +
{{!}}'''Spouse'''
 +
{{!}} {{{spouse}}}{{#if:{{{spouse2|}}} | <br>{{{spouse2|}}} | }} | <!--else-->
 +
}}
 +
{{!-}}
 +
{{#if:{{{religion|}}} | <!--then:-->
 +
{{!}}'''Religion'''
 +
{{!}} {{{religion}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
|}

Revision as of 09:28, 6 October 2008

Infobox person