Difference between revisions of "Template:Infobox economist"

From blackwiki
Jump to navigation Jump to search
imported>777sms
imported>MB
(restore child as valid parm also)
 
(91 intermediate revisions by 32 users not shown)
Line 1: Line 1:
{{Infobox
+
<includeonly>{{#ifeq:{{{child|{{{embed|}}}}}}|yes|'''Academic career'''}}{{Infobox person|child={{{child|{{{embed|}}}}}}
| bodyclass  = vcard
+
| honorific_prefix  = {{{honorific_prefix|}}}
| titleclass = fn
+
| name              = {{{name|}}}
| title      = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
+
| honorific_suffix  = {{{honorific_suffix|}}}
| above      = {{#if:{{{color|}}}|<font color="white">{{{school_tradition|}}}</font>|{{{school_tradition|}}}}}
+
| image              = {{{image|}}}
| aboveclass = category
+
| image_size        = {{{image_size|}}}
| abovestyle = {{#if:{{{color|}}}|background-color: {{{color}}};}} font-size: 100%
+
| alt                = {{{alt|}}}
| image     = {{#if:{{{image_name|}}}|[[Image:{{{image_name}}}|{{#if:{{{image_size|}}}|{{{image_size}}}|200}}px|{{#if:{{{image_alt|}}}|alt={{{image_alt}}}}}]]}}
+
| caption            = {{{caption|}}}
| caption    = {{{image_caption|}}}
+
| native_name        = {{{native_name|}}}
 +
| native_name_lang  = {{{native_name_lang|}}}
 +
| birth_name        = {{{birth_name|}}}
 +
| birth_date        = {{{birth_date|}}}
 +
| birth_place        = {{{birth_place|}}}
 +
| death_date        = {{{death_date|}}}
 +
| death_place        = {{{death_place|}}}
 +
| resting_place     = {{{resting_place|}}}
 +
| resting_place_coordinates = {{{resting_place_coordinates|{{{resting_place_coords|}}}}}}
 +
| citizenship        = {{{citizenship|}}}
 +
| nationality        = {{{nationality|}}}
 +
| spouse            = {{if empty|{{{spouses|}}}|{{{spouse|}}}}}
 +
| children          = {{{children|}}}
 +
| website            = {{{website|{{{url|}}}}}}
 +
| module            = {{Infobox|child=yes|decat=yes<!-- remove from template:infobox tracking categories -->
 +
| label1  = Institution{{#if:{{{institutions|}}}|s}}
 +
|  data1  = {{#if:{{{institutions|}}}|{{{institutions}}}|{{{institution|}}}}}
  
| label1    = Birth
+
| label2  = Field
| data1      = {{{birth_date|}}}
+
| class2  = category
| label2    = Death
+
| data2   = {{{field|}}}
| data2     = {{{death_date|}}}
+
 
| label3     = Nationality
+
| label3   = School&nbsp;or<br />tradition
| data3     = {{{nationality|}}}
+
| class3  = category
| label4     = Institution
+
| data3   = {{{school_tradition|}}}
| data4     = {{{institution|}}}
+
 
| label5     = Field
+
| label4   = Alma&nbsp;mater
| data5     = {{{field|}}}
+
| data4   = {{{alma_mater|}}}
| label6     = Alma mater
+
 
| data6     = {{{alma_mater|}}}
+
| label5   = Doctoral<br />advisor
| label7     = Influences
+
| data5   = {{if empty|{{{doctoral_advisors|}}}|{{{doctoral_advisor|}}}}}
| data7     = {{{influences|}}}
+
 
| label8     = Opposed
+
| label6   = Academic<br />advisors
| data8     = {{{opposed|}}}
+
| data6   = {{{academic_advisors|}}}
| label9     = Influenced
+
 
| data9     = {{{influenced|}}}
+
| label7   = Doctoral<br />students
| label10   = Contributions
+
| data7   = {{{doctoral_students|}}}
| data10     = {{{contributions|}}}
+
 
| label11   = Awards
+
| label8   = Other notable students
| data11     = {{{awards|}}}
+
| data8   = {{{notable_students|}}}
| label12   = Signature
+
 
| data12     = {{#if:{{{signature|}}}|[[file:{{{signature}}}|128px]]}}
+
| label9   = Influences
| below      = {{#if:{{{repec_id|}}}|[http://ideas.repec.org/{{{repec_prefix}}}/{{{repec_id|}}}.html Information] at [[IDEAS/RePEc]]}}
+
| data9   = {{{influences|}}}
}}<noinclude>{{doc}}<!-- categories and interwiki links go on /doc --></noinclude>
+
 
 +
| label10 = Contributions
 +
| data10   = {{{contributions|}}}
 +
 
 +
| label11 = Awards
 +
| data11   = {{{awards|}}}
 +
 
 +
| label12 = Memorials
 +
| data12   = {{{memorials|}}}
 +
 
 +
| data13  = {{#if:{{{repec_id|}}} |[https://ideas.repec.org/{{{repec_prefix}}}/{{{repec_id|}}}.html Information] at [[Research Papers in Economics|IDEAS&nbsp;/&nbsp;RePEc]]}}
 +
}}
 +
| module2            = {{{module|}}}
 +
| nocat_wdimage      = {{{nocat_wdimage|}}}
 +
| signature          = {{{signature|}}}
 +
| signature_size    = {{{signature_size|}}}
 +
| signature_alt      = {{{signature_alt|}}}
 +
| footnotes          = {{{footnotes|{{{notes|}}}}}}
 +
}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox economist with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox economist]] with unknown parameter "_VALUE_"|ignoreblank=y| academic_advisors | alma_mater | alt | awards | birth_date | birth_name | birth_place | caption | child | children | citizenship | contributions | death_date | death_place | doctoral_advisor | doctoral_advisors | doctoral_students | embed | field | footnotes | honorific_prefix | honorific_suffix | image | image_size | influenced | influences | institution | institutions | memorials | module | name | nationality | native_name | native_name_lang | nocat_wdimage | notable_students | notes | repec_id | repec_prefix | resting_place | resting_place_coordinates | resting_place_coords | school_tradition | signature | signature_alt | signature_size | spouse | spouses | url | website }}{{#if:{{{child|{{{embed|}}}}}}|[[Category:Pages using infobox economist as a module]]}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 03:44, 29 November 2020

50px Template documentation[view] [edit] [history] [purge]

Template:Person infobox header Template:Uses infobox person

Template:Tracks Wikidata

To use this template, copy the text below to the top of the biography. All fields are optional; any left blank will not appear in the Infobox. The exception is {{{name}}}, which, if omitted, will be inherited from the title of the article.

Template:Parameter names example

Usage

{{Infobox economist
| child             = 
| honorific_prefix  = 
| name              = 
| honorific_suffix  = 
| image             = 
| image_size        = 
| alt               = 
| caption           = 
| native_name       = 
| native_name_lang  = 
| birth_date        = <!-- {{birth date and age|YYYY|MM|DD}} -->
| birth_place       = 
| death_date        = 
| death_place       = 
| resting_place     = 
| resting_place_coordinates = <!-- (use {{coord …}}) -->
| nationality       = 
| citizenship       = 
| spouse            = <!-- or: spouses -->
| children          = 
| website           = <!-- {{URL|example.com}} -->
| institution       = <!-- or: institutions -->
| field             = 
| years_active      = 
| school_tradition  = 
| alma_mater        = 
| doctoral_advisor  = 
| academic_advisors = 
| doctoral_students = 
| notable_students  = 
| influences        = 
| contributions     = 
| awards            = 
| memorials         = 
| repec_prefix      = 
| repec_id          = 
| module            = 
| signature         = <!-- filename only -->
| notes             = <!-- or: footnotes -->
}}

Parameters

Parameter Description
child yes (for embedding in another template)
honorific_prefix
name (defaults to {{PAGENAME}})
honorific_suffix
image
image_size
alt (See WP:ALT).
caption
native_name Name in local language. If more than one, separate using {{plainlist}}.
native_name_lang ISO 639-1 code e.g. "fr" for French. If more than one, use {{lang}} instead.
birth_date Use the template {{birth date and age}} if alive, otherwise {{birth date}}.
birth_place
death_date Use the template {{death date and age}}.
death_place
resting_place Location of grave / ashes / etc.
resting_place_coordinates Precise coordinates of resting place / grave / etc. Use {{coord}}.
nationality
citizenship
spouse (or, if more than one, use spouses)
children
website Official website; use {{URL}}.
institution (or, if more than one, use institutions)
field (i.e. field within economics)
school_tradition Should be selected from the list of schools of economic thought.
alma_mater
doctoral_advisor
academic_advisors
doctoral_students
notable_students
influences
contributions
awards
years active
notable works
memorials Memorials, plaques, entities named after the person, etc.
repec_prefix
repec_id
Generates a link to search for IDs at IDEAS/RePEc
module For embedding another template.
signature Filename only of a picture of the person's signature.
notes
  • Entries in influences, notable_students, school_tradition, and contributions should be explained in the main text of the article. Those that are not mentioned in the main text may be deleted.

Example

Milton Friedman
File:Portrait of Milton Friedman.jpg
Born(1912-07-31)July 31, 1912
DiedNovember 16, 2006(2006-11-16) (aged 94)
NationalityAmerican
Spouse(s)Script error: No such module "If empty".
Institution
School or
tradition
Chicago School
Alma mater
  • Columbia University (PhD 1946)
  • University of Chicago (MA 1933)
  • Rutgers University (BA 1932)
Doctoral
advisor
Script error: No such module "If empty".
Influences
Contributions
Awards
Information at IDEAS / RePEc
[[Category:Infobox templates|Template:Remove first word]]
Signature
150px
[[Category:Infobox templates|Template:Remove first word]]Template:Wikidata image
{{Infobox economist
| name = Milton Friedman
| image = Portrait of Milton Friedman.jpg
| birth_date = {{birth date|mf=yes|1912|7|31}}
| birth_place = [[Brooklyn]], [[New York City|New York]], [[New York (state)|New York]], U.S.
| death_date = {{nowrap|{{death date and age|mf=yes|2006|11|16|1912|7|31}}}}
| death_place = [[San Francisco]], [[California]], U.S.
| nationality = [[United States|American]]
| institution = {{plainlist|
* [[Hoover Institution]]  (1977–2006)
* [[Columbia University]]    (1964–65)
* [[University of Chicago]]  (1946–77)
* Columbia University  (1943–45) (1937–41)
* [[National Bureau of Economic Research]] (1937–40)
}}
| school_tradition = [[Chicago school of economics|Chicago School]]
| alma_mater = {{plainlist|
* Columbia University   (PhD 1946)
* University of Chicago (MA 1933)
*[[Rutgers University]] (BA 1932)
}}
| influences = {{hlist|[[Adam Smith|Smith]] |[[Irving Fisher|Fisher]] |[[Frank Knight|Knight]] |[[Simon Kuznets|Kuznets]] |[[Jacob Viner|Viner]] |[[Harold Hotelling|Hotelling]] |[[Arthur F. Burns|Burns]] |[[Friedrich Hayek|Hayek]] |[[Homer Jones (economist)|H. Jones]] |[[Henry Calvert Simons|H. C. Simons]] |[[George Stigler|Stigler]] |[[Henry Schultz|Schultz]] |[[Henry George|George]]}}
| contributions = {{plainlist|
* [[Microeconomics|Price theory]]{{int:dot-separator}}[[Monetarism]]
* [[Macroeconomics|Applied macroeconomics]]
* [[Floating exchange rate]]s
* [[Permanent income hypothesis]]
* [[Conscription in the United States#End of conscription|Volunteer military]]{{int:dot-separator}}[[Friedman test]]
}}
| awards = {{plainlist|
* {{nowrap|1988 [[National Medal of Science]]}}
* {{longitem|1988 [[Presidential Medal of Freedom]]}}
* {{longitem|1976 [[Nobel Memorial Prize in Economic Sciences]]}}
* 1951 [[John Bates Clark Medal]]
}}
| signature = Milton friedman signature.svg
| repec_prefix = e 
| repec_id = pfr10
}}

Microformat

Template:UF-hcard-person

Tracking categories

See also