Template:PersonInfoBox: Difference between revisions

From Wythepedia: The George Wythe Encyclopedia
Jump to navigation Jump to search
No edit summary
mNo edit summary
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;" }}
|- {{#if: {{{honorific|}}} | | style="display: none;" }}
| nowrap colspan="2" style="text-align: center;"|{{{honorific}}}
| colspan="2" style="text-align: center;"|{{{honorific}}}
|-
|-
| nowrap 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;" }}
|- {{#if: {{{imagename|}}} | | style="display: none;" }}
| nowrap colspan="2" |
| colspan="2" |
[[File:{{{imagename}}}|center|border|300px]]
[[File:{{{imagename}}}|center|border|300px]]
|- {{#if: {{{1stoffice|}}} | | style="display: none;" }}
|- {{#if: {{{1stoffice|}}} | | style="display: none;" }}
| nowrap 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;" }}
| nowrap 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;" }}
| nowrap colspan="2" style="padding: 0 0 0 5px; 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;" }}
Line 20: Line 20:
| style="padding: 0 0 0 5px; 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;" }}
| nowrap 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;" }}
| nowrap 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;" }}
| nowrap 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'''
| style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
Line 32: Line 32:
| 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;" }}
| nowrap 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;" }}
| nowrap 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;" }}
| nowrap 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'''
| style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
Line 44: Line 44:
| 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;" }}
| nowrap 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;" }}
| nowrap 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;" }}
| nowrap 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'''
| style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
Line 56: Line 56:
| 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;" }}
| nowrap 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;" }}
| nowrap 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;" }}
| nowrap 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'''
| style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
Line 68: Line 68:
| style="vertical-align: top; font-size: 85%;"|{{{5thofficesucceeded}}}
| style="vertical-align: top; font-size: 85%;"|{{{5thofficesucceeded}}}
|- {{#if: {{{6thoffice|}}} | | style="display: none;" }}
|- {{#if: {{{6thoffice|}}} | | style="display: none;" }}
| nowrap colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center;"|'''{{{6thoffice}}}'''
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center;"|'''{{{6thoffice}}}'''
|- {{#if: {{{6thofficedates|}}} | | style="display: none;" }}
|- {{#if: {{{6thofficedates|}}} | | style="display: none;" }}
| nowrap 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: {{{6thofficedates|}}} | | style="display: none;" }}
|- {{#if: {{{6thofficedates|}}} | | style="display: none;" }}
| nowrap colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|{{{6thofficedates}}}
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|{{{6thofficedates}}}
|- {{#if: {{{6thofficepreceded|}}} | | style="display: none;" }}
|- {{#if: {{{6thofficepreceded|}}} | | style="display: none;" }}
| style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
| style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
Line 80: Line 80:
| style="vertical-align: top; font-size: 85%;"|{{{6thofficesucceeded}}}
| style="vertical-align: top; font-size: 85%;"|{{{6thofficesucceeded}}}
|- {{#if: {{{7thoffice|}}} | | style="display: none;" }}
|- {{#if: {{{7thoffice|}}} | | style="display: none;" }}
| nowrap colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center;"|'''{{{7thoffice}}}'''
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center;"|'''{{{7thoffice}}}'''
|- {{#if: {{{7thofficedates|}}} | | style="display: none;" }}
|- {{#if: {{{7thofficedates|}}} | | style="display: none;" }}
| nowrap 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: {{{7thofficedates|}}} | | style="display: none;" }}
|- {{#if: {{{7thofficedates|}}} | | style="display: none;" }}
| nowrap colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|{{{7thofficedates}}}
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|{{{7thofficedates}}}
|- {{#if: {{{7thofficepreceded|}}} | | style="display: none;" }}
|- {{#if: {{{7thofficepreceded|}}} | | style="display: none;" }}
| style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
| style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
Line 92: Line 92:
| style="vertical-align: top; font-size: 85%;"|{{{7thofficesucceeded}}}
| style="vertical-align: top; font-size: 85%;"|{{{7thofficesucceeded}}}
|- {{#if: {{{8thoffice|}}} | | style="display: none;" }}
|- {{#if: {{{8thoffice|}}} | | style="display: none;" }}
| nowrap colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center;"|'''{{{8thoffice}}}'''
| colspan="2" style="vertical-align: top; font-size: 85%; background-color: lavender; text-align: center;"|'''{{{8thoffice}}}'''
|- {{#if: {{{8thofficedates|}}} | | style="display: none;" }}
|- {{#if: {{{8thofficedates|}}} | | style="display: none;" }}
| nowrap 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: {{{8thofficedates|}}} | | style="display: none;" }}
|- {{#if: {{{8thofficedates|}}} | | style="display: none;" }}
| nowrap colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|{{{8thofficedates}}}
| colspan="2" style="vertical-align: top; font-size: 85%; text-align: center;"|{{{8thofficedates}}}
|- {{#if: {{{8thofficepreceded|}}} | | style="display: none;" }}
|- {{#if: {{{8thofficepreceded|}}} | | style="display: none;" }}
| style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
| style="vertical-align: top; font-size: 85%;"|'''Preceded by'''
Line 104: Line 104:
| style="vertical-align: top; font-size: 85%;"|{{{8thofficesucceeded}}}
| style="vertical-align: top; font-size: 85%;"|{{{8thofficesucceeded}}}
|-  
|-  
| nowrap 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'''

Revision as of 22:21, 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=
}}