Difference between revisions of "Template:Cfb link"
Jump to navigation
Jump to search
imported>Woohookitty (specified cat) |
imported>B (Adding tracking code to find uses of cfb link that shouldn't be there - this is related to the server problem of overuse of parser functions) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{#ifexist:{{{year}}} {{{team}}} football team|[[{{{year}}} {{{team}}} football team{{!}}{{{title|}}}]]|<noinclude><!-- | + | <includeonly>{{#ifexist:{{{year}}} {{{team}}} football team|[[Category:Excessive uses of cfb link]][[{{{year}}} {{{team}}} football team{{!}}{{{title|}}}]]|<noinclude><!-- |
| − | --></noinclude>{{#ifexist:{{{year}}} {{{team}}} football|[[ | + | --></noinclude>{{#ifexist:{{{year}}} {{{team}}} football|[[Category:Uses of cfb link linking to incorrectly named articles]][[{{{year}}} {{{team}}} football{{!}}{{{title|}}}]]|<noinclude><!-- |
| − | |||
--></noinclude>{{#ifexist:{{{team}}} football|[[{{{team}}} football{{!}}{{{title|}}}]]|<noinclude><!-- | --></noinclude>{{#ifexist:{{{team}}} football|[[{{{team}}} football{{!}}{{{title|}}}]]|<noinclude><!-- | ||
| + | --></noinclude>{{#ifexist:{{{team}}} football team|[[Category:Uses of cfb link linking to incorrectly named articles]][[{{{team}}} football team{{!}}{{{title|}}}]]|<noinclude><!-- | ||
--></noinclude>{{#ifexist:{{{team}}}|[[{{{team}}}{{!}}{{{title|}}}]]|<noinclude><!-- | --></noinclude>{{#ifexist:{{{team}}}|[[{{{team}}}{{!}}{{{title|}}}]]|<noinclude><!-- | ||
--></noinclude>{{#ifexist:{{{school}}} athletics|[[{{{school}}} athletics{{!}}{{{title|}}}]]|<noinclude><!-- | --></noinclude>{{#ifexist:{{{school}}} athletics|[[{{{school}}} athletics{{!}}{{{title|}}}]]|<noinclude><!-- | ||
Revision as of 16:09, 4 December 2007
| This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
This template will allow you to link to a college football 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 football team that may or may not exist, I would make this call:
{{cfb link|year=2010|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 |
|---|---|
| year (optional) | Supply a year if you want to link to the yearly page, eg, 2007 Virginia Tech Hokies football team |
| 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
| {{cfb link|year=2007|team=Virginia Tech Hokies|school=Virginia Polytechnic Institute and State University|title=Virginia Tech}} | Virginia Tech |
| {{cfb link|year=2006|team=Virginia Tech Hokies|school=Virginia Polytechnic Institute and State University|title=Virginia Tech}} | Virginia Tech |
| {{cfb link|team=Florida State Seminoles|school=Florida State University|title=FSU}} | FSU |
See also
- {{alternate links}}
- {{cbb link}}