Difference between revisions of "Template:Ct link/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jweiss11
imported>Jdaloner
m ("{{t1" --> "{{tl")
Line 52: Line 52:
 
* {{tl|alternate links}}
 
* {{tl|alternate links}}
 
* {{tl|cfb link}}
 
* {{tl|cfb link}}
* {{t1|cbb link}}
+
* {{tl|cbb link}}
 +
 
 +
 
 
<includeonly><!--
 
<includeonly><!--
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->

Revision as of 13:44, 31 January 2015

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.

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.

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

See also