Difference between revisions of "Template:PersonInfoBox"

From Wythepedia: The George Wythe Encyclopedia
Jump to: navigation, search
m
 
(49 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| width="350" style="float: right; background-color: #f9f9f9; border: 1px solid #ddd; margin: 10px 0 10px 10px;"
+
<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;" }}
| 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;" }}
| 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;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center;"|'''{{{2ndoffice}}}'''
 +
|- {{#if: {{{2ndofficedates|}}} | | style="display: none;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|'''In office'''
 +
|- {{#if: {{{2ndofficedates|}}} | | style="display: none;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|{{{2ndofficedates}}}
 +
|- {{#if: {{{2ndofficepreceded|}}} | | style="display: none;" }}
 +
| nowrap style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
 +
| style="vertical-align: top; font-size: 85%;"|{{{2ndofficepreceded}}}
 +
|- {{#if: {{{2ndofficesucceeded|}}} | | style="display: none;" }}
 +
| nowrap style="white-space: nowrap; vertical-align: top; font-size: 85%;"|'''Succeeded by'''
 +
| style="vertical-align: top; font-size: 85%;"|{{{2ndofficesucceeded}}}
 +
|- {{#if: {{{3rdoffice|}}} | | style="display: none;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center;"|'''{{{3rdoffice}}}'''
 +
|- {{#if: {{{3rdofficedates|}}} | | style="display: none;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|'''In office'''
 +
|- {{#if: {{{3rdofficedates|}}} | | style="display: none;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|{{{3rdofficedates}}}
 +
|- {{#if: {{{3rdofficepreceded|}}} | | style="display: none;" }}
 +
| nowrap style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
 +
| style="vertical-align: top; font-size: 85%;"|{{{3rdofficepreceded}}}
 +
|- {{#if: {{{3rdofficesucceeded|}}} | | style="display: none;" }}
 +
| nowrap style="white-space: nowrap; vertical-align: top; font-size: 85%;"|'''Succeeded by'''
 +
| style="vertical-align: top; font-size: 85%;"|{{{3rdofficesucceeded}}}
 +
|- {{#if: {{{4thoffice|}}} | | style="display: none;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center;"|'''{{{4thoffice}}}'''
 +
|- {{#if: {{{4thofficedates|}}} | | style="display: none;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|'''In office'''
 +
|- {{#if: {{{4thofficedates|}}} | | style="display: none;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|{{{4thofficedates}}}
 +
|- {{#if: {{{4thofficepreceded|}}} | | style="display: none;" }}
 +
| nowrap style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
 +
| style="vertical-align: top; font-size: 85%;"|{{{4thofficepreceded}}}
 +
|- {{#if: {{{4thofficesucceeded|}}} | | style="display: none;" }}
 +
| nowrap style="white-space: nowrap; vertical-align: top; font-size: 85%;"|'''Succeeded by'''
 +
| style="vertical-align: top; font-size: 85%;"|{{{4thofficesucceeded}}}
 +
|- {{#if: {{{5thoffice|}}} | | style="display: none;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center;"|'''{{{5thoffice}}}'''
 +
|- {{#if: {{{5thofficedates|}}} | | style="display: none;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|'''In office'''
 +
|- {{#if: {{{5thofficedates|}}} | | style="display: none;" }}
 +
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|{{{5thofficedates}}}
 +
|- {{#if: {{{5thofficepreceded|}}} | | style="display: none;" }}
 +
| nowrap style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
 +
| style="vertical-align: top; font-size: 85%;"|{{{5thofficepreceded}}}
 +
|- {{#if: {{{5thofficesucceeded|}}} | | style="display: none;" }}
 +
| nowrap style="white-space: nowrap; vertical-align: top; font-size: 85%;"|'''Succeeded by'''
 +
| 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 31: Line 117:
 
| style="vertical-align: top; font-size: 85%;"|&nbsp;
 
| style="vertical-align: top; font-size: 85%;"|&nbsp;
 
| style="vertical-align: top; font-size: 85%;"|{{{diedplace}}}
 
| style="vertical-align: top; font-size: 85%;"|{{{diedplace}}}
 +
|- {{#if: {{{restingplace|}}} | | style="display: none;" }}
 +
| nowrap style="vertical-align: top; font-size: 85%;"|'''Resting place'''
 +
| style="vertical-align: top; font-size: 85%;"|{{{restingplace}}}
 
|- {{#if: {{{residence|}}} | | style="display: none;" }}
 
|- {{#if: {{{residence|}}} | | style="display: none;" }}
| style="vertical-align: top; font-size: 85%;"|'''Residence'''
+
| style="vertical-align: top; font-size: 85%;"|'''Residence(s)'''
 
| style="vertical-align: top; font-size: 85%;"|{{{residence}}}
 
| style="vertical-align: top; font-size: 85%;"|{{{residence}}}
|-
+
|- {{#if: {{{education|}}} | | style="display: none;" }}
 
| style="vertical-align: top; font-size: 85%;"|'''Education'''
 
| style="vertical-align: top; font-size: 85%;"|'''Education'''
 
| style="vertical-align: top; font-size: 85%;"|{{{education}}}
 
| style="vertical-align: top; font-size: 85%;"|{{{education}}}
|-
+
|- {{#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 44: Line 133:
 
| style="vertical-align: top; font-size: 85%;"|{{{profession}}}
 
| style="vertical-align: top; font-size: 85%;"|{{{profession}}}
 
|- {{#if: {{{spouse|}}} | | style="display: none;" }}
 
|- {{#if: {{{spouse|}}} | | style="display: none;" }}
| style="vertical-align: top; font-size: 85%;"|'''Spouse'''
+
| style="vertical-align: top; font-size: 85%;"|'''Spouse(s)'''
 
| style="vertical-align: top; font-size: 85%;"|{{{spouse}}}
 
| style="vertical-align: top; font-size: 85%;"|{{{spouse}}}
 
|- {{#if: {{{relatives|}}} | | style="display: none;" }}
 
|- {{#if: {{{relatives|}}} | | style="display: none;" }}
Line 50: 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;" }}
 
| style="vertical-align: top; font-size: 85%;"|'''Signature'''
 
| style="vertical-align: top; font-size: 85%;"|'''Signature'''
 
| style="vertical-align: top;"|[[File:{{{signature}}}|left|200px]]
 
| style="vertical-align: top;"|[[File:{{{signature}}}|left|200px]]
Line 58: 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=
|link=https://catalog.swem.wm.edu/law/Record/#######
 
 
|name=
 
|name=
 +
|honorific=
 
|1stoffice=
 
|1stoffice=
 
|1stofficedates=
 
|1stofficedates=
Line 74: Line 162:
 
|2ndofficepreceded=
 
|2ndofficepreceded=
 
|2ndofficesucceeded=
 
|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=
 
|borndate=
 
|bornplace=
 
|bornplace=
 
|dieddate=
 
|dieddate=
 
|diedplace=
 
|diedplace=
 +
|restingplace=
 
|residence=
 
|residence=
 
|education=
 
|education=
Line 85: 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=
}}