Difference between revisions of "Template:PersonInfoBox"

From Wythepedia: The George Wythe Encyclopedia
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>{| width="350" style="float: right; background-color: #f9f9f9; border: 1px solid #ddd; margin: 10px 0 10px 10px;"
 
<includeonly>{| width="350" style="float: right; background-color: #f9f9f9; border: 1px solid #ddd; margin: 10px 0 10px 10px;"
|-
 
| colspan="2" style="text-align: center;"|'''{{{title}}}'''
 
 
|-
 
|-
 
| colspan="2" style="text-align: center; font-size: 125%;"|'''{{{name}}}'''
 
| colspan="2" style="text-align: center; font-size: 125%;"|'''{{{name}}}'''
 
|-
 
|-
| colspan="2" style="font-size: 85%;"|  
+
| colspan="2" style="background-color: lavender; text-align: center"|  
[[File:{{{imagename}}}|center|border|300px]]
+
|- {{#if: {{{1stoffice|}}} | | style="display: none;" }}
Caption for [{{{link}}} picture of {{{name}}}], Wolf Law Library, College of William & Mary.
+
| style="vertical-align: top; font-size: 85%;"|'''1stoffice'''
 
|- {{#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 54: Line 52:
 
|imagename=ImageFile.jpg
 
|imagename=ImageFile.jpg
 
|link=https://catalog.swem.wm.edu/law/Record/#######
 
|link=https://catalog.swem.wm.edu/law/Record/#######
|title=
 
 
|name=
 
|name=
 +
|1stoffice=
 +
|1stofficedates=
 +
|1stofficepreceded=
 +
|1stofficesucceeded=
 +
|2ndoffice=
 +
|2ndofficedates=
 +
|2ndofficepreceded=
 +
|2ndofficesucceeded=
 
|borndate=
 
|borndate=
 
|bornplace=
 
|bornplace=

Revision as of 15:00, 13 January 2014



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

{{PersonInfoBox
|imagename=ImageFile.jpg
|link=https://catalog.swem.wm.edu/law/Record/#######
|name=
|1stoffice=
|1stofficedates=
|1stofficepreceded=
|1stofficesucceeded=
|2ndoffice=
|2ndofficedates=
|2ndofficepreceded=
|2ndofficesucceeded=
|borndate=
|bornplace=
|dieddate=
|diedplace=
|residence=
|education=
|almamater=
|profession=
|spouse=
|relatives=
|knownfor=
|signature=ImageFile.jpg
}}