Difference between revisions of "Template:Infobox pstp"

From APSA Research Residency and Fellowship Program Database
Jump to: navigation, search
 
Line 47: Line 47:
 
| label17    = {{longitem|Assistant director email}}
 
| label17    = {{longitem|Assistant director email}}
 
| data17      = {{{assistant_director_email|}}}
 
| data17      = {{{assistant_director_email|}}}
| label18    = Administrator
+
| label18    = {{longitem|Administrator}}
 
| data18    = {{{administrator|}}}
 
| data18    = {{{administrator|}}}
 
| label19    = {{longitem|Administrator email}}
 
| label19    = {{longitem|Administrator email}}
Line 59: Line 59:
  
 
<!------------ Location, language, {{{free}}} ------------->
 
<!------------ Location, language, {{{free}}} ------------->
| label22   = Location
+
| label23   = Location
| class22   = adr
+
| class23   = adr
| data22     = {{#if:{{{location|}}}
+
| data23     = {{#if:{{{location|}}}
 
                 | <span class="extended-address">{{{location}}}</span>
 
                 | <span class="extended-address">{{{location}}}</span>
 
                 |  {{#if:{{{city|}}} |<span class="locality">{{{city}}}</span>}}<!--
 
                 |  {{#if:{{{city|}}} |<span class="locality">{{{city}}}</span>}}<!--
Line 67: Line 67:
 
                 -->{{#if:{{{country|}}} |, <span class="country-name">{{{country}}}</span>}}
 
                 -->{{#if:{{{country|}}} |, <span class="country-name">{{{country}}}</span>}}
 
               }}{{#if:{{{coor|}}} |<br/>{{{coor}}} }}
 
               }}{{#if:{{{coor|}}} |<br/>{{{coor}}} }}
| label23   = Language
+
| label24   = Language
| data23     = {{{language|}}}
+
| data24     = {{{language|}}}
  
 
<!------------ Website, telephone, NRMP, etc ------------->
 
<!------------ Website, telephone, NRMP, etc ------------->
| label24   = Website
+
| label25   = Website
| data24     = {{{website|}}}
+
| data25     = {{{website|}}}
| label25   = Telephone
+
| label26   = Telephone
| data25     = {{{telephone|}}}
+
| data26     = {{{telephone|}}}
| data26     = {{{logo|}}}
+
| data27     = {{{logo|}}}
| label27   = {{longitem|NRMP Number}}
+
| label28   = {{longitem|NRMP Number}}
| data27     = {{{nrmp_number|}}}  
+
| data28     = {{{nrmp_number|}}}  
| label28   = {{longitem|Additional NRMP Number}}
+
| label29   = {{longitem|Additional NRMP Number}}
| data28     = {{{additional_nrmp_number|}}}
+
| data29     = {{{additional_nrmp_number|}}}
  
 
<!-------------------- Location map ----------------------->
 
<!-------------------- Location map ----------------------->
| data29     = {{#if:{{{pushpin_map|}}}
+
| data30     = {{#if:{{{pushpin_map|}}}
 
                 |  <center><!--
 
                 |  <center><!--
 
                     -->{{Location map |{{{pushpin_map}}}
 
                     -->{{Location map |{{{pushpin_map}}}

Latest revision as of 04:56, 25 January 2018

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

{{Infobox pstp}} is an infobox for articles about physician-scientist training programs; see Wikipedia:College and university article guidelines.

Blank syntax

All fields other than name, specialty and website are optional. Their names, as below, must be in lower case. If a program has several co-directors rather than a director and associate director, use the co-director fields.

{{Infobox pstp
| name = 
| image = 
| image_size = 
| image_alt = 
| caption = 
| former_name = 
| specialty = 
| hospital_affiliation = 
| academic_affiliation = 
| established =         <!-- {{start date|YYYY}} -->
| closed =              <!-- {{end date|YYYY}} -->
| director = 
| director_email = 
| associate_director = 
| associate_director_email = 
| assistant_director = 
| assistant_director_email = 
| codirector_one = 
| codirector_one_email =
| codirector_two = 
| codirector_two_email =
| codirector_three = 
| codirector_three_email = 
| administrator = 
| administrator_email = 
| program_email = 
| current_trainees = 
| trainees_per_year = 
| website = 
| telephone = 
| logo = 
| city = 
| state = 
| province = 
| country = 
| language = 
| nrmp_number = 
| additional_nrmp_number = 
}}

Example

Internal Medicine Research Track
scroll atop shield outline
Seal of University of Illyria
Former name
Internal Medicine, Research
Specialty Internal Medicine
Hospital affiliation(s)
General Hospital
Academic affiliation
University of Illyria
Active 2000 (2000)–2005 (2005)
Director Jane Doe, MD
Director email
jane.doe@illyria.edu
Co-director
Jane Doe, MD (n.b. First co-director)
Co-director email
jane.doe@illyria.edu
Co-director
John Doe, DO (n.b. Second co-director)
Co-director email
john.doe@illyria.edu
Co-director
Jane Doe, MD (n.b. Third co-director)
Co-director email
jane.doe@illyria.edu
Associate director
John Doe, DO
Associate director email
john.doe@illyria.edu
Assistant director
John Doe, DO
Assistant director email
john.doe@illyria.edu
Administrator
Richard Roe
Administrator email
richard.roe@illyria.edu
Program email
pstp@illyria.edu
Current trainees
20
Trainees per year
5
Location New York City, New York, United States of America
Language American English
Website pstp.illyria.edu
Telephone 1-311-555-2368
50px
NRMP Number
1234567A8
Additional NRMP Number
1234567A8
{{Infobox pstp
| name = Internal Medicine Research Track
| image = Dabney-minimalist-vector.svg
| image_size = 162px
| image_alt = scroll atop shield outline
| caption = Seal of University of Illyria
| former_name = Internal Medicine, Research
| specialty = Internal Medicine
| hospital_affiliation = General Hospital
| academic_affiliation = University of Illyria
| established = {{start date|2000}}
| closed = {{end date|2005}}
| director = Jane Doe, MD
| director_email = jane.doe@illyria.edu
| associate_director = John Doe, DO
| associate_director_email = johndoe@illyria.edu
| assistant_director = John Doe, MD
| assistant_director_email = johndoe@illyria.edu
| codirector_one = Jane Doe, MD (n.b. First co-director)
| codirector_one_email = [mailto:jane.doe@illyria.edu jane.doe@illyria.edu]
| codirector_two = John Doe, DO (n.b. Second co-director)
| codirector_two_email = [mailto:john.doe@illyria.edu john.doe@illyria.edu]
| codirector_three = Jane Doe, MD (n.b. Third co-director)
| codirector_three_email = [mailto:jane.doe@illyria.edu jane.doe@illyria.edu]
| administrator = Richard Roe
| administrator_email = richard.roe@illyria.edu
| program_email = pstp@illyria.edu
| current_trainees = 20
| trainees_per_year = 5
| website = {{URL|pstp.illyria.edu}}
| telephone = 1-311-555-2368
| logo = [[File:EUSP logo lowres.jpg|50px|alt=Spiral on stripes]]
| city = New York City
| state = New York
| province = 
| country = United States of America
| language = American English
| nrmp_number = 1234567A8
| additional_nrmp_number = 1234567A8
}}

Parameter descriptions

Parameters whose names are italicized and underlined are required. Any examples are not intended to represent or reflect actual information or statistics.

name 
Program name in English
image  
University-related graphic, preferably the university's official seal or logo. Produces an image of 200px by default. This parameter can also be specified as image_name.
image_size  
Use in conjunction with image. Allows editors to specify an image width rather than use the default. This defaults to the user's thumbnail size, or the image size if smaller.
image_alt  
Alt text for image, for visually impaired readers. This should not contain wiki syntax and should not duplicate the caption (see WP:ALT).
caption  
Caption text for the infobox image. May include wiki syntax.
former_name 
(or former_names)  Any former name or names of the program.
specialty  
Medical specialty of the program
hospital_affiliation 
Affiliated hospital or hospitals
academic_affiliation 
Addiliated university or other academic institution
established 
Date of establishment/founding. Use the template {{start date}} and give year if no more exact date available.
closed  
For former programs, provide the date of closure. Use the template {{end date}} and give year if no more exact date available.
director 
Program director name
director_email 
Program director email
associate_director 
Associate program director name
associate_director_email 
Associate program director email
assistant_director 
Assistant program director name
assistant_director_email 
Assistant program director email
codirector_one 
Name of the first co-director of the program
codirector_one_email 
Email of the first co-director of the program
codirector_two 
Name of the second co-director of the program
codirector_two_email 
Email of the second co-director of the program
codirector_three 
Name of the third co-director of the program
codirector_three_email 
Email of the third co-director of the program
administrator 
Program administrator name
administrator_email 
Program administrator email
program_email 
Email for the program
current_trainees 
Total number of trainees active in the program
trainees_per_year 
Average number of matriculating trainees per year
website 
Program's official website (homepage). Specify using {{URL}}.
telephone  
Program contact telephone number. Specify extension if relevant
logo  
For a (closely-)related logo, corporate emblem or similar graphic. Enter full image syntax.
city 
City where the institution is located (wikilink if possible).
state  
State or similar administrative subdivision. Use in conjunction with country and to the exclusion of province. Wikilink if possible.
province  
For all other administrative subdivisions; use as an alternative to state in conjunction with country.
country  
Country in which the university is located, based or registered. Use in conjunction with city and, optionally, state or province. Wikilink if possible.
language  
Language commonly used used for instruction at the institution.
nrmp_number 
National Residency Match Program (NRMP) Number
additional_nrmp_number 
Additional NRMP Number, if applicable (e.g. for a Research Track within a broader program)

Microformat

The HTML mark-up produced by this template includes an hCard microformat that makes an organization's details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.
Subtemplates
  • Use {{start date}} for the date on which an organisation was "established", "founded", "opened" or otherwise started, unless that date is before 1583 CE.
  • Use {{URL}} for an organisation's URL.
  • Use {{coord}} for coordinates associated with the organisation (e.g. the location of its headquarters). A Geo microformat will then make these coordinates parsable, e.g. for use in online mapping, downloading to a GPS unit, etc.

Please do not remove instances of these subtemplates.

Classes used

The HTML classes this microformat uses include:

  • adr
  • agent
  • category
  • country-name
  • extended-address
  • fn
  • geo
  • label
  • latitude
  • locality
  • longitude
  • nickname
  • note
  • org
  • region
  • street-address
  • url
  • vcard
Please do not rename or remove these classes
nor collapse nested elements which use them.

TemplateData

<templatedata> {

   "description": "An infobox for articles about physician-scientist training programs.",

"params": { "name": { "required": true, "type": "string/line", "label": "Name (in English)", "description": "Official name in English." }, "image": { "type": "string/line", "label": "Image Name", "description": "Program-related graphic, preferably the program's or its academic affiliate's official seal or logo. Use the image filename without File: namespace prefix. Produces an image of 200px by default.", "aliases": ["image_name"] }, "image_size": { "type": "string/line", "label": "Image Size", "description": "Use in conjunction with image. Allows editors to specify an image width rather than use the default." }, "image_alt": { "type": "string/line", "label": "Alternative Text for Image", "description": "Alt text for image, for visually impaired readers. This should not contain wiki syntax, and should not duplicate the caption. See WP:ALT." }, "caption": { "type": "string/line", "label": "Caption", "description": "Caption text for the infobox image. May include wiki syntax." }, "former_name": { "type": "string/line", "label": "Former Name", "description": "Previous name the prgram was known by." }, "specialty": { "required": true, "type": "string/line", "label": "Specialty", "description": "Medical specialty of the program." }, "hospital_affiliation": { "type": "string/line", "label": "Hospital Affiliation", "description": "Affiliated hospital(s), clinic(s), or other medical institution(s)." }, "academic_affiliation": { "type": "string/line", "label": "Academic Affiliation", "description": "Affiliated academic institution (university, college, research institute, etc)." }, "established": { "type": "string/line", "label": "Year Established", "description": "Date of establishment/founding. Give year if no exact date is available. Use the template  ()." }, "closed": { "type": "string/line", "description": "For former programs, provide the date of closure. Give year if no exact date is available. Use the template  ()." }, "director": { "type": "string/line", "label": "Program Director", "description": "Director of the program." }, "director_email": { "type": "string/line", "label": "Program Director Email", "description": "Contact email for the program director." }, "associate_director": { "type": "string/line", "label": "Associate Program Director", "description": "Associate program director, if applicable." }, "associate_director_email": { "type": "string/line", "label": "Associate Director Email", "description": "Contact email for the associate program director, if applicable." }, "assistant_director": { "type": "string/line", "label": "Assistant Program Director", "description": "Assistant program director, if applicable." }, "assistant_director_email": { "type": "string/line", "label": "Assistant Director Email", "description": "Contact email for the assistant program director, if applicable." }, "codirector_one": { "type": "string/line", "label": "First Codirector", "description": "First codirector, if applicable." }, "codirector_one_email": { "type": "string/line", "label": "First Codirector Email", "description": "Contact email for the first codirector, if applicable." }, "codirector_two": { "type": "string/line", "label": "Second Codirector", "description": "Second codirector, if applicable." }, "codirector_two_email": { "type": "string/line", "label": "Second Codirector Email", "description": "Contact email for the second codirector, if applicable." }, "codirector_three": { "type": "string/line", "label": "Third Codirector", "description": "Third codirector, if applicable." }, "codirector_three_email": { "type": "string/line", "label": "Third Codirector Email", "description": "Contact email for the third codirector, if applicable." }, "administrator": { "type": "string/line", "label": "Program Administrator", "description": "Administrator of the program." }, "administrator_email": { "type": "string/line", "label": "Administrator Email", "description": "Email of the program administrator." }, "program_email": { "type": "string/line", "label": "Program Email", "description": "Contact email for the program." }, "current_trainees": { "type": "string/line", "label": "Current Trainees", "description": "Number of trainees currently active in the program." }, "trainees_per_year": { "type": "string/line", "label": "Trainees Per Year", "description": "Number of trainees matriculating per year." }, "website": { "required": true, "type": "string/line", "label": "Website", "description": "Official program website. Use the template {{URL|example.com|optional display text}}." }, "telephone": { "type": "string/line", "label": "Telephone", "description": "Program contact telephone number. Include area code and country code (if applicable)." }, "logo": { "type": "string/line", "label": "Logo", "description": "Use for a logo, corporate emblem, or similar graphic. Enter full image syntax." }, "city": { "aliases": [ "" ], "type": "string/line", "label": "City", "description": "City the program is located in. Provide wikilink if possible." }, "state": { "type": "string/line", "label": "State", "description": "U.S. state or similar administrative subdivision. Use in conjunction with the Country field, and do not use with the Province field. Provide wikilink if possible." }, "province": { "type": "string/line", "label": "Province", "description": "For all other administrative subdivisions; use as an alternative to the State field in conjunction with the Country field." }, "country": { "type": "string/line", "label": "Country", "description": "Country in which the program is based. Provide wikilink if possible." }, "language": { "type": "string", "label": "Instruction Language", "description": "Language used for instruction" }, } } </templatedata>

See also

Template maintenance categories