• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.154
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Cih link

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here


Template documentation[view] [edit] [history] [purge]
Ambox warning yellow.svgDue to a server limit of 500 "expensive parser function" calls (#ifexist:, PAGESIZE:, and PAGESINCATEGORY:), this template or module will only work properly if the page using it has not already exceeded the limit. When the limit is exceeded, the page using this template or module is categorised Category:Pages with too many expensive parser function calls. (further information)

This template will allow you to link to a college ice hockey 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–11 Alabama–Huntsville Chargers men's ice hockey team that may or may not exist, I would make this call:

{{cih link|2010|sex=men|team=Alabama–Huntsville Chargers|school=University of Alabama in Huntsville|title=Alabama–Huntsville}}

This would yield: Alabama–Huntsville

Important - whitespace cannot be included or it will be added to the wiki link and it will not function properly. Also, please use an en dash as the year separator.

Contents

  • 1 Parameters
  • 2 Examples
  • 3 When the template should not be used
  • 4 See also

Parameters

parameter meaning
year or 1= (optional) Supply a year if you want to link to the yearly page, e.g., 2006 for the 2006–07 Boston College Eagles men's ice hockey team article; use the year the season began as the template will calculate the ending year. (The form 2009–10 is still supported for legacy purposes, but the template only reads the first four digits.)
sex men or women - defaults to men
team The athletics program article for this school, e.g., Boston College Eagles, Minnesota Golden Gophers, Yale Bulldogs
school The main article for this school, e.g., Ferris State University, University of Vermont
title (optional) The display name for this link. Usually, this will be the common name for the school (without "university"), like Wisconsin, Bowling Green, RIT, etc. If left blank, the link will be non-piped, i.e., it will display the name of the article linked to.

Examples

{{cih link|2006|sex=men|team=Alabama–Huntsville Chargers|school=University of Alabama in Huntsville|title=Alabama–Huntsville}} Alabama–Huntsville
{{cih link|2006|team=Mercyhurst Lakers|sex=women|school=Mercyhurst University|title=Mercyhurst}} Mercyhurst
{{cih link|team=Lake Superior State Lakers|sex=men|school=Lake Superior State University|title=LSSU}} LSSU

When the template should not be used

To help limit the calls to #ifexist, it is strongly recommended that a direct link be used for specific team season articles instead of this template. Thus,

{{cih link|2011|team=2011–12 Michigan Tech Huskies|school=Michigan Technological University|title=Michigan Tech}}

should be changed to

[[2011–12 Michigan Tech Huskies men's ice hockey season|Michigan Tech]]

once that page is written. Templates used in cases such as this are listed at Category:Excessive uses of cih link and should be changed as described.

See also

  • {{alternative links}}
  • {{cfb link}}
  • {{cbb link}}
  • {{CBSB link}}
The above documentation is transcluded from Template:Cih link/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Cih_link&oldid=8217"
Categories:
  • Internal link templates
  • American college ice hockey templates
Last edited on 10 December 2019, at 12:59

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 10 December 2019, at 12:59.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop