Difference between revisions of "Template:Alum/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Candycane1979
m (32 revisions imported)
 
(16 intermediate revisions by 12 users not shown)
Line 5: Line 5:
  
 
== Related templates ==
 
== Related templates ==
*{{t1|AlumniStart}}: starts the table
+
*{{tl|AlumniStart}} {{--}} starts the table
* {{tl|end}}: ends the table
+
*{{tl|end}} or {{tl|AlumniEnd}} {{--}} ends the table
  
 
=== Usage ===
 
=== Usage ===
Line 12: Line 12:
 
{{Alum|name=Name|year=Year|nota=Notability|ref=reference}}
 
{{Alum|name=Name|year=Year|nota=Notability|ref=reference}}
 
{{Alum|name=Name2|year=Year2|nota=Notability2|ref=reference2}}
 
{{Alum|name=Name2|year=Year2|nota=Notability2|ref=reference2}}
{{end}}</pre>
+
{{AlumniEnd}}</pre>
  
 
==== Parameters ====
 
==== Parameters ====
 
;{{tl|AlumniStart}}
 
;{{tl|AlumniStart}}
  
*'''width''' - adjusts the tables width; defaults to 80%
+
*'''width''': adjusts the table's width; defaults to 80%
  
 
;{{tl|Alum}}
 
;{{tl|Alum}}
  
*'''William Judson'''  
+
*'''name''': Alumnus name; wikilink if possible. For proper sorting by family name, use the {{tl|Sortname}} template instead of a straight name link.
*'''1981'''  
+
*'''year''': graduation year; do not wikilink
*'''Former NFL Player, Drafted 8th Round Miami Dolphins'''
+
*'''nota''': Notability
*'''Member of Kappa Alpha Psi'''  
+
*'''ref''': reference
  
Optional columns can be added before and after the Notability column by using the parameters <tt>Option1</tt> and <tt>Option2</tt>.
+
Optional columns can be added before and after the Notability column by using the parameters <kbd>Option1</kbd> and <kbd>Option2</kbd>.
'''''Bold text'''''
 
  
 
=== Images ===
 
=== Images ===
Line 40: Line 39:
  
 
;<code>ilist</code> :is the list of images, in image syntax
 
;<code>ilist</code> :is the list of images, in image syntax
;<code>alist</code> :is the alumnit list formatted as above
+
;<code>alist</code> :is the alumni list formatted as above
  
 
==== Example ====
 
==== Example ====
<pre>{{alum/start
+
<pre style="overflow:auto;">
 +
{{alum/start
 
|ilist=[[Image:Albert Abraham Michelson2.jpg|thumb|100px|Albert Abraham Michelson]]
 
|ilist=[[Image:Albert Abraham Michelson2.jpg|thumb|100px|Albert Abraham Michelson]]
 
|alist=
 
|alist=
 
{{Alum
 
{{Alum
|name=[[Albert A. Michelson]]<!-- Also listed in "Natural sciences and related fields"-->
+
|name={{sortname|Albert A.|Michelson}}<!-- Also listed in "Natural sciences and related fields"-->
 
|year=1873
 
|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]].
 
|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]].
Line 57: Line 57:
 
|alist=
 
|alist=
 
{{Alum
 
{{Alum
|name=[[Albert A. Michelson]]
+
|name={{sortname|Albert A.|Michelson}}
 
|year=1873
 
|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]].
+
|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=}}
 
|ref=}}
 
}}
 
}}
Line 65: Line 65:
 
=== See also ===
 
=== See also ===
 
* {{tl|mem}}, a multipurpose, extensible membership template
 
* {{tl|mem}}, a multipurpose, extensible membership template
 
+
*{{tl|incomplete alumni}}
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Table and column templates|{{PAGENAME}}]]
+
[[Category:Templates with partial table wikitext|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Latest revision as of 12:44, 20 October 2020

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