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

From blackwiki
Jump to navigation Jump to search
imported>Redrose64
(fix links)
imported>Frietjes
Line 1: Line 1:
 
{{#if:{{#if:{{{noredlink|}}}|{{#ifexist:{{Infobox NCAA team season/team/sandbox|year={{{year|}}}|team={{{team|}}}|sport={{{sport|}}}|sex={{{sex|}}}}}|1}}|1}}
 
{{#if:{{#if:{{{noredlink|}}}|{{#ifexist:{{Infobox NCAA team season/team/sandbox|year={{{year|}}}|team={{{team|}}}|sport={{{sport|}}}|sex={{{sex|}}}}}|1}}|1}}
|{{#if:{{{text|}}}
+
|{{#switch:{{{text|}}}
   |{{{pre|}}}[[{{Infobox NCAA team season/team/sandbox|year={{{year|}}}|team={{{team|}}}|sport={{{sport|}}}|sex={{{sex|}}}}}|{{{text}}}]]{{{post|}}}
+
   |={{{pre|}}}[[{{Infobox NCAA team season/team/sandbox|year={{{year|}}}|team={{{team|}}}|sport={{{sport|}}}|sex={{{sex|}}}}}]]{{{post|}}}
   |{{{pre|}}}[[{{Infobox NCAA team season/team/sandbox|year={{{year|}}}|team={{{team|}}}|sport={{{sport|}}}|sex={{{sex|}}}}}]]{{{post|}}}
+
  |year={{{pre|}}}[[{{Infobox NCAA team season/team/sandbox|year={{{year|}}}|team={{{team|}}}|sport={{{sport|}}}|sex={{{sex|}}}}}|{{{year}}}]]{{{post|}}}
 +
   |#default={{{pre|}}}[[{{Infobox NCAA team season/team/sandbox|year={{{year|}}}|team={{{team|}}}|sport={{{sport|}}}|sex={{{sex|}}}}}|{{{text}}}]]{{{post|}}}
 
   }}
 
   }}
 
|{{{pre|}}}{{{text|}}}{{{post|}}}
 
|{{{pre|}}}{{{text|}}}{{{post|}}}

Revision as of 12:34, 26 October 2019

[[Template:MultiReplace]]

Template documentation

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

Usage

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