Difference between revisions of "Template:Mem/fa"
(update style, replaced: valign="top" → style="vertical-align:top;", align="center" → style="text-align:center;" (2) using AWB) |
m (1 revision) |
(No difference)
|
Latest revision as of 07:25, 22 August 2014
Contents
Usage
This template is used to create tables for list of notable members. It uses several subtemplates for different types of member lists.
Switches could have been used in the code to make one monolithic template. This was considered, but given the potential for a large size list, it was decided to keep this simple.
Adding more types
To create the templates for another type of list, simply copy and modify {{mem/start}} and {{mem}}. Keep the template names short for simplicity and try to use list parameters already in use. If the template is a variation of an existing one, then update the name with a number; for example: a variation of the fraternity templates would be named {{mem/f2start}} and {{mem/f2}}.
Images
Images may be added and will show in a column to the right of the table. They must be formatted as thumbnails using standard image syntax, and must be set to a width of 100px. Use the standard guidelines for captions. Example:
[[File:Example.png|thumb|100px|This is an example]]
Multiple images can be added to the list. When an image is much taller than others, the height parameter can be included as 100xheightpx
(note the x between the width and height). For example:
[[File:Example.png|thumb|100x150px|This is an example]]
Here, the thumbnail is still 100px wide, but the image height is limited to 150px and the width is adjusted to maintain the aspect ratio.
If the column of images runs well below the table, consider using an image gallery after the table.
Non-free images must meet the standards for non-free images; free images are preferred.
Lists
Member
For generic lists of notable members.
|
100px |
{{mem/start}}
|ilist=the list of images, in image syntax
|alist=the alumni list formatted with {{mem}}
{{mem}}
|name=name, preferably wikilinked
|nota=notability
|ref=reference
Alumni
For lists of notable alumni or an educational institution.
|
100px |
{{mem/astart}}
|ilist=the list of images, in image syntax
|alist=the alumni list formatted with
{{mem/a}}
{{mem/a}}
|name=alumni name, preferably wikilinked
|year=graduation year; do not wikilink
|nota=notability
|ref=reference
Sortable
|
100px |
{{mem/a2start}}
|ilist=the list of images, in image syntax
|alist=the alumni list formatted with
{{mem/a2}}
{{mem/a2}}
|first=alumni first and middle name or initial; do not wikilink
|last=alumni last name; do not wikilink
|link=optional link; use when the article has a disambiguated name; do not wikilink
|key=optional sort key; use for names with a diacritic
|year=graduation year; do not wikilink
|nota=notability
|ref=reference
Recipients
For lists of recipients of awards or honors
|
100px |
{{mem/rstart}}
|ilist=the list of images, in image syntax
|alist=the recipient list formatted with
{{mem/r}}
{{mem/r}}
|name=recipient name, preferably wikilinked
|nota=notability
|ref=reference
Eagle Scouts
For List of Eagle Scouts (Boy Scouts of America).
|
{{mem/estart}}
|ilist=the list of images, in image syntax
|alist=the alumni list formatted with
{{mem/e}}
{{mem/e}}
|first=first and middle name or initial; do not wikilink
|last=last name; do not wikilink
|link=optional link; use when the article has a disambiguated name; do not wikilink
|key=optional sort key; use for names with a diacritic
|deceased=when set to yes, the name is italicized
|eagle=year awarded Eagle Scout
|desa=when set to yes, the DESA icon is shown
|nota=notability
|ref=reference
Faculty
For lists of the faculty of an educational institution.
|
100px |
{{mem/fastart}}
|ilist=the list of images, in image syntax
|alist=the alumni list formatted with
{{mem/fa}}
{{mem/fa}}
|name=faculty member name, preferably wikilinked
|dept=department; do not wikilink
|nota=notability
|ref=reference
Fraternity
For lists of notable fraternity members.
|
100px |
{{mem/fstart}}
|ilist=the list of images, in image syntax
|alist=the alumni list formatted with
{{mem/f}}
{{mem/f}}
|name=alumni name, preferably wikilinked
|chapter=chapter name where admitted; wikilink to college or city where charter was established
|nota=notability
|ref=reference
Superintendents
For lists of superintendents or similar
|
100px |
{{mem/sstart}}
|ilist=the list of images, in image syntax
|alist=the alumni list formatted with
{{mem/s}}
{{mem/s}}
|num=numerical sequence
|start=start year
|end=end year
|first=alumni first and middle name or initial; do not wikilink
|last=alumni last name; do not wikilink
|link=optional link; use when the article has a disambiguated name; do not wikilink
|key=optional sort key; use for names with a diacritic
|year=class year, if an alumnus
|nota=notability
|ref=reference
Example
Example fraternity list:
{{mem/fstart |ilist=[[File:Martin Luther King Jr NYWTS.jpg|thumb|100px|Martin Luther King, Jr.]] |alist= {{mem/f |name=[[Martin Luther King, Jr.]]<!-- Also in "Religion" --> |chapter=[[Boston, Massachusetts|Sigma]] |nota=1962 [[Nobel Peace Prize]]; Civil rights activist; Co-founder of the [[Southern Christian Leadership Conference]] (SCLC); [[Martin Luther King, Jr. Day]] was established in honor; 1957 [[Spingarn Medal]], 1977 [[Presidential Medal of Freedom]], and 2004 [[Congressional Gold Medal]] recipient; first African American with a [[Martin Luther King, Jr. National Memorial|memorial]] on the [[National Mall]] |ref=}} }}
|
See also
The above documentation is transcluded from Template:Mem/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |