Difference between revisions of "Template:PersonInfoBox"

From Wythepedia: The George Wythe Encyclopedia
Jump to: navigation, search
m
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{| width="320" style="float: right; background-color: #f9f9f9; border: 1px solid #ddd; margin: 10px 0 10px 10px; line-height: 1.2em;"
 
<includeonly>{| width="320" style="float: right; background-color: #f9f9f9; border: 1px solid #ddd; margin: 10px 0 10px 10px; line-height: 1.2em;"
 +
|- {{#if: {{{honorific|}}} | | style="display: none;" }}
 +
| colspan="2" style="text-align: center;"|{{{honorific}}}
 
|-
 
|-
 
| colspan="2" style="text-align: center; font-size: 125%;"|'''{{{name}}}'''
 
| colspan="2" style="text-align: center; font-size: 125%;"|'''{{{name}}}'''
|-
+
|- {{#if: {{{imagename|}}} | | style="display: none;" }}
| colspan="2" |  
+
| colspan="2" |
 
[[File:{{{imagename}}}|center|border|300px]]
 
[[File:{{{imagename}}}|center|border|300px]]
 
|- {{#if: {{{1stoffice|}}} | | style="display: none;" }}
 
|- {{#if: {{{1stoffice|}}} | | style="display: none;" }}
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center"|'''{{{1stoffice}}}'''
+
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center;"|'''{{{1stoffice}}}'''
 
|- {{#if: {{{1stofficedates|}}} | | style="display: none;" }}
 
|- {{#if: {{{1stofficedates|}}} | | style="display: none;" }}
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center"|'''In office'''
+
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|'''In office'''
 
|- {{#if: {{{1stofficedates|}}} | | style="display: none;" }}
 
|- {{#if: {{{1stofficedates|}}} | | style="display: none;" }}
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center"|{{{1stofficedates}}}
+
| colspan="2" style="padding: 0 0 0 5px; vertical-align: top; font-size: 85%; text-align: center;"|{{{1stofficedates}}}
 
|- {{#if: {{{1stofficepreceded|}}} | | style="display: none;" }}
 
|- {{#if: {{{1stofficepreceded|}}} | | style="display: none;" }}
| style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
+
| nowrap style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
 
| style="vertical-align: top; font-size: 85%;"|{{{1stofficepreceded}}}
 
| style="vertical-align: top; font-size: 85%;"|{{{1stofficepreceded}}}
 
|- {{#if: {{{1stofficesucceeded|}}} | | style="display: none;" }}
 
|- {{#if: {{{1stofficesucceeded|}}} | | style="display: none;" }}
| style="white-space: nowrap; vertical-align: top; font-size: 85%;"|'''Succeeded by'''
+
| nowrap style="white-space: nowrap; vertical-align: top; font-size: 85%;"|'''Succeeded by'''
| style="vertical-align: top; font-size: 85%;"|{{{1stofficesucceeded}}}
+
| style="padding: 0 0 0 5px; vertical-align: top; font-size: 85%;"|{{{1stofficesucceeded}}}
 
|- {{#if: {{{2ndoffice|}}} | | style="display: none;" }}
 
|- {{#if: {{{2ndoffice|}}} | | style="display: none;" }}
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center"|'''{{{2ndoffice}}}'''
+
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center;"|'''{{{2ndoffice}}}'''
 
|- {{#if: {{{2ndofficedates|}}} | | style="display: none;" }}
 
|- {{#if: {{{2ndofficedates|}}} | | style="display: none;" }}
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center"|'''In office'''
+
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|'''In office'''
 
|- {{#if: {{{2ndofficedates|}}} | | style="display: none;" }}
 
|- {{#if: {{{2ndofficedates|}}} | | style="display: none;" }}
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center"|{{{2ndofficedates}}}
+
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|{{{2ndofficedates}}}
 
|- {{#if: {{{2ndofficepreceded|}}} | | style="display: none;" }}
 
|- {{#if: {{{2ndofficepreceded|}}} | | style="display: none;" }}
| style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
+
| nowrap style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
 
| style="vertical-align: top; font-size: 85%;"|{{{2ndofficepreceded}}}
 
| style="vertical-align: top; font-size: 85%;"|{{{2ndofficepreceded}}}
 
|- {{#if: {{{2ndofficesucceeded|}}} | | style="display: none;" }}
 
|- {{#if: {{{2ndofficesucceeded|}}} | | style="display: none;" }}
| style="white-space: nowrap; vertical-align: top; font-size: 85%;"|'''Succeeded by'''
+
| nowrap style="white-space: nowrap; vertical-align: top; font-size: 85%;"|'''Succeeded by'''
 
| style="vertical-align: top; font-size: 85%;"|{{{2ndofficesucceeded}}}
 
| style="vertical-align: top; font-size: 85%;"|{{{2ndofficesucceeded}}}
 
|- {{#if: {{{3rdoffice|}}} | | style="display: none;" }}
 
|- {{#if: {{{3rdoffice|}}} | | style="display: none;" }}
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center"|'''{{{3rdoffice}}}'''
+
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center;"|'''{{{3rdoffice}}}'''
 
|- {{#if: {{{3rdofficedates|}}} | | style="display: none;" }}
 
|- {{#if: {{{3rdofficedates|}}} | | style="display: none;" }}
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center"|'''In office'''
+
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|'''In office'''
 
|- {{#if: {{{3rdofficedates|}}} | | style="display: none;" }}
 
|- {{#if: {{{3rdofficedates|}}} | | style="display: none;" }}
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center"|{{{3rdofficedates}}}
+
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|{{{3rdofficedates}}}
 
|- {{#if: {{{3rdofficepreceded|}}} | | style="display: none;" }}
 
|- {{#if: {{{3rdofficepreceded|}}} | | style="display: none;" }}
| style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
+
| nowrap style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
 
| style="vertical-align: top; font-size: 85%;"|{{{3rdofficepreceded}}}
 
| style="vertical-align: top; font-size: 85%;"|{{{3rdofficepreceded}}}
 
|- {{#if: {{{3rdofficesucceeded|}}} | | style="display: none;" }}
 
|- {{#if: {{{3rdofficesucceeded|}}} | | style="display: none;" }}
| style="white-space: nowrap; vertical-align: top; font-size: 85%;"|'''Succeeded by'''
+
| nowrap style="white-space: nowrap; vertical-align: top; font-size: 85%;"|'''Succeeded by'''
 
| style="vertical-align: top; font-size: 85%;"|{{{3rdofficesucceeded}}}
 
| style="vertical-align: top; font-size: 85%;"|{{{3rdofficesucceeded}}}
 
|- {{#if: {{{4thoffice|}}} | | style="display: none;" }}
 
|- {{#if: {{{4thoffice|}}} | | style="display: none;" }}
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center"|'''{{{4thoffice}}}'''
+
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center;"|'''{{{4thoffice}}}'''
 
|- {{#if: {{{4thofficedates|}}} | | style="display: none;" }}
 
|- {{#if: {{{4thofficedates|}}} | | style="display: none;" }}
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center"|'''In office'''
+
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|'''In office'''
 
|- {{#if: {{{4thofficedates|}}} | | style="display: none;" }}
 
|- {{#if: {{{4thofficedates|}}} | | style="display: none;" }}
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center"|{{{4thofficedates}}}
+
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|{{{4thofficedates}}}
 
|- {{#if: {{{4thofficepreceded|}}} | | style="display: none;" }}
 
|- {{#if: {{{4thofficepreceded|}}} | | style="display: none;" }}
| style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
+
| nowrap style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
 
| style="vertical-align: top; font-size: 85%;"|{{{4thofficepreceded}}}
 
| style="vertical-align: top; font-size: 85%;"|{{{4thofficepreceded}}}
 
|- {{#if: {{{4thofficesucceeded|}}} | | style="display: none;" }}
 
|- {{#if: {{{4thofficesucceeded|}}} | | style="display: none;" }}
| style="white-space: nowrap; vertical-align: top; font-size: 85%;"|'''Succeeded by'''
+
| nowrap style="white-space: nowrap; vertical-align: top; font-size: 85%;"|'''Succeeded by'''
 
| style="vertical-align: top; font-size: 85%;"|{{{4thofficesucceeded}}}
 
| style="vertical-align: top; font-size: 85%;"|{{{4thofficesucceeded}}}
 
|- {{#if: {{{5thoffice|}}} | | style="display: none;" }}
 
|- {{#if: {{{5thoffice|}}} | | style="display: none;" }}
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center"|'''{{{5thoffice}}}'''
+
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center;"|'''{{{5thoffice}}}'''
 
|- {{#if: {{{5thofficedates|}}} | | style="display: none;" }}
 
|- {{#if: {{{5thofficedates|}}} | | style="display: none;" }}
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center"|'''In office'''
+
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|'''In office'''
 
|- {{#if: {{{5thofficedates|}}} | | style="display: none;" }}
 
|- {{#if: {{{5thofficedates|}}} | | style="display: none;" }}
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center"|{{{5thofficedates}}}
+
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|{{{5thofficedates}}}
 
|- {{#if: {{{5thofficepreceded|}}} | | style="display: none;" }}
 
|- {{#if: {{{5thofficepreceded|}}} | | style="display: none;" }}
| style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
+
| nowrap style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
 
| style="vertical-align: top; font-size: 85%;"|{{{5thofficepreceded}}}
 
| style="vertical-align: top; font-size: 85%;"|{{{5thofficepreceded}}}
 
|- {{#if: {{{5thofficesucceeded|}}} | | style="display: none;" }}
 
|- {{#if: {{{5thofficesucceeded|}}} | | style="display: none;" }}
| style="white-space: nowrap; vertical-align: top; font-size: 85%;"|'''Succeeded by'''
+
| nowrap style="white-space: nowrap; vertical-align: top; font-size: 85%;"|'''Succeeded by'''
 
| style="vertical-align: top; font-size: 85%;"|{{{5thofficesucceeded}}}
 
| style="vertical-align: top; font-size: 85%;"|{{{5thofficesucceeded}}}
 +
|- {{#if: {{{6thoffice|}}} | | style="display: none;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center;"|'''{{{6thoffice}}}'''
 +
|- {{#if: {{{6thofficedates|}}} | | style="display: none;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|'''In office'''
 +
|- {{#if: {{{6thofficedates|}}} | | style="display: none;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|{{{6thofficedates}}}
 +
|- {{#if: {{{6thofficepreceded|}}} | | style="display: none;" }}
 +
| nowrap style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
 +
| style="vertical-align: top; font-size: 85%;"|{{{6thofficepreceded}}}
 +
|- {{#if: {{{6thofficesucceeded|}}} | | style="display: none;" }}
 +
| nowrap style="white-space: nowrap; vertical-align: top; font-size: 85%;"|'''Succeeded by'''
 +
| style="vertical-align: top; font-size: 85%;"|{{{6thofficesucceeded}}}
 +
|- {{#if: {{{7thoffice|}}} | | style="display: none;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center;"|'''{{{7thoffice}}}'''
 +
|- {{#if: {{{7thofficedates|}}} | | style="display: none;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|'''In office'''
 +
|- {{#if: {{{7thofficedates|}}} | | style="display: none;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|{{{7thofficedates}}}
 +
|- {{#if: {{{7thofficepreceded|}}} | | style="display: none;" }}
 +
|nowrap  style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
 +
| style="vertical-align: top; font-size: 85%;"|{{{7thofficepreceded}}}
 +
|- {{#if: {{{7thofficesucceeded|}}} | | style="display: none;" }}
 +
| nowrap style="white-space: nowrap; vertical-align: top; font-size: 85%;"|'''Succeeded by'''
 +
| style="vertical-align: top; font-size: 85%;"|{{{7thofficesucceeded}}}
 +
|- {{#if: {{{8thoffice|}}} | | style="display: none;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center;"|'''{{{8thoffice}}}'''
 +
|- {{#if: {{{8thofficedates|}}} | | style="display: none;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|'''In office'''
 +
|- {{#if: {{{8thofficedates|}}} | | style="display: none;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|{{{8thofficedates}}}
 +
|- {{#if: {{{8thofficepreceded|}}} | | style="display: none;" }}
 +
| nowrap style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
 +
| style="vertical-align: top; font-size: 85%;"|{{{8thofficepreceded}}}
 +
|- {{#if: {{{8thofficesucceeded|}}} | | style="display: none;" }}
 +
| nowrap style="white-space: nowrap; vertical-align: top; font-size: 85%;"|'''Succeeded by'''
 +
| style="vertical-align: top; font-size: 85%;"|{{{8thofficesucceeded}}}
 
|-  
 
|-  
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center"|'''Personal details'''
+
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center;"|'''Personal details'''
 
|- {{#if: {{{borndate|}}} | | style="display: none;" }}
 
|- {{#if: {{{borndate|}}} | | style="display: none;" }}
 
| style="vertical-align: top; font-size: 85%;"|'''Born'''
 
| style="vertical-align: top; font-size: 85%;"|'''Born'''
Line 80: Line 118:
 
| style="vertical-align: top; font-size: 85%;"|{{{diedplace}}}
 
| style="vertical-align: top; font-size: 85%;"|{{{diedplace}}}
 
|- {{#if: {{{restingplace|}}} | | style="display: none;" }}
 
|- {{#if: {{{restingplace|}}} | | style="display: none;" }}
| style="vertical-align: top; font-size: 85%;"|'''Resting place'''
+
| nowrap style="vertical-align: top; font-size: 85%;"|'''Resting place'''
 
| style="vertical-align: top; font-size: 85%;"|{{{restingplace}}}
 
| style="vertical-align: top; font-size: 85%;"|{{{restingplace}}}
 
|- {{#if: {{{residence|}}} | | style="display: none;" }}
 
|- {{#if: {{{residence|}}} | | style="display: none;" }}
Line 89: Line 127:
 
| style="vertical-align: top; font-size: 85%;"|{{{education}}}
 
| style="vertical-align: top; font-size: 85%;"|{{{education}}}
 
|- {{#if: {{{almamater|}}} | | style="display: none;" }}
 
|- {{#if: {{{almamater|}}} | | style="display: none;" }}
| style="vertical-align: top; font-size: 85%;"|'''Alma mater'''
+
| nowrap style="vertical-align: top; font-size: 85%;"|'''Alma mater'''
 
| style="vertical-align: top; font-size: 85%;"|{{{almamater}}}
 
| style="vertical-align: top; font-size: 85%;"|{{{almamater}}}
 
|- {{#if: {{{profession|}}} | | style="display: none;" }}
 
|- {{#if: {{{profession|}}} | | style="display: none;" }}
Line 101: Line 139:
 
| style="vertical-align: top; font-size: 85%;"|{{{relatives}}}
 
| style="vertical-align: top; font-size: 85%;"|{{{relatives}}}
 
|- {{#if: {{{knownfor|}}} | | style="display: none;" }}
 
|- {{#if: {{{knownfor|}}} | | style="display: none;" }}
| style="vertical-align: top; font-size: 85%;"|'''Known for'''
+
| nowrap style="vertical-align: top; font-size: 85%;"|'''Known for'''
 
| style="vertical-align: top; font-size: 85%;"|{{{knownfor}}}
 
| style="vertical-align: top; font-size: 85%;"|{{{knownfor}}}
 
|- {{#if: {{{signature|}}} | | style="display: none;" }}
 
|- {{#if: {{{signature|}}} | | style="display: none;" }}
Line 109: Line 147:
  
 
<noinclude>
 
<noinclude>
 
 
To put an INFOBOX with a BIOGRAPHY on a person's page, copy and paste the following code:
 
To put an INFOBOX with a BIOGRAPHY on a person's page, copy and paste the following code:
  
 
<pre>
 
<pre>
 
{{PersonInfoBox
 
{{PersonInfoBox
|imagename=ImageFile.jpg
+
|imagename=
 
|name=
 
|name=
 +
|honorific=
 
|1stoffice=
 
|1stoffice=
 
|1stofficedates=
 
|1stofficedates=
Line 136: Line 174:
 
|5thofficepreceded=
 
|5thofficepreceded=
 
|5thofficesucceeded=
 
|5thofficesucceeded=
 +
|6thoffice=
 +
|6thofficedates=
 +
|6thofficepreceded=
 +
|6thofficesucceeded=
 +
|7thoffice=
 +
|7thofficedates=
 +
|7thofficepreceded=
 +
|7thofficesucceeded=
 +
|8thoffice=
 +
|8thofficedates=
 +
|8thofficepreceded=
 +
|8thofficesucceeded=
 
|borndate=
 
|borndate=
 
|bornplace=
 
|bornplace=
Line 148: Line 198:
 
|relatives=
 
|relatives=
 
|knownfor=
 
|knownfor=
|signature=ImageFile.jpg
+
|signature=
 
}}
 
}}
 
</pre>
 
</pre>

Latest revision as of 17:25, 14 January 2018


To put an INFOBOX with a BIOGRAPHY on a person's page, copy and paste the following code:

{{PersonInfoBox
|imagename=
|name=
|honorific=
|1stoffice=
|1stofficedates=
|1stofficepreceded=
|1stofficesucceeded=
|2ndoffice=
|2ndofficedates=
|2ndofficepreceded=
|2ndofficesucceeded=
|3rdoffice=
|3rdofficedates=
|3rdofficepreceded=
|3rdofficesucceeded=
|4thoffice=
|4thofficedates=
|4thofficepreceded=
|4thofficesucceeded=
|5thoffice=
|5thofficedates=
|5thofficepreceded=
|5thofficesucceeded=
|6thoffice=
|6thofficedates=
|6thofficepreceded=
|6thofficesucceeded=
|7thoffice=
|7thofficedates=
|7thofficepreceded=
|7thofficesucceeded=
|8thoffice=
|8thofficedates=
|8thofficepreceded=
|8thofficesucceeded=
|borndate=
|bornplace=
|dieddate=
|diedplace=
|restingplace=
|residence=
|education=
|almamater=
|profession=
|spouse=
|relatives=
|knownfor=
|signature=
}}