Difference between revisions of "Template:College/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jonesey95
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/sandbox|Foo State}}
+
*<code><nowiki>{{College|Foo State}}</nowiki></code> → {{College|Foo State}}
  
A blank unnamed parameter will display an error message (implemented in sandbox version only):
+
A blank unnamed parameter will display an error message:
*<code><nowiki>{{College/sandbox|}}</nowiki></code> → {{College/sandbox|}}
+
*<code><nowiki>{{College|}}</nowiki></code> → {{College|}}
  
 
==Tracking categories==
 
==Tracking categories==
*{{clc|Pages using Template:College with unsupported name}} (implemented in sandbox version only)
+
*{{clc|Pages using Template:College with unsupported name}}
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||

Revision as of 11:56, 24 January 2019

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

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:

Tracking categories