Difference between revisions of "Template:Alum/start"

From blackwiki
Jump to navigation Jump to search
blackwiki>Gadget850
(move valign)
m (10 revisions imported)
 
(6 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
 
|  
 
|  
{| class="wikitable" width={{ifempty|{{{width|}}}|"100%"}}
+
{| class="wikitable sortable" width={{if empty|{{{width|}}}|"100%"}}
 
!  width="20%"| Name
 
!  width="20%"| Name
 
!  width="15%"| Class year
 
!  width="15%"| Class year
{{#if:|!  width="20%" {{!}} {{{Option1}}}|}}
+
{{#if:{{{Option1|}}}|!  width="{{{Option1Size|20%}}}" {{!}} {{{Option1}}}|}}
 
!  width="100%" | Notability
 
!  width="100%" | Notability
{{#if:|!  width="20%" {{!}} {{{Option2}}}|}}
+
{{#if:{{{Option2|}}}|!  width="{{{Option2Size|20%}}}" {{!}} {{{Option2}}}|}}
!  width="10%" class="unsortable" | Reference
+
!  width="10%" class="unsortable" | References
 
{{{alist|}}}
 
{{{alist|}}}
 
|}
 
|}
 
| {{{ilist|}}}
 
| {{{ilist|}}}
 
|}</includeonly><noinclude>{{documentation|Template:Alum/doc}}</noinclude>
 
|}</includeonly><noinclude>{{documentation|Template:Alum/doc}}</noinclude>

Latest revision as of 12:44, 20 October 2020

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

This set of templates are used to build a table for notable alumni of a school or an organization.

Related templates

Usage

{{AlumniStart}}
{{Alum|name=Name|year=Year|nota=Notability|ref=reference}}
{{Alum|name=Name2|year=Year2|nota=Notability2|ref=reference2}}
{{AlumniEnd}}

Parameters

{{AlumniStart}}
  • width: adjusts the table's width; defaults to 80%
{{Alum}}
  • name: Alumnus name; wikilink if possible. For proper sorting by family name, use the {{Sortname}} template instead of a straight name link.
  • year: graduation year; 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.

Images

To include images to the right of the table, a different syntax is used:

{{alum/start
|ilist = 
|alist =
}}

Where:

ilist
is the list of images, in image syntax
alist
is the alumni list formatted as above

Example

{{alum/start
|ilist=[[Image:Albert Abraham Michelson2.jpg|thumb|100px|Albert Abraham Michelson]]
|alist=
{{Alum
|name={{sortname|Albert A.|Michelson}}<!-- Also listed in "Natural sciences and related fields"-->
|year=1873
|nota= [[Physicist]] who received the 1907 [[Nobel Prize in Physics]]; the first American to receive the [[Nobel Prize]] in sciences. Noted for his work on the measurement of the [[speed of light]] and especially for the [[Michelson-Morley experiment]].
|ref=}}
}}
Name Class year Notability References
Albert A. Michelson 1873 Physicist who received the 1907 Nobel Prize in Physics; the first American to receive the Nobel Prize in sciences. Noted for his work on the measurement of the speed of light and especially for the Michelson–Morley experiment.
File:Albert Abraham Michelson2.jpg
Albert Abraham Michelson

See also