Difference between revisions of "Template:College/doc"
Jump to navigation
Jump to search
imported>Jonesey95 (create skeleton documentation) |
imported>Jonesey95 (→Examples: swap) |
||
| Line 5: | Line 5: | ||
==Examples== | ==Examples== | ||
| − | |||
| − | |||
*<code><nowiki>{{College|Alabama State}}</nowiki></code> → {{College|Alabama State}} | *<code><nowiki>{{College|Alabama State}}</nowiki></code> → {{College|Alabama State}} | ||
*<code><nowiki>{{College|University of Michigan}}</nowiki></code> → {{College|University of Michigan}} | *<code><nowiki>{{College|University of Michigan}}</nowiki></code> → {{College|University of Michigan}} | ||
| + | |||
| + | For usage examples within a roster, using {{tl|player2}}, see [[1976–77 Buffalo Braves season#Roster]] or [[Template:Cleveland Cavaliers roster]]. | ||
==Unsupported college and university names== | ==Unsupported college and university names== | ||
Revision as of 20:05, 23 January 2019
| This is a documentation subpage for Template:College. It contains usage information, categories and other content that is not part of the original template page. |
| This template is used on approximately 6,400 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.
Transclusion count updated automatically (see documentation). |
Template:Missing doc 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
{{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
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 (implemented in sandbox version only):
{{College/sandbox|}}→ Error: Template:College requires a value
Tracking categories
- Category:Pages using Template:College with unsupported name (0) (implemented in sandbox version only)