Difference between revisions of "Template:Infobox medical details/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
m (Thumperward moved page Template:Infobox medical person/sandbox to Template:Infobox medical details/sandbox: per discussion at TfD: turning this into a module)
 
Line 5: Line 5:
 
| title      = {{#ifeq:{{{child|}}}|yes|Medical career|{{{name|<includeonly>{{PAGENAME}}</includeonly>}}} }}
 
| title      = {{#ifeq:{{{child|}}}|yes|Medical career|{{{name|<includeonly>{{PAGENAME}}</includeonly>}}} }}
 
| titleclass = {{#ifeq:{{{child|}}}|yes||fn}}
 
| titleclass = {{#ifeq:{{{child|}}}|yes||fn}}
| image      = {{#if:{{{image|}}}|[[file:{{{image}}}|{{px|{{{image_width|{{{image_size|{{{imagesize|}}}}}}}}}|frameless}}|alt={{{alt|}}}]]}}
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|alt={{{alt|}}}}}
| imageclass = {{image class|{{{image|}}}}}
 
 
| caption    = {{{caption|}}}
 
| caption    = {{{caption|}}}
  
 
| label1    = Born
 
| label1    = Born
 
| class1    = nickname
 
| class1    = nickname
| data1      = {{{birth_name|}}}{{#if:{{{birth_date|}}}|{{#if:{{{birth_name|}}}|<br />}}{{{birth_date}}}}}{{#if:{{{birth_place|}}}|{{#if:{{{birth_name|}}}{{{birth_date|}}}|<br />}}{{{birth_place}}}}}
+
| data1      = {{br separated entries
 +
| 1 = {{{birth_name|}}}
 +
| 2 = {{{birth_date|}}}
 +
| 3 = {{{birth_place|}}}
 +
}}
 
| label2    = Died
 
| label2    = Died
| data2      = {{{death_date|}}}{{#if:{{{death_place|}}}|{{#if:{{{death_date|}}}|<br />}}{{{death_place}}}}}{{#if:{{{death_cause|}}}|{{#if:{{{death_date|}}}{{{death_place|}}}|<br />}}{{{death_cause}}}}}
+
| data2      = {{br separated entries
 +
| 1 = {{{death_date|}}}
 +
| 2 = {{{death_place|}}}
 +
| 3 = {{{death_cause|}}}
 +
}}
 
| label3    = Profession
 
| label3    = Profession
 
| class3    = category
 
| class3    = category

Latest revision as of 19:53, 29 June 2013

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