Difference between revisions of "Template:Alum/doc"
Jump to navigation
Jump to search
blackwiki>Zyxw m (Since <tt> is obsolete in HTML5, replace with <kbd> – see HTML element#tt and Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB) |
blackwiki>DocWatson42 m (→Related templates: Performed minor cleanup, especially on punctuation.) |
||
| Line 17: | Line 17: | ||
;{{tl|AlumniStart}} | ;{{tl|AlumniStart}} | ||
| − | *'''width''' | + | *'''width''': adjusts the tables width; defaults to 80% |
;{{tl|Alum}} | ;{{tl|Alum}} | ||
| − | *'''name''' | + | *'''name''': Alumnus name; wikilink if possible. For proper sorting by family name, use the {{tl|Sortname}} template instead of a straight name link. |
| − | *'''year''' | + | *'''year''': graduation year; do not wikilink |
| − | *'''nota''' | + | *'''nota''': Notability |
| − | *'''ref''' | + | *'''ref''': reference |
Optional columns can be added before and after the Notability column by using the parameters <kbd>Option1</kbd> and <kbd>Option2</kbd>. | Optional columns can be added before and after the Notability column by using the parameters <kbd>Option1</kbd> and <kbd>Option2</kbd>. | ||
Revision as of 06:47, 12 February 2020
| This is a documentation subpage for Template:Alum. It contains usage information, categories and other content that is not part of the original template page. |
This set of templates are used to build a table for notable alumni of a school or an organization.
Related templates
- {{AlumniStart}}: starts the table
- {{end}}: ends the table
Usage
{{AlumniStart}}
{{Alum|name=Name|year=Year|nota=Notability|ref=reference}}
{{Alum|name=Name2|year=Year2|nota=Notability2|ref=reference2}}
{{end}}
Parameters
- {{AlumniStart}}
- width: adjusts the tables 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=}}
}}
|
See also
- {{mem}}, a multipurpose, extensible membership template
- {{incomplete alumni}}
