Difference between revisions of "Template:Faculty"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
imported>BethNaught
(add hCard classes, style cleanup; I'm parroting Template:Alum, check please)
Line 1: Line 1:
 
{{Tfm/dated|page=Faculty|otherpage=Alum|link=Wikipedia:Templates for discussion/Log/2015 September 9#Template:Faculty|type=tiny|help=off}}
 
{{Tfm/dated|page=Faculty|otherpage=Alum|link=Wikipedia:Templates for discussion/Log/2015 September 9#Template:Faculty|type=tiny|help=off}}
<includeonly>|- valign="top"
+
<includeonly>|- style="vertical-align:top;" class="vcard"
|- valign="top"
+
| class="fn" | {{{name|}}}
| {{{name|}}}
+
| style="text-align:center;" | {{{dept|}}}
| align="center" | {{{dept|}}}
 
 
{{#if:{{{Option1|}}}|{{!}} {{{Option1|&nbsp;}}}}}
 
{{#if:{{{Option1|}}}|{{!}} {{{Option1|&nbsp;}}}}}
| {{{nota|}}}
+
| class="note" | {{{nota|}}}
 
{{#if:{{{Option2|}}}|{{!}} {{{Option2|&nbsp;}}}}}
 
{{#if:{{{Option2|}}}|{{!}} {{{Option2|&nbsp;}}}}}
| align="center" | {{{ref|}}}</includeonly><noinclude>{{documentation}}</noinclude>
+
| style="text-align:center;" | {{{ref|}}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 14:46, 10 September 2015

Template:Tfm/dated

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

This set of templates are used to build a table for notable faculty of a school or an organization. For the comparable template for a table of alumni, see {{AlumniStart}}.

Related templates

Usage

{{FacultyStart}}
{{Faculty|name=Name|dept=Department|nota=Notability|ref=reference}}
{{Faculty|name=Name2|dept=Department2|nota=Notability2|ref=reference2}}
{{FacultyEnd}}

Parameters

{{FacultyStart}}
  • width - adjusts the tables width; defaults to 90%
{{Faculty}}
  • name - Faculty member name; wikilink if possible
  • dept - department; do not wikilink
  • nota - Notability
  • ref - reference

Optional columns can be added before and after the Notability column by using the parameters Option1 and Option2.

See also