Template:Ct link/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Ct link (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

[edit] Usage

This template will allow you to link to a tennis team page that may not yet exist. It will display the best available link.

For example, if I want to link to the article about the 2010 Richmond Spiders men's tennis team that may or may not exist, I would make this call:

{{ct link|season=2011|sex=men|team=Richmond Spiders|school=University of Richmond|title=Richmond}}

This would yield: Richmond

Important - whitespace cannot be included or it will be added to the wiki link and it will not function properly.

[edit] Parameters

parameter meaning
season (optional) Supply a season if you want to link to the yearly page, eg, 2006 Virginia Tech Hokies men's tennis team
sex men or women - defaults to men
team The athletics program article for this school, eg, Virginia Tech Hokies, Wake Forest Demon Deacons, Miami Hurricanes, etc
school The main article for this school, eg, Florida State University, University of Virginia, etc
title The display name for this link. Usually, this will be the common name for the school (without "university"), like Duke, Florida State, Virginia Tech, etc.

[edit] Examples

{{ct link|year=2007|sex=men|team=Virginia Tech Hokies|school=Virginia Polytechnic Institute and State University|title=Virginia Tech}} Virginia Tech
{{ct link|year=2007|team=Virginia Tech Hokies|sex=women|school=Virginia Polytechnic Institute and State University|title=Virginia Tech}} Virginia Tech
{{ct link|team=Florida State Seminoles|sex=men|school=Florida State University|title=FSU}} FSU

[edit] See also