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

From blackwiki
Jump to navigation Jump to search
imported>Colonies Chris
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 56: Line 56:
  
  
<includeonly><!--
+
<includeonly>{{Sandbox other||<!--
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
 
[[Category:Internal link templates]]
 
[[Category:Internal link templates]]
 
[[Category:Tennis templates]]
 
[[Category:Tennis templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 22:26, 24 April 2020

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, e.g., 2006 Virginia Tech Hokies men's tennis team
sex men or women - defaults to men
team The athletics program article for this school, e.g., Virginia Tech Hokies, Wake Forest Demon Deacons, Miami Hurricanes
school The main article for this school, e.g., Florida State University, University of Virginia
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