Difference between revisions of "Template:Infobox medical details"

From blackwiki
Jump to navigation Jump to search
(Hide Born field if entries are blank, and fix other syntax)
imported>Plastikspork
(TFD closed as no consensus (XFDcloser))
 
(25 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{Infobox
+
{{#if:{{{profession|}}}{{{field|}}}{{{work_institutions|}}}{{{specialism|}}}{{{research_field|}}}{{{notable_works|}}}{{{prizes|}}}|{{Infobox|child = yes
| child      = {{{child|}}}
+
| decat      = yes <!-- remove from template:infobox tracking categories -->
| bodyclass  = vcard
+
| title      ='''Medical career'''
| bodystyle  = {{#if:{{{box_width|}}}|width: {{{box_width}}}}}
+
| label1    = Profession
| title      = {{#ifeq:{{{child|}}}|yes|Medical career|{{{name|<includeonly>{{PAGENAME}}</includeonly>}}} }}
+
| class1     = role
| titleclass = {{#ifeq:{{{child|}}}|yes||fn}}
+
| data1      = {{{profession|}}}
| image      = {{#if:{{{image|}}}|[[file:{{{image}}}|{{px|{{{image_width|{{{image_size|{{{imagesize|}}}}}}}}}|frameless}}|alt={{{alt|}}}]]}}
+
| label2     = Field
| imageclass = {{image class|{{{image|}}}}}
+
| class2     = category
| caption    = {{{caption|}}}
+
| data2      = {{{field|}}}
 
+
| label3    = Institutions
| label1     = Born
+
| data3      = {{{work_institutions|}}}
| data1      = {{br separated entries
+
| class3    = org
    |{{#if:{{{birth_name|}}}|<span class="nickname">{{{birth_name}}}</span>}}
+
| label4    = Sub-specialties
    |{{{birth_date|}}}
 
     |{{{birth_place|}}}
 
  }}
 
| label2     = Died
 
| data2      = {{br separated entries
 
    |{{{death_date|}}}
 
    |{{{death_place|}}}
 
    |{{{death_cause|}}}
 
  }}
 
| label3    = Profession
 
| class3    = role
 
| data3      = {{{profession|}}}
 
| label4    = Field
 
 
| class4    = category
 
| class4    = category
| data4      = {{{field|}}}
+
| data4      = {{{specialism|}}}
| label5    = Institutions
+
| label5    = Research
| data5      = {{{work_institutions|{{{work_institution|}}}}}}
+
| class5    = category
| class5    = org
+
| data5      = {{{research_field|}}}
| label6    = Specialism
+
| label6    = Notable works
| class6    = category
+
| data6      = {{{notable_works|}}}
| data6      = {{{specialism|}}}
+
| label7    = Awards
| label7    = Research
+
| data7      = {{{prizes|}}}
| class7    = category
+
}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox medical details with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox medical details]] with unknown parameter "_VALUE_"|ignoreblank=y| field | notable_works | prizes | profession | research_field | specialism | work_institutions }}<noinclude>{{documentation}}<!-- Add category and language links to the /doc sub-page, not here --></noinclude>
| data7      = {{{research_field|}}}
 
| label8    = Known for
 
| class8    = note
 
| data8      = {{{known_for|}}}
 
| label9    = Years active
 
| data9      = {{{years_active|}}}
 
| label10    = Education
 
| data10    = {{{education|}}}
 
| label11    = Notable prizes
 
| class11    = note
 
| data11    = {{{prizes|}}}
 
| label12    = Relations
 
| data12    = {{{relations|}}}
 
| data13    = {{#if:{{{signature|}}}
 
            | '''Signature'''<br/><!--
 
              -->[[Image:{{{signature}}}|200px<!--
 
                -->|alt={{{signature_alt|}}}<!--
 
                -->|{{{name|{{PAGENAME}}}}}'s signature]] }}
 
 
 
}}<noinclude>{{documentation}}<!-- Add category and language links to the /doc sub-page, not here --></noinclude>
 

Latest revision as of 13:32, 1 April 2020

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

{{Infobox medical details}} may be used to add information about an individual's medical career to {{infobox person}}. Note that for scientists {{infobox scientist}} should be used.

Usage

This infobox may be added by copy-pasting the template as shown below into an article.

{{Infobox person
| name        = ** Use whatever fields you wish
| image       = ** from the usual {{infobox person}}
| nationality = ** here: this is just a sample.
| birth_place = ** Medical information is included
| education   = ** in the module below

| module      = {{Infobox medical details
| profession        = 
| field             = 
| work_institutions = 
| specialism        = 
| research_field    = 
| notable_works     = 
| prizes            = 
}}
}}

Parameters

profession
State if they are a doctor, surgeon, nurse or other
field
State if they are a heart surgeon, physician etc.
work_institutions
Insert key institutions, universities, and/or companies where they are/were employed
specialism
For example, "organ transplants"
research_field
prizes
Insert most notable prizes and medals

Microformats

Template:UF-hcard-person