Template:Infobox Professor: Difference between revisions

From wikilawschool.net. Wiki Law School does not provide legal advice. For educational purposes only.
mNo edit summary
No edit summary
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Infobox Professor" template.
This is the "Infobox Professor" template. It should be invoked for all articles about [[Wiki_Law_School:Law_Professors|Law Professors]].
 
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
Line 38: Line 39:
|-
|-
! status
! status
| "full time" or "adjunct"
| "full time," "adjunct," "emeritus," "retired," or "visiting."  
|-
|-
! taught_since
! taught_since
Line 44: Line 45:
|-
|-
! alma_mater
! alma_mater
| The professor's law school alma mater (use the same name as that school's page on Wiki Law School).
| The professor's law school alma mater (use the same name as that school's page on Wiki Law School). If multiple, separate each by '''asterisk'''.
|-
|-
! website
! website
| web address of the professor's law school biography.
| web address of the professor's law school biography. If multiple, separate each by '''asterisk'''.
|}
|}


Line 55: Line 56:
| colspan="2" style="font-size:larger; text-align:center;"| '''<span itemprop="name">{{PAGENAME}}</span>'''
| 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|}}}|<span itemprop="image">{{{image|}}}</span>|[[File:Default avatar.jpg]]}}
|-
|-
{{#if: {{{title|}}} |
{{#if: {{{title|}}} |
! Title(s)
! Title(s)
{{!}} {{#arraymap:{{{title|}}}|*|xtitle|<span itemprop="jobtitle">[[Has title::xtitle]]</span>|<br />}}
{{!}} {{#arraymap:{{{title|}}}|*|xtitle|<span itemprop="jobTitle">[[Has title::xtitle]]</span>|<br />}}
}}
}}
|-
|-
Line 66: Line 67:
|-
|-
! Subject(s)
! Subject(s)
| {{#arraymap:{{{subjects|}}}|*|subj|[[Subject::subj]]|<br />}}  
| {{#arraymap:{{{subjects|}}}|*|xsubjx|[[Teaches::xsubjx]]|<br />}}  
|-
|-
{{#if: {{{taught_since|}}} |
{{#if: {{{taught_since|}}} |
Line 80: Line 81:
{{#if: {{{alma_mater|}}} |
{{#if: {{{alma_mater|}}} |
! Alma Mater
! Alma Mater
{{!}} <span itemprop="alumniOf">[[Has alma mater::{{{alma_mater|}}}]]</span>
{{!}} {{#arraymap:{{{alma_mater|}}}|*|xalma_mater|<span itemprop="alumniOf">[[Has alma mater::xalma_mater]]</span>|<br />}}
}}
}}
|-
|-
Line 90: Line 91:
{{#if: {{{website|}}} |
{{#if: {{{website|}}} |
! Website
! Website
{{!}} <span itemprop="url">{{URL|1={{{website|}}}}}</span>
{{!}} {{#arraymap:{{{website|}}}|*|xwebsite|<span itemprop="url">{{URL|1=xwebsite}}</span>|<br />}}
}}
}}
|-
|-
| colspan="2" style="text-align:center;"|{{#formlink:form=OutlineUpload
| colspan="2" style="text-align:center;"|[[Form:Class-Specific Outline|{{Clickable button|Create an Outline for {{PAGENAME}}'s Class|color=blue}}]]
| link text=Click here to upload an outline file
| link type=button
| query string=OutlineUpload[Is taught by]={{PAGENAME}}
}}
|}
|}
 
{{#seo:|title={{FULLPAGENAME}} - Law School Professor - Wiki Law School
[[Category:Law Professors{{#if:{{{last_name|}}}|{{!}}{{{last_name|}}}}}]]
|description={{#if:{{{status|}}}|{{{status|}}}}} law professor {{#if:{{{law_school|}}}|at {{#arraymap:{{{law_school|}}}|*|@@@|@@@}}}}}}[[Category:Law Professors]]{{DEFAULTSORT:{{{last_name|}}} {{PAGENAME}} |noerror}}{{#arraymap:{{{law_school|}}}|*|catlawschool|[[Category:catlawschool Professors]]|\s}}</div></includeonly>
{{#arraymap:{{{law_school|}}}|*|catlawschool|[[Category:catlawschool Professors{{#if:{{{last_name|}}}|{{!}}{{{last_name|}}}}}]]|}}
</div></includeonly>

Revision as of 00:01, April 17, 2020

This is the "Infobox Professor" template. It should be invoked for all articles about Law Professors.

It should be called in the following format:

{{Infobox Professor
| last_name    =
| image        =
| title        = 
| law_school   = 
| subjects     = 
| status       =
| taught_since = 
| alma_mater   =
| 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. If multiple, separate each by asterisk.
subjects The subjects taught by the professor. If multiple, separate each by asterisk.
status "full time," "adjunct," "emeritus," "retired," or "visiting."
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). If multiple, separate each by asterisk.
website web address of the professor's law school biography. If multiple, separate each by asterisk.