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

Template:Csoc 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 soccer 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 2016 Wisconsin Badgers men's soccer team that may or may not exist, I would make this call:

{{csoc link|2016|sex=men|team=Wisconsin Badgers|school=University of Wisconsin–Madison|title=Wisconsin}}

This would yield: Wisconsin

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., 2018 for the 2018 Maryland Terrapins men's soccer team article.
sex men or women - defaults to men
team The athletics program article for this school, e.g., Akron Zips, Stanford Cardinal, Texas Longhorns, etc. For schools that add "Lady" to the name of their women's teams (e.g., Old Dominion Lady Monarchs) and have both names in the athletics program article (e.g., Old Dominion Monarchs and Lady Monarchs), it can be necessary to include only the women's team name in this parameter in order for the template to yield the expected result. (In this case, also omit the "sex" parameter.)
school The main article for this school, e.g., University of Akron, University of Virginia
title (optional) 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. If left blank, the link will be non-piped, i.e., it will display the name of the article linked to.

Examples

{{csoc link|2016|sex=men|team=Akron Zips|school=University of Akron|title=Akron}} Akron
{{csoc link|2016|team=North Carolina Tar Heels|sex=women|school=University of North Carolina at Chapel Hill|title=North Carolina}} North Carolina
{{csoc link|team=UC Santa Barbara Gauchos|sex=men|school=University of California, Santa Barbara|title=UCSB}} UCSB

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,

{{cbb link|2018|team=Michigan State Spartans|school=Michigan State University|title=Michigan State}}

should be changed to

[[2018 Michigan State Spartans men's soccer team|Michigan State]]

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

See also

  • {{alternative links}}
  • {{cfb link}}
  • {{CBSB link}}
  • {{cbb link}}
The above documentation is transcluded from Template:Csoc 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:Csoc_link&oldid=12847"
Categories:
  • Internal link templates
  • Association football templates
  • American college soccer templates
Last edited on 29 March 2019, at 12:19

MOASSpedia

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