Difference between revisions of "Template:Infobox college sports team season/team"
Jump to navigation
Jump to search
Template documentation
imported>Sphilbrick (Should not need school) |
imported>Frietjes |
||
| Line 1: | Line 1: | ||
| − | {{#Invoke:String|replace|{{#Invoke:String|replace|{{#if:{{{year|}}}|{{{year}}} {{{team}}}|{{{team}}}}} {{#switch:{{lc:{{{sport}}} }} | + | {{#Invoke:String|replace|{{#Invoke:String|replace|{{#Invoke:String|replace|{{#if:{{{year|}}}|{{{year}}} {{{team}}}|{{{team}}}}} {{#switch:{{lc:{{{sport}}} }} |
|basketball={{#if:{{{sex|}}}|{{{sex}}}|men}}'s basketball | |basketball={{#if:{{{sex|}}}|{{{sex}}}|men}}'s basketball | ||
|men's basketball = men's basketball | |men's basketball = men's basketball | ||
| Line 16: | Line 16: | ||
|women's tennis=women's tennis | |women's tennis=women's tennis | ||
|#default={{{sport}}} | |#default={{{sport}}} | ||
| − | }} {{#if:{{{year|}}}|team}}|(.* Lady)(.*) women's|%1%2|plain=false}}|(.* Cowgirl)(.*) women's|%1%2|plain=false|(.* T–Birds)(.*) women's|%1%2|plain=false}}<noinclude> | + | }} {{#if:{{{year|}}}|team}}|(.* Lady)(.*) women's|%1%2|plain=false}}|(.* Cowgirl)(.*) women's|%1%2|plain=false}}|(.* T–Birds)(.*) women's|%1%2|plain=false}}<noinclude> |
{{documentation|content= | {{documentation|content= | ||
This subtemplate is used to remove redundant "women's team" text from team and season article links for {{tl|Infobox NCAA team season}}. It should not be used directly. | This subtemplate is used to remove redundant "women's team" text from team and season article links for {{tl|Infobox NCAA team season}}. It should not be used directly. | ||
Revision as of 14:49, 13 October 2013
{{{team}}} {{{sport}}}
This subtemplate is used to remove redundant "women's team" text from team and season article links for {{Infobox NCAA team season}}. It should not be used directly.
Usage
{{Infobox NCAA team season/team
| year =
| team =
| sex =
| sport =
}}
Examples
- {{Infobox NCAA team season/team|year=1992–93|team=Texas Tech Lady Raiders|sport=women's basketball}}
- → 1992–93 Texas Tech Lady Raiders basketball team
- {{Infobox NCAA team season/team|year=1992–93|team=Texas Tech Lady Raiders|sport=basketball|sex=women}}
- → 1992–93 Texas Tech Lady Raiders basketball team
- {{Infobox NCAA team season/team|year=2009–10|team=Wyoming Cowgirls|sport=women's basketball}}
- → 2009–10 Wyoming Cowgirls basketball team
- {{Infobox NCAA team season/team|year=2009–10|team=Wyoming Cowgirls|sport=basketball|sex=women}}
- → 2009–10 Wyoming Cowgirls basketball team
- {{Infobox NCAA team season/team|year=1992–93|team=Texas Tech Raiders|sport=basketball}}
- → 1992–93 Texas Tech Raiders men's basketball team
- {{Infobox NCAA team season/team|year=2009–10|team=Wyoming Cowboys|sport=basketball}}
- → 2009–10 Wyoming Cowboys men's basketball team
| The above documentation is transcluded from Template:Infobox college sports team season/team/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Subpages of this template. |