Difference between revisions of "Template:Infobox college sports team season/team"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
Line 1: Line 1:
 
{{Infobox NCAA team season/name
 
{{Infobox NCAA team season/name
 
|name={{#if:{{{year|}}}|{{{year}}} {{{team}}}|{{{team}}}}} {{#switch:{{lc:{{{sport}}} }}
 
|name={{#if:{{{year|}}}|{{{year}}} {{{team}}}|{{{team}}}}} {{#switch:{{lc:{{{sport}}} }}
     |basketball={{#if:{{{sex|}}}|{{{sex}}}|men}}'s basketball
+
     |basketball={{#switch:{{{sex|}}}|=men's|both|none=|{{{sex}}}'s}} basketball
 
     |men's basketball = men's basketball
 
     |men's basketball = men's basketball
 
     |women's basketball = women's basketball
 
     |women's basketball = women's basketball
     |ice hockey={{#if:{{{sex|}}}|{{{sex}}}|men}}'s ice hockey
+
     |ice hockey={{#switch:{{{sex|}}}|=men's|both|none=|{{{sex}}}'s}} ice hockey
 
     |men's ice hockey = men's ice hockey
 
     |men's ice hockey = men's ice hockey
 
     |women's ice hockey = women's ice hockey
 
     |women's ice hockey = women's ice hockey
 
     |women's lacrosse = women's lacrosse
 
     |women's lacrosse = women's lacrosse
 
     |men's lacrosse = men's lacrosse
 
     |men's lacrosse = men's lacrosse
     |lacrosse = {{#if:{{{sex|}}}|{{{sex}}}|men}}'s lacrosse
+
     |lacrosse ={{#switch:{{{sex|}}}|=men's|both|none=|{{{sex}}}'s}} lacrosse
 
     |football=football
 
     |football=football
 
     |baseball=baseball
 
     |baseball=baseball
 
     |softball=softball
 
     |softball=softball
     |soccer={{#if:{{{sex|}}}|{{{sex}}}|men}}'s soccer
+
     |soccer={{#switch:{{{sex|}}}|=men's|both|none=|{{{sex}}}'s}} soccer
 
     |men's soccer=men's soccer
 
     |men's soccer=men's soccer
 
     |women's soccer=women's soccer
 
     |women's soccer=women's soccer
     |tennis={{#if:{{{sex|}}}|{{{sex}}}|men}}'s tennis
+
     |tennis={{#switch:{{{sex|}}}|=men's|both|none=|{{{sex}}}'s}} tennis
 
     |men's tennis=men's tennis
 
     |men's tennis=men's tennis
 
     |women's tennis=women's tennis
 
     |women's tennis=women's tennis
 
     |rugby football=rugby football
 
     |rugby football=rugby football
 +
    |golf = {{#switch:{{{sex|}}}|=|both|none=|{{{sex}}}'s}} golf
 
     |men's golf = men's golf
 
     |men's golf = men's golf
 
     |women's golf = women's golf
 
     |women's golf = women's golf
 +
    |gymnastics = {{#switch:{{{sex|}}}|=|both|none=|{{{sex}}}'s}} gymnastics
 
     |women's gymnastics = women's gymnastics
 
     |women's gymnastics = women's gymnastics
 +
    |volleyball = {{#switch:{{{sex|}}}|=|both|none=|{{{sex}}}'s}} volleyball
 
     |men's volleyball = men's volleyball
 
     |men's volleyball = men's volleyball
 
     |women's volleyball = women's volleyball
 
     |women's volleyball = women's volleyball

Revision as of 15:25, 22 March 2019

Template:MultiReplace

Template documentation[view] [edit] [history] [purge]

This subtemplate is used to generate the full season team name and season name for team and season article links in {{Infobox college sports team season}}. This subtemplate uses {{Infobox college sports team season/name}} to remove redundant "women's team" text in some team names (e.g., Lady or Cowgirl). It should not be used directly.

Usage

{{Infobox college sports team season/team
| year = 
| team = 
| sex = 
| sport =
}}

Examples

  • {{Infobox college sports team season/team|year=1992–93|team=Texas Tech Lady Raiders|sport=women's basketball}}
    Template:MultiReplace
  • {{Infobox college sports team season/team|year=1992–93|team=Texas Tech Lady Raiders|sport=basketball|sex=women}}
    Template:MultiReplace
  • {{Infobox college sports team season/team|year=2009–10|team=Wyoming Cowgirls|sport=women's basketball}}
    Template:MultiReplace
  • {{Infobox college sports team season/team|year=2009–10|team=Wyoming Cowgirls|sport=basketball|sex=women}}
    Template:MultiReplace
  • {{Infobox college sports team season/team|year=1992–93|team=Texas Tech Raiders|sport=basketball}}
    Template:MultiReplace
  • {{Infobox college sports team season/team|year=2009–10|team=Wyoming Cowboys|sport=basketball}}
    Template:MultiReplace
  • {{Infobox college sports team season/team|year=2013–14|team=Central Arkansas Sugar Bears|sport=women's basketball}}
    Template:MultiReplace
  • {{Infobox college sports team season/team|year=2013–14|team=Southern Utah T–Birds|sport=women's basketball}}
    Template:MultiReplace