Difference between revisions of "Template:Infobox person"

From Conservapedia
Jump to: navigation, search
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{| 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"
 
{| 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" align="center" style="color: white; font-size: 120%; height: 20px; background: Royalblue no-repeat scroll top left;"| '''{{{name|{{PAGENAME}}}}}'''
+
!colspan="2" align="center" style="color: white; font-size: 120%; height: 20px; background: Royalblue no-repeat scroll top left;"| '''{{{name|{{PAGENAME}}}}}'''{{#if: {{{nativename<includeonly>|</includeonly>}}} |<br> ''{{{nativename}}}'' }}{{#if: {{{birthname<includeonly>|</includeonly>}}} |<br> ''{{{birthname}}}'' }}
 
|-
 
|-
 
<!----------Image---------->
 
<!----------Image---------->
Line 7: Line 7:
 
{{!-}}
 
{{!-}}
 
<!----------First term of office---------->
 
<!----------First term of office---------->
{{#if:{{{seq|}}} | <!--then:-->
+
{{#if:{{{office|}}} | <!--then:-->
{{#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|}}} of {{{country|}}}'''
}}
 
 
}}
 
}}
 
{{!-}}
 
{{!-}}
 
<!----------Term---------->
 
<!----------Term---------->
 
{{#if:{{{term_start|}}} | <!--then:-->
 
{{#if:{{{term_start|}}} | <!--then:-->
{{!}}colspan="2" align="center" style="color: black;" {{!}}'''Term of office'''<br>{{{term_start|}}} - {{#if:{{{term_end|}}} | {{{term_end|}}} | }} | <!--else-->
+
{{!}}colspan="2" align="center" style="color: black;" {{!}}'''Term of office'''<br>{{{term_start|}}} &ndash; {{#if:{{{term_end|}}} | {{{term_end|}}} | }} | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
Line 22: Line 19:
 
{{#if:{{{party|}}} | <!--then:-->
 
{{#if:{{{party|}}} | <!--then:-->
 
{{!}} '''Political party '''
 
{{!}} '''Political party '''
{{!}} [[{{{party|}}}]] | <!--else-->
+
{{!}} {{{party|}}} | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
Line 38: Line 35:
 
{{!-}}
 
{{!-}}
 
<!---------Second term of office---------->
 
<!---------Second term of office---------->
{{#if:{{{seq2|}}} | <!--then:-->
+
{{#if:{{{office2|}}} | <!--then:-->
{{#ifeq: {{{office2|}}} | vice |<!--then:-->
+
{{!}}colspan="2" align="center" style="color: black ; font-size: 120%; height: 24px; background: thistle no-repeat scroll top left;" <hr/>{{!}} '''{{{office2|}}} of {{{country|}}}''' |<!--else-->
 
+
{{!}}colspan="2" align="center" style="color: black ; font-size: 120%; height: 24px; background: thistle no-repeat scroll top left;" <hr/>{{!}} '''{{{office|}}} of {{{country|}}}''' |<!--else-->
+
 
+
}}
+
 
}}
 
}}
 
{{!-}}
 
{{!-}}
Line 70: Line 63:
 
{{!-}}
 
{{!-}}
 
<!---------Third term of office---------->
 
<!---------Third term of office---------->
{{#if:{{{seq3|}}} | <!--then:-->
+
{{#if:{{{office3|}}} | <!--then:-->
{{#ifeq: {{{office3|}}} |  vice | <!--then:-->
+
{{!}}colspan="2" align="center" style="color: black; font-size: 120%; height: 24px; background: thistle no-repeat scroll top left;" <hr/>{{!}} '''{{{office3|}}} of {{{country|}}}''' |<!--else-->
 
+
{{!}}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: 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 75:
 
{{#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 95:
 
{{!-}}
 
{{!-}}
 
{{!}} '''Born'''
 
{{!}} '''Born'''
{{!}} {{{birth_date}}} {{#if:{{{birth_place|}}} | <br>[[{{{birth_place|}}}]] | }}| <!--else-->
+
{{!}} {{{birth_date}}} {{#if:{{{birth_place|}}} | <br>{{{birth_place|}}} | }}| <!--else-->
 +
}}
 +
{{!-}}
 +
{{#if:{{{flourit|}}} | <!--then:-->
 +
{{!}} '''Flourished'''
 +
{{!}} {{{flourit}}} | <!--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 18:34, 24 September 2009

Infobox person
{{{nativename}}}
{{{birthname}}}