Difference between revisions of "Template:College/doc"
Jump to navigation
Jump to search
imported>Jonesey95 (→Examples: swap) |
imported>Jonesey95 (sandbox is live) |
||
| Line 12: | Line 12: | ||
==Unsupported college and university names== | ==Unsupported college and university names== | ||
When the unnamed parameter value is not recognized by the template, the value is displayed without a wikilink. Example: | When the unnamed parameter value is not recognized by the template, the value is displayed without a wikilink. Example: | ||
| − | *<code><nowiki>{{College|Foo State}}</nowiki></code> → {{College | + | *<code><nowiki>{{College|Foo State}}</nowiki></code> → {{College|Foo State}} |
| − | A blank unnamed parameter will display an error message | + | A blank unnamed parameter will display an error message: |
| − | *<code><nowiki>{{College | + | *<code><nowiki>{{College|}}</nowiki></code> → {{College|}} |
==Tracking categories== | ==Tracking categories== | ||
| − | *{{clc|Pages using Template:College with unsupported name}} | + | *{{clc|Pages using Template:College with unsupported name}} |
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
Revision as of 11:56, 24 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:
{{College|}}→ Error: Template:College requires a value
Tracking categories