Difference between revisions of "Template:Infobox person"

From Conservapedia
Jump to: navigation, search
Line 7: Line 7:
 
{{!-}}
 
{{!-}}
 
<!----------First term of office---------->
 
<!----------First term of office---------->
{{#if:{{{seq|}}} | <!--then:-->
+
{{#if:{{{seq|}}} | prime | <!--then:-->
 
{{#ifeq: {{{office|}}}
 
{{#ifeq: {{{office|}}}
  
{{!}}colspan="2" align="center" style="color: white; font-size: 120%; height: 24px; background: darkblue no-repeat scroll top left;" <hr/>{{!}} '''{{{office|}}} of {{{country|}}}'''
+
{{!}}colspan="2" align="center" style="color: white; font-size: 120%; height: 24px; background: darkblue no-repeat scroll top left;" <hr/>{{!}} '''{{{office|Prime Minister}}} of {{{country|}}}'''
 
}}
 
}}
 
}}
 
}}
Line 39: Line 39:
 
<!---------Second term of office---------->
 
<!---------Second term of office---------->
 
{{#if:{{{seq2|}}} | <!--then:-->
 
{{#if:{{{seq2|}}} | <!--then:-->
{{#ifeq: {{{office2|}}} | vice |<!--then:-->
+
{{#ifeq: {{{office2|}}} | prime |<!--then:-->
  
{{!}}colspan="2" align="center" style="color: black ; font-size: 120%; height: 24px; background: thistle no-repeat scroll top left;" <hr/>{{!}} '''{{{office|}}} of {{{country|}}}''' |<!--else-->
+
{{!}}colspan="2" align="center" style="color: black ; font-size: 120%; height: 24px; background: thistle no-repeat scroll top left;" <hr/>{{!}} '''{{{office|Prime Minister}}} of {{{country|}}}''' |<!--else-->
  
 
}}
 
}}
Line 71: Line 71:
 
<!---------Third term of office---------->
 
<!---------Third term of office---------->
 
{{#if:{{{seq3|}}} | <!--then:-->
 
{{#if:{{{seq3|}}} | <!--then:-->
{{#ifeq: {{{office3|}}} | vice | <!--then:-->
+
{{#ifeq: {{{office3|}}} | prime | <!--then:-->
  
{{!}}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-->
+
{{!}}colspan="2" align="center" style="color: black; font-size: 120%; height: 24px; background: thistle no-repeat scroll top left;" <hr/>{{!}} '''{{{office|Prime Minister}}} of {{{country|}}}''' |<!--else-->
  
{{!}}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}}}'''
 
 
}}
 
}}
 
}}
 
}}
Line 87: Line 86:
 
{{#if:{{{party3|}}} | <!--then:-->
 
{{#if:{{{party3|}}} | <!--then:-->
 
{{!}} '''Political party'''
 
{{!}} '''Political party'''
{{!}} [[{{{party3|}}}]] | <!--else-->
+
{{!}} {{{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-->
+
 
}}
 
}}
 
{{!-}}
 
{{!-}}
Line 119: Line 106:
 
{{!-}}
 
{{!-}}
 
{{!}} '''Born'''
 
{{!}} '''Born'''
{{!}} {{{birth_date}}} {{#if:{{{birth_place|}}} | <br>[[{{{birth_place|}}}]] | }}| <!--else-->
+
{{!}} {{{birth_date}}} {{#if:{{{birth_place|}}} | <br>{{{birth_place|}}} | }}| <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{death_date|}}} | <!--then:-->
 
{{#if:{{{death_date|}}} | <!--then:-->
 
{{!}}'''Died'''
 
{{!}}'''Died'''
{{!}} {{{death_date}}} {{#if:{{{death_place|}}} | <br>[[{{{death_place|}}}]] | }}| <!--else-->
+
{{!}} {{{death_date}}} {{#if:{{{death_place|}}} | <br>{{{death_place|}}} | }}| <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}

Revision as of 09:34, 6 October 2008

Infobox person