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

From blackwiki
Jump to navigation Jump to search
imported>Jweiss11
imported>Frietjes
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#if:{{#if:{{{noredlink|}}}|{{#ifexist:{{Infobox NCAA team season/team|year={{{year|}}}|team={{{team|}}}|sport={{{sport|}}}|sex={{{sex|}}}}}|1}}|1}}
+
{{#if:{{#if:{{{noredlink|}}}|{{#ifexist:{{Infobox college sports team season/team|year={{{year|}}}|team={{{team_link|{{{team|}}}}}}|sport={{{sport|}}}|sex={{{sex|}}}}}|1}}|1}}
 
|{{#switch:{{{text|}}}
 
|{{#switch:{{{text|}}}
   |={{{pre|}}}[[{{Infobox NCAA team season/team|year={{{year|}}}|team={{{team|}}}|sport={{{sport|}}}|sex={{{sex|}}}}}]]{{{post|}}}
+
   |={{{pre|}}}{{#ifeq:{{{team_link|{{{team|}}}}}}|{{{team|}}}
   |year={{{pre|}}}[[{{Infobox NCAA team season/team|year={{{year|}}}|team={{{team|}}}|sport={{{sport|}}}|sex={{{sex|}}}}}|{{{year}}}]]{{{post|}}}
+
    |[[{{Infobox college sports team season/team|year={{{year|}}}|team={{{team|}}}|sport={{{sport|}}}|sex={{{sex|}}}}}]]
   |#default={{{pre|}}}[[{{Infobox NCAA team season/team|year={{{year|}}}|team={{{team|}}}|sport={{{sport|}}}|sex={{{sex|}}}}}|{{{text}}}]]{{{post|}}}
+
    |[[{{Infobox college sports team season/team|year={{{year|}}}|team={{{team_link|{{{team|}}}}}}|sport={{{sport|}}}|sex={{{sex|}}}}}|{{Infobox college sports team season/team|year={{{year|}}}|team={{{team|}}}|sport={{{sport|}}}|sex={{{sex|}}}}}]]
 +
    }}{{{post|}}}
 +
   |year={{{pre|}}}[[{{Infobox college sports team season/team|year={{{year|}}}|team={{{team_link|{{{team|}}}}}}|sport={{{sport|}}}|sex={{{sex|}}}}}|{{{year}}}]]{{{post|}}}
 +
   |#default={{{pre|}}}[[{{Infobox college sports team season/team|year={{{year|}}}|team={{{team_link|{{{team|}}}}}}|sport={{{sport|}}}|sex={{{sex|}}}}}|{{{text}}}]]{{{post|}}}
 
   }}
 
   }}
 
|{{{pre|}}}{{#ifeq:{{{text|}}}|year|{{{year|}}}|{{{text|}}}}}{{{post|}}}
 
|{{{pre|}}}{{#ifeq:{{{text|}}}|year|{{{year|}}}|{{{text|}}}}}{{{post|}}}
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation|content=
 
{{documentation|content=
This subtemplate is used to generate team and season article links for {{tl|Infobox NCAA team season}}.  It should not be used directly.
+
This subtemplate is used to generate team and season article links for {{tl|Infobox college sports team season}}.  It should not be used directly.
  
 
== Usage ==
 
== Usage ==
 
<pre>
 
<pre>
{{Infobox NCAA team season/link
+
{{Infobox college sports team season/link
 
| pre =  
 
| pre =  
 
| year =  
 
| year =  

Latest revision as of 14:04, 8 September 2020

[[Template:MultiReplace]]

Template documentation

This subtemplate is used to generate team and season article links for {{Infobox college sports team season}}. It should not be used directly.

Usage

{{Infobox college sports team season/link
| pre = 
| year = 
| team = 
| sex = 
| sport =
| post =
| noredlink =
}}