Template:Infobox Professor: Difference between revisions
From wikilawschool.net. Wiki Law School does not provide legal advice. For educational purposes only.
m (Protected "Template:Infobox Professor": High traffic page: Template doesn't need to be edited. ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
Lost Student (talk | contribs) No edit summary |
||
(48 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{Infobox Professor | {{Infobox Professor | ||
| last_name = | |||
| image = | | image = | ||
| title = | | title = | ||
| law_school = | | law_school = | ||
| subjects = | | subjects = | ||
| status = | |||
| taught_since = | | taught_since = | ||
| | | alma_mater = | ||
| website = | | website = | ||
}} | }} | ||
Line 19: | Line 21: | ||
! style="width: 8em;"| Field | ! style="width: 8em;"| Field | ||
! Description | ! Description | ||
|- | |||
! last_name | |||
| The last name of the professor. | |||
|- | |- | ||
! image | ! 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]]. | | If an identifying image can be found, include it in this parameter, like this: <code><nowiki>[[Image:Example.jpg]]</nowiki></code>. If the image is much wider than 200px, please limit it like this: <code><nowiki>[[Image:Example.jpg|200px]]</nowiki></code>. | ||
|- | |- | ||
! title | ! title | ||
| Eg, "Associate Professor," "John Smith Distinguished Professor of Law." | | Eg, "Associate Professor," "John Smith Distinguished Professor of Law." If multiple, separate by '''asterisk'''. | ||
|- | |- | ||
! law_school | ! law_school | ||
| The name of the law school where the professor currently teaches. | | The name of the law school where the professor currently teaches. If multiple, separate each by '''asterisk'''. | ||
|- | |- | ||
! subjects | ! subjects | ||
| The subjects taught by the professor. If multiple, separate each by | | The subjects taught by the professor. If multiple, separate each by '''asterisk'''. | ||
|- | |||
! status | |||
| "full time" or "adjunct" | |||
|- | |- | ||
! taught_since | ! taught_since | ||
| First year this professor started teaching law classes. | | 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 | ! website | ||
Line 42: | Line 50: | ||
|} | |} | ||
</noinclude><includeonly>{| class="infobox" cellspacing="3" style="width:25em; font-size:90%; text-align: | </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;"| '''{{PAGENAME}}''' | | colspan="2" style="font-size:larger; text-align:center;"| '''<span itemprop="name">{{PAGENAME}}</span>''' | ||
|- | |- | ||
| colspan="2" style="text-align:center;"| {{{image|}}} | | colspan="2" style="text-align:center;"| {{#if: {{{image|}}}|<span itemprop="image">{{{image|}}}</span>|[[File:Default avatar.jpg]]}} | ||
|- | |- | ||
{{#if:{{{title|}}}! Title(s) | {{#if: {{{title|}}} | | ||
{{!}} | ! Title(s) | ||
{{!}} {{#arraymap:{{{title|}}}|*|xtitle|<span itemprop="jobTitle">[[Has title::xtitle]]</span>|<br />}} | |||
}} | |||
|- | |- | ||
! Law school | ! Law school | ||
| | | {{#arraymap:{{{law_school|}}}|*|xlawschool|<span itemprop="affiliation">[[Is professor at::xlawschool]]</span>|<br />}} | ||
|- | |- | ||
! Subject(s) | ! Subject(s) | ||
| {{#arraymap:{{{subjects|}}}| | | {{#arraymap:{{{subjects|}}}|*|subj|[[Subject::subj]]|<br />}} | ||
|- | |- | ||
{{#if: {{{taught_since|}}} | | |||
! Taught Since | ! Taught Since | ||
| {{{ | {{!}} [[Has taught since::{{{taught_since|}}}]] | ||
}} | |||
|- | |||
{{#if: {{{status|}}} | | |||
! Status | |||
{{!}} [[Status::{{{status|}}}]] | |||
}} | |||
|- | |||
{{#if: {{{alma_mater|}}} | | |||
! Alma Mater | |||
{{!}} {{#arraymap:{{{alma_mater|}}}|*|xalma_mater|<span itemprop="alumniOf">[[Has alma mater::xalma_mater]]</span>|<br />}} | |||
}} | |||
|- | |- | ||
! Outline(s) | ! Outline(s) | ||
| {{# | | {{#ask: [[Is taught by::{{PAGENAME}}]] | ||
| format=list | |||
}} | |||
|- | |||
{{#if: {{{website|}}} | | |||
! Website | |||
{{!}} <span itemprop="url">{{URL|1={{{website|}}}}}</span> | |||
}} | |||
|- | |||
| colspan="2" style="text-align:center;"|{{#formlink:form=OutlineUpload | |||
| link text=Click here to upload an outline file | |||
| link type=button | |||
| query string=OutlineUpload[Is taught by]={{PAGENAME}} | |||
}} | |||
|} | |} | ||
[[Category:Law Professors]] | [[Category:Law Professors{{#if:{{{last_name|}}}|{{!}}{{{last_name|}}}}}]] | ||
</includeonly> | {{#arraymap:{{{law_school|}}}|*|catlawschool|[[Category:catlawschool Professors{{#if:{{{last_name|}}}|{{!}}{{{last_name|}}}}}]]|}} | ||
</div></includeonly> |
Revision as of 01:33, December 14, 2017
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 = | 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" 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). If multiple, separate each by asterisk. |
website | web address of the professor's law school biography. |