Template:College/sandbox
{{{1}}}
This is the template sandbox page for Template:College (diff). See also the companion subpage for test cases. |
This template is used on approximately 10,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This documentation takes one unnamed parameter: the name, nickname, or common initialism of a university or college, and turns it into a wikilinked version of the university or college's name. It is most commonly used within Template:Player2, which is used to list players in basketball team rosters.
Examples
[edit]{{College|Alabama State}}
→ Alabama State{{College|University of Michigan}}
→ Michigan
For usage examples within a roster, using {{player2}}, see 1976–77 Buffalo Braves season#Roster or Template:Cleveland Cavaliers roster.
Unsupported college and university names
[edit]When the unnamed parameter value is not recognized by the template, the value is displayed without a wikilink. Example:
{{College|Foo State}}
→ Foo State
A blank unnamed parameter will display an error message:
{{College}}
or{{College|}}
→ Error: Template:College requires a value
Usage notes
[edit]Be careful with abbreviations, for example:
{{College|NSU}}
→ Northeastern State in Oklahoma, USA.
"NSU" is used to denote several schools at the NSU disambiguation page, but NSU should not be added to any other schools in this template. If NSU is placed in schools after Northeastern, this template will still yield Northeastern; if placed in schools before Northeastern, that will break all the current Northeastern usages.