Difference between revisions of "Template:Infobox scientist/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(use PAGENAMEBASE instead of PAGENAME)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
| bodyclass = vcard
+
| child = {{#ifeq:{{lc:{{{embed_officeholder}}}}}|yes|yes|{{#ifeq:{{lc:{{{embed}}}}}|yes|yes}}}}
 +
| headerstyle = {{#ifeq:{{lc:{{{embed_officeholder}}}}}|yes|background:lavender;}}
 +
| header1  = {{#ifeq:{{lc:{{{embed_officeholder}}}}}|yes|'''Scientific career'''|{{#ifeq:{{lc:{{{embed}}}}}|yes|'''Scientific career'''}}}}
 +
| decat  = yes <!-- remove from template:infobox tracking categories -->
  
| aboveclass = fn
+
| bodyclass  = vcard
| abovestyle = background:transparent;text-align:center;
 
| above = {{#if:{{{name|}}} |{{{name}}} |<includeonly>{{PAGENAMEBASE}}</includeonly>}}
 
  
 +
| above      = {{#ifeq:{{lc:{{{embed}}}}}|yes||{{#ifeq:{{lc:{{{embed_officeholder}}}}}|yes||
 +
{{br separated entries
 +
|1={{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span>}}
 +
|2=<includeonly><span class="fn">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</span></includeonly>
 +
|3={{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}}
 +
}}}}}}
 +
 +
| image      = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|{{{imagesize|}}}}}} |sizedefault=frameless |upright=1 |alt={{{alt|}}} |suppressplaceholder=yes}}
 
| imagestyle = padding-bottom:0.5em;
 
| imagestyle = padding-bottom:0.5em;
| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|{{{imagesize|}}}}}} |sizedefault=frameless |upright=1 |alt={{{alt|}}} |suppressplaceholder=yes}}
+
| caption   = {{{caption|}}}
| caption = {{{caption|}}}
 
 
 
| labelstyle = background:transparent; padding-top:0.225em;line-height:1.1em;<!--(modified longitem)--> padding-right:0.5em;<!--(to ensure sufficient gap between any (long/unwrapped) labels and subsequent data on same line)-->
 
| datastyle = vertical-align:middle;line-height:1.3em;
 
  
 
| label1  = Native name
 
| label1  = Native name
 
|  data1  = {{#if:{{{native_name|}}} |<span class="nickname" {{#if:{{{native_name_lang|}}} |lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}
 
|  data1  = {{#if:{{{native_name|}}} |<span class="nickname" {{#if:{{{native_name_lang|}}} |lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}
  
| label3 = Born
+
| label2 = Born
data3 = {{br separated entries |{{{birth_name|}}} |{{{birth_date|}}} |{{{birth_place|}}} }}
+
data2 = {{br separated entries |{{{birth_name|}}} |{{{birth_date|}}} |{{{birth_place|}}} }}
 +
 
 +
| label3  = Died
 +
|  data3  = {{br separated entries |{{{death_date|}}} |{{{death_place|}}} |{{{death_cause|}}} }}
  
| label5 = Died
+
| label4 = Resting place
data5 = {{br separated entries |{{{death_date|}}} |{{{death_place|}}} |{{{death_cause|}}} }}
+
| class4 = label
 +
|  data4 = {{br separated entries |{{{resting place|{{{resting_place|{{{restingplace|}}}}}}}}} |{{{resting place coordinates|{{{resting_place_coordinates|{{{restingplacecoordinates|}}}}}}}}} }}
  
| label7 = Resting place
+
| label5 = Other names
| class7 = label
+
| class5 = nickname
data7 = {{br separated entries |{{{resting place|{{{resting_place|{{{restingplace|}}}}}}}}} |{{{resting place coordinates|{{{resting_place_coordinates|{{{restingplacecoordinates|}}}}}}}}} }}
+
data5 = {{{other_names|}}}
  
| label9  = Other names
+
| label6 = Residence
| class9  = nickname
+
data6 = {{{residence|}}}
data9  = {{{other_names|}}}
 
  
| label11 = Residence
+
| label7 = Citizenship
data11 = {{{residence|}}}
+
data7 = {{{citizenship|}}}
  
| label13 = Citizenship
+
| label8 = Nationality
data13 = {{{citizenship|}}}
+
data8 = {{{nationality|}}}
  
| label15 = Nationality
+
| label9 = Fields
data15 = {{{nationality|}}}
+
| class9 = category
 +
data9 = {{{field|{{{fields|}}}}}}
  
| label17 = Fields
+
| label10 = Institutions
| class17 = category
+
| data10 = {{{workplaces|{{{work_institutions|{{{work_institution|}}}}}}}}}
| data17 = {{{field|{{{fields|}}}}}}
 
  
| label19 = Institutions
+
| label11 = Patrons
data19 = {{{workplaces|{{{work_institutions|{{{work_institution|}}}}}}}}}
+
data11 = {{{patrons|}}}
  
| label21 = Patrons
+
| label12 = Education
data21 = {{{patrons|}}}
+
data12 = {{{education|}}}
  
| label23 = {{nowrap|[[Alma mater]]}}
+
| label13 = {{nowrap|[[Alma mater]]}}
data23 = {{{alma_mater|}}}
+
data13 = {{{alma_mater|}}}
  
| label25 = {{#if:{{{thesis2_title|}}} |[[Thesis|Theses]] |[[Thesis]]}}
+
| label14 = {{#if:{{{thesis2_title|}}} |[[Thesis|Theses]] |[[Thesis]]}}
data25 = {{#if:{{{thesis1_title|}}}{{{thesis2_title|}}}
+
data14 = {{#if:{{{thesis1_title|}}}{{{thesis2_title|}}}
 
             | {{startplainlist}}
 
             | {{startplainlist}}
 
* {{#if:{{{thesis1_title|}}}
 
* {{#if:{{{thesis1_title|}}}
Line 69: Line 77:
 
             }} }}
 
             }} }}
  
| label27 = [[Doctoral advisor]]
+
| label15 = [[Doctoral advisor]]{{#if:{{{doctoral_advisors|}}}|s}}
data27 = {{{doctoral_advisor|}}}
+
data15 = {{if empty|{{{doctoral_advisors|}}}|{{{doctoral_advisor|}}}}}
  
| label29 = {{#if:{{{doctoral_advisor|}}} |Other&nbsp;academic advisors |Academic advisors}}<!--
+
| label16 = {{#if:{{{doctoral_advisors|}}}{{{doctoral_advisor|}}} |Other&nbsp;academic advisors |Academic advisors}}
        -->{{#if:{{{academic_advisors_ref|}}} |{{nobold|{{{academic_advisors_ref}}}}} }}
+
data16 = {{{academic_advisors|}}}
data29 = {{{academic_advisors|}}}
 
  
| label31 = Doctoral students<!--
+
| label17 = Doctoral students
        -->{{#if:{{{doctoral_students_ref|}}} |{{nobold|{{{doctoral_students_ref}}}}} }}
+
data17 = {{{doctoral_students|}}}
data31 = {{{doctoral_students|}}}
 
  
| label33 = {{#if:{{{doctoral_students|}}} |Other&nbsp;notable students |Notable students}}<!--
+
| label18 = {{#if:{{{doctoral_students|}}} |Other&nbsp;notable students |Notable students}}
        -->{{#if:{{{notable_students_ref|}}} |{{nobold|{{{notable_students_ref}}}}} }}
+
data18 = {{{notable_students|}}}
data33 = {{{notable_students|}}}
 
  
| label35 = Known&nbsp;for
+
| label19 = Known&nbsp;for
data35 = {{{known_for|}}}
+
data19 = {{{known_for|}}}
  
| label37 = Influences
+
| label20 = Influences
data37 = {{{influences|}}}
+
data20 = {{{influences|}}}
  
| label39 = Influenced
+
| label21 = Influenced
data39 = {{{influenced|}}}
+
data21 = {{{influenced|}}}
  
| label41 = Notable awards
+
| label22 = Notable awards
data41 = {{{awards|}}}{{{prizes|}}}
+
data22 = {{{awards|}}}{{{prizes|}}}
  
| label43 = [[Author citation (botany)|Author&nbsp;abbrev. (botany)]]
+
| label23 = [[Author citation (botany)|Author&nbsp;abbrev. (botany)]]
data43 = {{{author_abbreviation_bot|{{{author_abbrev_bot|}}}}}}
+
data23 = {{{author_abbreviation_bot|{{{author_abbrev_bot|}}}}}}
  
| label45 = [[Author citation (zoology)|Author&nbsp;abbrev. (zoology)]]
+
| label24 = [[Author citation (zoology)|Author&nbsp;abbrev. (zoology)]]
data45 = {{{author_abbreviation_zoo|{{{author_abbrev_zoo|}}}}}}
+
data24 = {{{author_abbreviation_zoo|{{{author_abbrev_zoo|}}}}}}
  
| label47 = Spouse{{#if:{{{spouses|}}}|s}}
+
| label25 = Spouse{{#if:{{{spouses|}}}|s}}
data47 = {{#if:{{{spouses|}}} |{{{spouses|}}} |{{{spouse|}}} }}
+
data25 = {{#if:{{{spouses|}}}|{{{spouses|}}}|{{{spouse|}}}}}
  
| label49 = Partner{{#if:{{{partners|}}}|s}}
+
| label26 = Partner{{#if:{{{partners|}}}|s}}
data49 = {{#if:{{{partners|}}} |{{{partners|}}} |{{{partner|}}} }}
+
data26 = {{#if:{{{partners|}}}|{{{partners|}}}|{{{partner|}}}}}
  
| label51 = Children
+
| label27 = Children
data51 = {{{children|}}}
+
data27 = {{{children|}}}
  
data53 = {{#if:{{{signature|}}} |'''Signature'''<br/>[[File:{{{signature}}}|128px|alt={{{signature_alt|}}}|{{{name|{{PAGENAME}}}}}'s signature]]}}
+
data28 = {{#if:{{{signature|}}} |'''Signature''' <div style="padding-top:0.25em;">[[File:{{{signature}}}|128px|alt={{{signature_alt|}}}|{{{name|{{PAGENAMEBASE}}}}}'s signature]]</div>}}
  
data57 = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}} |'''Website'''<br/>{{{website|{{{homepage|{{{URL|}}}}}}}}} }}
+
data29 = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}} |'''Website'''<br/>{{{website|{{{homepage|{{{URL|}}}}}}}}} }}
  
data59 = {{{module|}}}
+
data30 = {{{module|}}}
  
data61 = {{#if:{{{footnotes|}}} |<div style="font-style:90%;padding-top:0.25em;text-align:left;">'''Notes'''<br/>{{{footnotes}}}</div>}}
+
| header31 = {{#if:{{{footnotes|}}} |Notes}}
 +
data32 = {{#if:{{{footnotes|}}} |<div style="text-align:left;">
 +
{{{footnotes}}}</div>}}
  
}}<!--Auto-categorisation:
+
}}
    -->{{main other|{{#if:{{{author_abbreviation_zoo|{{{author_abbrev_zoo|}}}}}}
 
        | [[Category:Zoologists with author abbreviations|{{{author_abbreviation_zoo|{{{author_abbrev_zoo}}}}}}]]
 
      }}}}<noinclude>
 
{{Documentation}}
 
</noinclude>
 

Revision as of 19:58, 30 October 2016

Doctoral advisorScript error: No such module "If empty".