Only logged-in users can create and edit pages

Difference between revisions of "Template:Infobox Professor"

From wikilawschool.net. Wiki Law School does not provide legal advice. For educational purposes only.
Jump to navigationJump to search
Line 54: Line 54:
 
|}
 
|}
  
</noinclude><includeonly>{| class="infobox" cellspacing="3" style="width:25em; font-size:90%; text-align:left;"
+
</noinclude><includeonly><div itemscope itemtype="http://data-vocabulary.org/Person">
 +
{| class="infobox" cellspacing="3" style="width:25em; font-size:90%; text-align:left;"
 
|-
 
|-
| colspan="2" style="font-size:larger; text-align:center;"| '''{{PAGENAME}}'''
+
| colspan="2" style="font-size:larger; text-align:center;"| '''<span itemprop="name">{{PAGENAME}}</span>'''
 
|-
 
|-
 
| colspan="2" style="text-align:center;"| {{#if: {{{image|}}}|{{{image|}}}|[[File:Default avatar.jpg]]}}
 
| colspan="2" style="text-align:center;"| {{#if: {{{image|}}}|{{{image|}}}|[[File:Default avatar.jpg]]}}
Line 62: Line 63:
 
{{#if: {{{title|}}} |
 
{{#if: {{{title|}}} |
 
! Title(s)
 
! Title(s)
{{!}} {{#arraymap:{{{title|}}}|*|xtitle|[[Professor titles::xtitle]]|<br />}}
+
{{!}} {{#arraymap:{{{title|}}}|*|xtitle|<span itemprop="jobtitle">[[Professor titles::xtitle]]</span>|<br />}}
 
}}
 
}}
 
|-
 
|-
 
! Law school
 
! Law school
| {{#arraymap:{{{law_school|}}}|*|xlawschool|[[Is professor at::xlawschool]]|<br />}}
+
| {{#arraymap:{{{law_school|}}}|*|xlawschool|<span itemprop="affiliation">[[Is professor at::xlawschool]]</span>|<br />}}
 
|-
 
|-
 
! Subject(s)
 
! Subject(s)
Line 83: Line 84:
 
{{#if: {{{alma_mater|}}} |
 
{{#if: {{{alma_mater|}}} |
 
! Alma Mater
 
! Alma Mater
{{!}} [[Has alma mater::{{{alma_mater|}}}]]
+
{{!}} <span itemprop="alumniOf">[[Has alma mater::{{{alma_mater|}}}]]</span>
 
}}
 
}}
 
|-
 
|-
Line 91: Line 92:
 
{{#if: {{{website|}}} |
 
{{#if: {{{website|}}} |
 
! Website
 
! Website
{{!}} {{URL|1={{{website|}}}}}
+
{{!}} <span itemprop="url">{{URL|1={{{website|}}}}}</span>
 
}}
 
}}
 
|}
 
|}
Line 97: Line 98:
 
[[Category:Law Professors{{#if:{{{last_name|}}}|{{!}}{{{last_name|}}}}}]]
 
[[Category:Law Professors{{#if:{{{last_name|}}}|{{!}}{{{last_name|}}}}}]]
 
{{#arraymap:{{{law_school|}}}|*|catlawschool|[[Category:catlawschool Professors{{#if:{{{last_name|}}}|{{!}}{{{last_name|}}}}}]]|}}
 
{{#arraymap:{{{law_school|}}}|*|catlawschool|[[Category:catlawschool Professors{{#if:{{{last_name|}}}|{{!}}{{{last_name|}}}}}]]|}}
</includeonly>
+
</div></includeonly>

Revision as of 04:48, 16 November 2014

This is the "Infobox Professor" template. It should be called in the following format:

{{Infobox Professor
| last_name    =
| image        =
| title        = 
| law_school   = 
| subjects     = 
| status       =
| taught_since = 
| alma_mater   =
| outlines     = 
| website      = 
}}

Description of fields

Field Description
last_name The last name of the professor.
image If an identifying image can be found, include it in this parameter, like this: [[Image:Example.jpg]]. If the image is much wider than 200px, please limit it like this: [[Image:Example.jpg|200px]].
title Eg, "Associate Professor," "John Smith Distinguished Professor of Law." If multiple, separate by asterisk.
law_school The name of the law school where the professor currently teaches.
subjects The subjects taught by the professor. If multiple, separate each by asterisk.
status "full time" or "adjunct"
taught_since First year this professor started teaching law classes.
alma_mater The professor's law school alma mater (use the same name as that school's page on Wiki Law School).
outline Wiki page name(s) (leave brackets off, they will be added automatically) of any professor-specific outline. If multiple, separate each by asterisk.
website web address of the professor's law school biography.