Difference between revisions of "Template:Infobox person"

From Conservapedia
Jump to: navigation, search
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| border=1 class="infobox bordered" style="width:300px;border:1px solid black;font-size:90%" cellpadding=2 cellspacing=4
+
{| class="infobox bordered" style="border:2px solid black; float: width:23em; right; margin: 5px 0em 1em 1.5em; text-align: left; font-size: 85%" border=0 align="right" cellpadding="2" cellspacing="0" width="250"
 
|-
 
|-
!colspan="2" style="color: black; font-size: 120%; height: 30px; background:#d3e9ff" border-spacing: 3px; border: 2px solid #131518;| '''{{{name|{{PAGENAME}}}}}'''{{#if: {{{nativename<includeonly>|</includeonly>}}} |<br> ''{{{nativename}}}'' }}{{#if: {{{birthname<includeonly>|</includeonly>}}} |<br> ''{{{birthname}}}'' }}
+
!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}}}'' }}
 
|-
 
|-
! colspan="2"|{{#if:{{{image|}}}|[[File:{{{image}}}|290px]]|}}{{#if:{{{caption|}}}|<br><span style="font-size:90%">{{{caption|}}}</span>}}
+
<!----------Image---------->
|-
+
{{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|<div style="height:7px"></div>
<!---------First term of office---------->
+
{{(!}}style="border:1px solid #000000" cellpadding="1" cellspacing="1"
{{#if:{{{office|}}}|
+
{{!}}
{{!}}colspan="2" align="center" style="font-size: 120%; height: 24px; background: thistle" {{!}} '''{{{office|}}} of {{{country|}}}'''
+
{{(!}}style="border:1px solid #000000" cellpadding="0" cellspacing="0"
{{!}}-
+
{{!}}[[image:{{{image}}}|200px]]
 +
{{userboxbottom}}
 +
{{userboxbottom}}<div style="height:7px"></div>}}
 +
{{!-}}
 +
<!----------First term of office---------->
 +
{{#if:{{{office|}}} | <!--then:-->
 +
{{!}}colspan="2" align="center" style="color: white; font-size: 120%; height: 24px; background: darkblue no-repeat scroll top left;" <hr/>{{!}} '''{{{office|}}} of {{{country|}}}'''
 
}}
 
}}
{{#if:{{{term_start|}}}|
+
{{!-}}
{{!}}colspan="2" align="center"{{!}}'''Term of office'''<br>{{{term_start|}}} &ndash; {{#if:{{{term_end|}}} | {{{term_end|}}} }}
+
<!----------Term---------->
{{!}}-
+
{{#if:{{{term_start|}}} | <!--then:-->
 +
{{!}}colspan="2" align="center" style="color: black;" {{!}}'''Term of office'''<br>{{{term_start|}}} &ndash; {{#if:{{{term_end|}}} | {{{term_end|}}} | }} | <!--else-->
 
}}
 
}}
{{#if:{{{previous|}}}|
+
{{!-}}
! Preceded by
+
<!------Predecessor------->
{{!}} [[{{{previous}}}]]
+
{{#if:{{{previous|}}} | <!--then:-->
{{!}}-
+
{{!}}'''Preceded by'''
 +
{{!}} [[{{{previous|}}}]] |<!--else-->
 
}}
 
}}
{{#if:{{{next|}}}|
+
{{!-}}
! Succeeded by
+
<!-----Successor---------->
{{!}} [[{{{next}}}]]
+
{{#if:{{{next|}}} | <!--then:-->
{{!}}-
+
{{!}}'''Succeeded by'''
 +
{{!}} [[{{{next|}}}]] |<!--else-->
 
}}
 
}}
 +
{{!-}}
 
<!---------Second term of office---------->
 
<!---------Second term of office---------->
{{#if:{{{office2|}}}|
+
{{#if:{{{office2|}}} | <!--then:-->
{{!}}colspan="2" align="center" style="font-size: 120%; height: 24px; background: thistle" {{!}} '''{{{office2|}}} of {{{country|}}}'''
+
{{!}}colspan="2" align="center" style="color: black ; font-size: 120%; height: 24px; background: thistle no-repeat scroll top left;" <hr/>{{!}} '''{{{office2|}}} of {{{country|}}}''' |<!--else-->
{{!}}-
+
 
}}
 
}}
{{#if:{{{term_start2|}}}|
+
{{!-}}
{{!}}colspan="2" align="center" {{!}} '''Term of office'''<br>{{{term_start2|}}} - {{#if:{{{term_end2|}}} | {{{term_end2|}}} }}
+
<!----------Term---------->
{{!}}-
+
{{#if:{{{term_start2|}}} | <!--then:-->
 +
{{!}}colspan="2" align="center" style="color: black;" {{!}}'''Term of office'''<br>{{{term_start2|}}} - {{#if:{{{term_end2|}}} | {{{term_end2|}}} | }} | <!--else-->
 
}}
 
}}
{{#if:{{{party2|}}} |
+
{{!-}}
! Political party
+
<!---------Party---------->
{{!}} [[{{{party2|}}}]]
+
{{#if:{{{party2|}}} | <!--then:-->
{{!}}-
+
{{!}}'''Political party'''
 +
{{!}} [[{{{party2|}}}]] |<!--else-->
 
}}
 
}}
{{#if:{{{previous2|}}}|
+
{{!-}}
! Preceded by
+
<!------Predecessor------->
{{!}} [[{{{previous2|}}}]]
+
{{#if:{{{previous2|}}}| <!--then:-->
{{!}}-
+
{{!}}'''Preceded by'''
 +
{{!}} [[{{{previous2|}}}]] | <!--else-->
 
}}
 
}}
{{#if:{{{next2|}}} |
+
{{!-}}
! Succeeded by
+
<!-----Successor---------->
{{!}} [[{{{next2|}}}]]
+
{{#if:{{{next2|}}} | <!--then:-->
{{!}}-
+
{{!}}'''Succeeded by'''
 +
{{!}} [[{{{next2|}}}]] | <!--else-->
 
}}
 
}}
 +
{{!-}}
 
<!---------Third term of office---------->
 
<!---------Third term of office---------->
{{#if:{{{office3|}}} |
+
{{#if:{{{office3|}}} | <!--then:-->
{{!}}colspan="2" align="center" style="font-size: 120%; height: 24px; background: thistle" {{!}} '''{{{office3|}}} of {{{country|}}}'''
+
{{!}}colspan="2" align="center" style="color: black; font-size: 120%; height: 24px; background: thistle no-repeat scroll top left;" <hr/>{{!}} '''{{{office3|}}} of {{{country|}}}''' |<!--else-->
{{!}}-
+
 
}}
 
}}
{{#if:{{{term_start3|}}} |
+
{{!-}}
{{!}}colspan="2" align="center"{{!}}'''Term of office'''<br>{{{term_start3|}}} &ndash; {{#if:{{{term_end3|}}} | {{{term_end3|}}} }}
+
<!----------Term---------->
{{!}}-
+
{{#if:{{{term_start3|}}} | <!--then:-->
 +
{{!}}colspan="2" align="center" style="color: black;" {{!}}'''Term of office'''<br>{{{term_start3|}}} - {{#if:{{{term_end3|}}} | {{{term_end3|}}} | }} | <!--else-->
 
}}
 
}}
{{#if:{{{party3|}}} |
+
{{!-}}
! Political party
+
<!---------Party---------->
{{!}} {{{party3|}}}
+
{{#if:{{{party3|}}} | <!--then:-->
{{!}}-
+
{{!}} '''Political party'''
 +
{{!}} {{{party3|}}} | <!--else-->
 
}}
 
}}
{{#if:{{{previous3|}}} |
+
{{!-}}
! Preceded by
+
<!------Predecessor------->
{{!}} [[{{{previous3|}}}]]
+
{{#if:{{{previous3|}}} | <!--then:-->
{{!}}-
+
{{!}} '''Preceded by'''
 +
{{!}} [[{{{previous3|}}}]] |<!--else-->
 
}}
 
}}
{{#if:{{{next3|}}} |
+
{{!-}}
! Succeeded by
+
<!-----Successor---------->
{{!}} [[{{{next3|}}}]]
+
{{#if:{{{next3|}}} | <!--then:-->
{{!}}-
+
{{!}}'''Succeeded by'''
 +
{{!}} [[{{{next3|}}}]] | <!--else-->
 
}}
 
}}
 +
{{!-}}
 
<!----------Life & death ---------->
 
<!----------Life & death ---------->
{{#if:{{{birth_date|}}}{{{flourit|}}}{{{death_date|}}}{{{party|}}}{{{spouse|}}}{{{religion|}}} |
+
{{#if:{{{birth_date|}}} | <!--then:-->
! colspan="2" style="background:thistle; font-size:120%"{{!}}Personal details
+
{{!}}colspan="2"{{!}}<hr/>
{{!}}-
+
{{!-}}
 +
{{!}} '''Born'''
 +
{{!}} {{{birth_date}}} {{#if:{{{birth_place|}}} | <br>{{{birth_place|}}} | }}| <!--else-->
 
}}
 
}}
{{#if:{{{age|}}}|
+
{{!-}}
! Age
+
{{#if:{{{flourit|}}} | <!--then:-->
{{!}} {{{age}}}
+
{{!}} '''Flourished'''
{{!}}-
+
{{!}} {{{flourit}}} | <!--else-->
 
}}
 
}}
{{#if:{{{birth_date|}}}|
+
{{!-}}
! Born
+
{{#if:{{{death_date|}}} | <!--then:-->
{{!}} {{{birth_date}}} {{#if:{{{birth_place|}}} | <br>{{{birth_place|}}} }}
+
{{!}}'''Died'''
{{!}}-
+
{{!}} {{{death_date}}} {{#if:{{{death_place|}}} | <br>{{{death_place|}}} | }}| <!--else-->
 
}}
 
}}
{{#if:{{{flourit|}}}|
+
{{!-}}
! Flourished
+
<!---------Party---------->
{{!}} {{{flourit}}}
+
{{#if:{{{party|}}} | <!--then:-->
{{!}}-
+
{{!}} '''Political Party'''
 +
{{!}} {{{party|}}} | <!--else-->
 
}}
 
}}
{{#if:{{{death_date|}}} |
+
{{!-}}
! Died
+
<!---------Occupation---------->
{{!}} {{{death_date}}} {{#if:{{{death_place|}}} | <br>{{{death_place|}}} }}
+
{{#if:{{{occupation|}}} | <!--then:-->
{{!}}-
+
{{!}} '''Occupation'''
 +
{{!}} {{{occupation|}}} | <!--else-->
 
}}
 
}}
{{#if:{{{party|}}} |
+
{{!-}}
! Political Party
+
<!----------Spouse, etc.---------->
{{!}} {{{party}}}
+
{{#if:{{{spouse|}}} |<!--then:-->
{{!}}-
+
{{!}}'''Spouse'''
 +
{{!}} {{{spouse}}}{{#if:{{{spouse2|}}} | <br>{{{spouse2|}}} | }} | <!--else-->
 
}}
 
}}
{{#if:{{{spouse|}}} |
+
{{!-}}
! Spouse
+
{{#if:{{{religion|}}} | <!--then:-->
{{!}} {{{spouse}}} {{#if:{{{spouse2|}}} | <br>{{{spouse2|}}} }}
+
{{!}}'''Religion'''
{{!}}-
+
{{!}} {{{religion}}} | <!--else-->
 
}}
 
}}
{{#if:{{{religion|}}}|
+
{{!-}}
! Religion
+
<!----------Military Service---------->
{{!}} {{{religion}}}
+
{{#if:{{{allegiance|}}}{{{branch|}}}{{{serviceyears|}}}{{{rank|}}}{{{unit|}}}{{{commands|}}}{{{battles|}}}{{{awards|}}}|
 +
{{!}}colspan="2"{{!}}<hr/>
 +
{{!-}}
 +
!colspan="2" align="center" style="background:#D8DFD8; font-size=140%"{{!}}Military Service<br/>
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{organization|}}}|
 
! Organization
 
{{!}} {{{organization}}}
 
{{!}}-
 
}}
 
{{#if:{{{years_active|}}}|
 
! Year Active
 
{{!}} {{{years_active}}}
 
{{!}}-
 
}}
 
{{#if:{{{parents|}}}|
 
! Parents
 
{{!}} {{{parents}}}
 
{{!}}-
 
}}
 
{{#if:{{{siblings|}}}|
 
! Siblings
 
{{!}} {{{siblings}}}
 
{{!}}-
 
}}
 
{{#if:{{{website|}}}|
 
! Website
 
{{!}} {{{website}}}
 
{{!}}-
 
}}
 
{{#if:{{{allegiance|}}}{{{branch|}}}{{{serviceyears|}}}{{{rank|}}}{{{unit|}}}{{{commands|}}}{{{battles|}}}{{{awards|}}} |
 
!colspan="2" style="background:#D8DFD8; font-size:120%"{{!}}Awards
 
}}
 
{{!}}-
 
 
{{#if:{{{nickname|}}}|
 
{{#if:{{{nickname|}}}|
 
! Nickname(s)
 
! Nickname(s)
Line 181: Line 178:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
 
{{#if:{{{awards|}}}|
 
{{#if:{{{awards|}}}|
 
! Awards
 
! Awards
Line 187: Line 183:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
+
{{!-}}
|}<noinclude>
+
|}
<pre style="width:35em">
+
{{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      =
+
|age        =
+
|birth_date =
+
|birth_place =
+
|flourit    =
+
|death_date =
+
|death_place =
+
|party      =
+
|spouse    =
+
|spouse2    =
+
|religion  =
+
|nickname  =
+
|parents    =
+
|siblings  =
+
|allegiance =
+
|branch    =
+
|serviceyears =
+
|rank      =
+
|unit      =
+
|commands  =
+
|battles    =
+
|awards    =
+
|website    =
+
|organization =
+
|years_active =
+
}}
+
</pre>
+
 
+
[[Category:Template]]
+
[[Category:Infobox]]
+
</noinclude>
+

Latest revision as of 13:24, June 26, 2023

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