Template:Infobox Person: Difference between revisions
No edit summary |
No edit summary |
||
(43 intermediate revisions by 4 users not shown) | |||
Line 5: | Line 5: | ||
|- style="text-align:center; vertical-align:middle; font-size:90%; background: #FFFFFF;" | |- style="text-align:center; vertical-align:middle; font-size:90%; background: #FFFFFF;" | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
{{!}}colspan="2" style=" | {{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|{{#if:{{{image-size|}}}|<!--then:-->{{{image-size}}}px|<!--else:-->250px}}| ]]<br/>{{#if:{{{image-caption|}}}|<span style="font-size: 95%; line-height:1.5em;">{{{image-caption}}}</span>}} | ||
}} | |}} | ||
|- style="background: #E5C601; color:#000000; text-align:center; vertical-align:middle; font-size:110%;" | |||
{{#if:{{{office|}}}| | {{#if:{{{office|}}}| | ||
{{!}}colspan="2" style="width:100%;"{{!}} '''{{{title|}}}'''<br/>'''{{{office|}}}''' {{#if:{{{alongside|}}}|<br/><small>''with {{{alongside|}}}''</small>}} | {{!}}colspan="2" style="width:100%;"{{!}} '''{{{title|}}}'''<br/>'''{{{office|}}}''' {{#if:{{{alongside|}}}|<br/><small>''with {{{alongside|}}}''</small>}} | ||
{{!}}- | {{!}}- | ||
{{!}}colspan="2" style="width:100%; background: #F1DE8F" align="center" {{!}} <small>{{{term-start|}}} | {{!}}colspan="2" style="width:100%; background: #F1DE8F" align="center" {{!}} <small>{{{term-start|}}}—{{{term-end|}}}</small> | ||
{{#if:{{{predecessor|}}}| | {{#if:{{{predecessor|}}}| | ||
{{!}}- | {{!}}- | ||
Line 28: | Line 23: | ||
}} | }} | ||
|- style="background: #E5C601; color:#000000; text-align:center; vertical-align:middle; font-size:110%;" | |||
{{#if:{{{office2|}}}| | {{#if:{{{office2|}}}| | ||
{{!}}colspan="2" style="width:100%;"{{!}} '''{{{title2|}}}'''<br/>'''{{{office2|}}}''' {{#if:{{{alongside2|}}}|<br/><small>''with {{{alongside2|}}}''</small>}} | {{!}}colspan="2" style="width:100%;"{{!}} '''{{{title2|}}}'''<br/>'''{{{office2|}}}''' {{#if:{{{alongside2|}}}|<br/><small>''with {{{alongside2|}}}''</small>}} | ||
{{!}}- | {{!}}- | ||
{{!}}colspan="2" style="width:100%; background: #F1DE8F" align="center" {{!}} <small>{{{term-start2|}}} | {{!}}colspan="2" style="width:100%; background: #F1DE8F" align="center" {{!}} <small>{{{term-start2|}}}—{{{term-end2|}}}</small> | ||
{{#if:{{{predecessor2|}}}| | {{#if:{{{predecessor2|}}}| | ||
{{!}}- | {{!}}- | ||
Line 43: | Line 38: | ||
}} | }} | ||
|- style="background: #E5C601; color:#000000; text-align:center; vertical-align:middle; font-size:110%;" | |||
{{#if:{{{office3|}}}| | {{#if:{{{office3|}}}| | ||
{{!}}colspan="2" style="width:100%;"{{!}} '''{{{title3|}}}'''<br/>'''{{{office3|}}}''' {{#if:{{{alongside3|}}}|<br/><small>''with {{{alongside3|}}}''</small>}} | {{!}}colspan="2" style="width:100%;"{{!}} '''{{{title3|}}}'''<br/>'''{{{office3|}}}''' {{#if:{{{alongside3|}}}|<br/><small>''with {{{alongside3|}}}''</small>}} | ||
{{!}}- | {{!}}- | ||
{{!}}colspan="2" style="width:100%; background: #F1DE8F" align="center" {{!}} <small>{{{term-start3|}}} | {{!}}colspan="2" style="width:100%; background: #F1DE8F" align="center" {{!}} <small>{{{term-start3|}}}—{{{term-end3|}}}</small> | ||
{{#if:{{{predecessor3|}}}| | {{#if:{{{predecessor3|}}}| | ||
{{!}}- | {{!}}- | ||
Line 56: | Line 51: | ||
{{!}}style="width:30%; font-weight:bold;"{{!}}Successor: | {{!}}style="width:30%; font-weight:bold;"{{!}}Successor: | ||
{{!}}style="width:70%;"{{!}}{{{successor3}}}}} | {{!}}style="width:70%;"{{!}}{{{successor3}}}}} | ||
}} | |||
|- style="background: #E5C601; color:#000000; text-align:center; vertical-align:middle; font-size:110%;" | |||
{{#if:{{{office4|}}}| | |||
{{!}}colspan="2" style="width:100%;"{{!}} '''{{{title4|}}}'''<br/>'''{{{office4|}}}''' {{#if:{{{alongside4|}}}|<br/><small>''with {{{alongside4|}}}''</small>}} | |||
{{!}}- | |||
{{!}}colspan="2" style="width:100%; background: #F1DE8F" align="center" {{!}} <small>{{{term-start4|}}}—{{{term-end4|}}}</small> | |||
{{#if:{{{predecessor4|}}}| | |||
{{!}}- | |||
{{!}}style="width:30%; font-weight:bold;"{{!}}Predecessor: | |||
{{!}}style="width:70%;"{{!}}{{{predecessor4}}}}} | |||
{{#if:{{{successor4|}}}| | |||
{{!}}- | |||
{{!}}style="width:30%; font-weight:bold;"{{!}}Successor: | |||
{{!}}style="width:70%;"{{!}}{{{successor4}}}}} | |||
}} | }} | ||
Line 110: | Line 120: | ||
{{#if:{{{website|}}}| | {{#if:{{{website|}}}| | ||
{{!}}style="width:30%; font-weight:bold;"{{!}}Website: | {{!}}style="width:30%; font-weight:bold;"{{!}}Website: | ||
{{!}}style="width:70%;"{{!}} | {{!}}style="width:70%;"{{!}}{{{website}}} | ||
}} | }} | ||
Line 128: | Line 138: | ||
{{#if:{{{instagram|}}}| | {{#if:{{{instagram|}}}| | ||
{{!}}style="width:30%; font-weight:bold;"{{!}}Instagram: | {{!}}style="width:30%; font-weight:bold;"{{!}}Instagram: | ||
{{!}}style="width:70%;"{{!}}[{{{instagram}}} | {{!}}style="width:70%;"{{!}}[{{{instagram}}} Instagram] | ||
}} | }} | ||
|- style="text-align:left; vertical-align:top; font-size:95%;" | |||
{{#if:{{{youtube|}}}| | |||
{{!}}style="width:30%; font-weight:bold;"{{!}}YouTube: | |||
{{!}}style="width:70%;"{{!}}[{{{youtube}}} YouTube] | |||
}} | |||
|- | |||
{{!}} style="background: #6D6E71; color:#ffffff; font-size: 110%;" align="center" colspan="2" {{!}} {{#ifexist:Category:Images of {{PAGENAME}}|[[:Category:Images of {{PAGENAME}}|<span style="color:white">''view image gallery''</span>]]}} | |||
|- | |||
{{!}} style="background: #6D6E71; color:#ffffff; font-size: 110%;" align="center" colspan="2" {{!}} {{#ifexist:Category:Publications of {{PAGENAME}}|[[:Category:Publications of {{PAGENAME}}|<span style="color:white">''view publications''</span>]]}} | |||
|- | |- | ||
| style="{{Roundy Bottom}}; background: #56565a; font-size: 110%;" align="center" colspan="2" | | | style="{{Roundy Bottom}}; background: #56565a; font-size: 110%;" align="center" colspan="2" | | ||
|} | |} | ||
{{#switch:{{FULLPAGENAME}}| | {{#switch:{{FULLPAGENAME}}| | ||
|Template:Infobox Person = [[Category:Infobox Templates]] | |Template:Infobox Person = [[Category:Infobox Templates]] |
Latest revision as of 01:03, 1 March 2023
Name | |
Personal Details | |
This Infobox Person template is for all people articles.
Parameters
Top
- name
The person's name
- name-first and name-last
Use these fields to sort the person in categories by surname, forename
- image
An image of the person, such as "Photo.jpg"
- image-size
Default size is 150px. If you want to change size enter it here in pixels. For example, for 200 pixels, use "200px"
- image-caption
If you want to include an image caption. It will appear as small text under the image.
Officeholders
7 fields are for the segment on office's held.
- office
The entity in which they are holding office (such as Libertarian National Committee)
- title
The person's title (such as Chair)
- term-start and term-end
Date of start and end terms
- alongside
If the officeholder held the position with others
- predecessor and successor
Previous and next office holder. If they are the incumbent, use "Incumbent" on the successor line
- birth-date and birth-place
Date of birth and location
- death-date and death-place
Date of death and location
- education
School, degree, etc.
- military
Wars, ranks, etc.
- occupation, residence, party
Self explanatory
- website, facebook, twitter, instagram, youtube
URL such as "http://www.facebook.com" without the "[" and "]"
Usage
Copy and paste the following to the page you want to use the template.
{{Infobox Person |name = |name-first = |name-last = |image = |image-size = |image-caption = |office = |title = |term-start = |term-end = |alongside = |predecessor = |successor = |office2 = |title2 = |term-start2 = |term-end2 = |alongside2 = |predecessor2 = |successor2 = |birth-date = |birth-place = |death-date = |death-place = |education = |military = |occupation = |residence = |party = |website = |facebook = |twitter = |instagram = |youtube = }}