Template:Infobox Person: Difference between revisions

From LPedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(112 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="width:100%;"{{!}}[[File:{{{image|}}}|300px]]
{{!}} 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|}}}|
{{!}}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|}}}&mdash;{{{term-end|}}}</small>
{{#if:{{{predecessor|}}}|
{{!}}-
{{!}}style="width:30%; font-weight:bold;"{{!}}Predecessor:
{{!}}style="width:70%;"{{!}}{{{predecessor}}}}}
{{#if:{{{successor|}}}|
{{!}}-
{{!}}style="width:30%; font-weight:bold;"{{!}}Successor:
{{!}}style="width:70%;"{{!}}{{{successor}}}}}
}}
}}


|- style="|- style="background: #6D6E71; color:#ffffff; text-align:center; vertical-align:middle; font-size:95%;"
|- style="background: #E5C601; color:#000000; text-align:center; vertical-align:middle; font-size:110%;"
{{#if:{{{office|}}}|
{{#if:{{{office2|}}}|
{{!}}colspan="2" style="width:100%;"{{!}} {{{title|}}}<br/>{{{office|}}}
{{!}}colspan="2" style="width:100%;"{{!}} '''{{{title2|}}}'''<br/>'''{{{office2|}}}''' {{#if:{{{alongside2|}}}|<br/><small>''with {{{alongside2|}}}''</small>}}
{{!}}colspan="2" style="width:100%; background: #6D6E71"{{!}} {{{term-start|}}}{{{term-end|}}}
{{!}}-
{{!}}colspan="2" style="width:100%; background: #F1DE8F" align="center" {{!}} <small>{{{term-start2|}}}&mdash;{{{term-end2|}}}</small>
{{#if:{{{predecessor2|}}}|
{{!}}-
{{!}}style="width:30%; font-weight:bold;"{{!}}Predecessor:
{{!}}style="width:70%;"{{!}}{{{predecessor2}}}}}
{{#if:{{{successor2|}}}|
{{!}}-
{{!}}style="width:30%; font-weight:bold;"{{!}}Successor:
{{!}}style="width:70%;"{{!}}{{{successor2}}}}}
}}
 
|- style="background: #E5C601; color:#000000; text-align:center; vertical-align:middle; font-size:110%;"
{{#if:{{{office3|}}}|
{{!}}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|}}}&mdash;{{{term-end3|}}}</small>
{{#if:{{{predecessor3|}}}|
{{!}}-
{{!}}style="width:30%; font-weight:bold;"{{!}}Predecessor:
{{!}}style="width:70%;"{{!}}{{{predecessor3}}}}}
{{#if:{{{successor3|}}}|
{{!}}-
{{!}}style="width:30%; font-weight:bold;"{{!}}Successor:
{{!}}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|}}}&mdash;{{{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}}}}}
}}
}}


|-
|-
<!-- General Information  -->{{#if:{{{birth-date|{{{chartered|}}}}}}|
{{!}} style="background: #6D6E71; color:#ffffff; font-size: 110%;" align="center" colspan="2" {{!}} '''Personal Details'''
{{!}} style="background: #6D6E71; color:#ffffff; font-size: 110%;" align="center" colspan="2" {{!}} '''Personal Details'''}}


|- style="text-align:left; vertical-align:top; font-size:95%;"
|- style="text-align:left; vertical-align:top; font-size:95%;"
Line 53: Line 106:
{{!}}style="width:70%;"{{!}}{{{residence}}}
{{!}}style="width:70%;"{{!}}{{{residence}}}
}}
}}
|-
<!-- Officers  -->{{#if:{{{party|{{{caucus|}}}}}}|
{{!}} style="background: #6D6E71; color:#ffffff; font-size: 110%;" align="center" colspan="2" {{!}} '''Party Involvement'''}}


|- style="text-align:left; vertical-align:top; font-size:95%;"
|- style="text-align:left; vertical-align:top; font-size:95%;"
Line 62: Line 111:
{{!}}style="width:30%; font-weight:bold;"{{!}}Party:
{{!}}style="width:30%; font-weight:bold;"{{!}}Party:
{{!}}style="width:70%;"{{!}}{{{party}}}
{{!}}style="width:70%;"{{!}}{{{party}}}
}}
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{caucus|}}}|
{{!}}style="width:30%; font-weight:bold;"{{!}}Caucus:
{{!}}style="width:70%;"{{!}}{{{Caucus}}}
}}
|-
<!-- Officers  -->{{#if:{{{chair|{{{vice-chair|{{{secretary|{{{treasurer|}}}}}}}}}}}}|
{{!}} style="background: #6D6E71; color:#ffffff; font-size: 110%;" align="center" colspan="2" {{!}} '''Officers'''}}
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{chair|}}}|
{{!}}style="width:30%; font-weight:bold;"{{!}}Chair:
{{!}}style="width:70%;"{{!}}{{{chair}}}
}}
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{vice-chair|}}}|
{{!}}style="width:30%; font-weight:bold;"{{!}}Vice Chair:
{{!}}style="width:70%;"{{!}}{{{vice-chair}}}
}}
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{secretary|}}}|
{{!}}style="width:30%; font-weight:bold;"{{!}}Secretary:
{{!}}style="width:70%;"{{!}}{{{secretary}}}
}}
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{treasurer|}}}|
{{!}}style="width:30%; font-weight:bold;"{{!}}Treasurer:
{{!}}style="width:70%;"{{!}}{{{treasurer}}}
}}
}}


|-
|-
<!-- Media  -->{{#if:{{{website|{{{facebook|{{{twitter|{{{meetup|}}}}}}}}}}}}|
<!-- Media  -->{{#if:{{{website|{{{facebook|{{{twitter|{{{instagram|}}}}}}}}}}}}|
{{!}} style="background: #6D6E71; color:#ffffff; font-size: 110%;" align="center" colspan="2" {{!}} '''Media'''}}
{{!}} style="background: #6D6E71; color:#ffffff; font-size: 110%;" align="center" colspan="2" {{!}} '''Media'''}}


Line 105: Line 120:
{{#if:{{{website|}}}|
{{#if:{{{website|}}}|
{{!}}style="width:30%; font-weight:bold;"{{!}}Website:
{{!}}style="width:30%; font-weight:bold;"{{!}}Website:
{{!}}style="width:70%;"{{!}}[{{{website}}} Website]
{{!}}style="width:70%;"{{!}}{{{website}}}
}}
}}


Line 121: Line 136:


|- style="text-align:left; vertical-align:top; font-size:95%;"
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{meetup|}}}|
{{#if:{{{instagram|}}}|
{{!}}style="width:30%; font-weight:bold;"{{!}}Meetup:
{{!}}style="width:30%; font-weight:bold;"{{!}}Instagram:
{{!}}style="width:70%;"{{!}}[{{{meetup}}} Meetup]
{{!}}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 local affiliate = [[Category:Infobox Templates]]
|Template:Infobox Person = [[Category:Infobox Templates]]
|Template:Infobox local affiliate/doc = [[Category:Template documentation]]
|Template:Infobox Person/doc = [[Category:Template documentation]]
|#default = [[Category:Local Affiliates]]
|Template:People/preload = [[Category:Preload Templates]]
}}<!--
|#default = <includeonly>[[Category:Biographies|{{{name-last|}}}, {{{name-first|}}}]]<!--
-->{{#ifeq:{{{status|}}}|Active|[[Category:Local Affiliates]]}}<!--
-->{{#if:{{{birth-date|}}}|[[Category:Infoboxes with birth information]]|}}</includeonly>
-->{{#ifeq:{{{status|}}}|Active|[[Category:Local Affiliates of the Libertarian Party of {{{state|}}}]]}}<!--
}}{{DEFAULTSORT:{{{name-last}}}, {{{name-first}}}}}<!--
-->{{#ifeq:{{{status|}}}|Defunct|[[Category:Former Local Affiliates]]|}}<!--
--><noinclude><br style="clear:both">{{Documentation}}</noinclude>
-->{{#ifeq:{{{status|}}}|Defunct|[[Category:Former Local Affiliates of the Libertarian Party of {{{state|}}}]]|}}<!--
--><noinclude><br style="clear:both">{{Documentation}}</noinclude><noinclude>
[[Category:infoboxes]]</noinclude>

Latest revision as of 01:03, 1 March 2023

Name
Personal Details


Template documentation (for the above template, sometimes hidden or invisible)

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 =
}}