Difference between revisions of "Template:Infobox college sports team season/link"
Jump to navigation
Jump to search
Template documentation
imported>Primefac m (Changed protection level for "Template:Infobox NCAA team season/link": high-risk template with 4000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
imported>Frietjes (allow text=year to set text equal to the value in year) |
||
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 NCAA team season/team|year={{{year|}}}|team={{{team|}}}|sport={{{sport|}}}|sex={{{sex|}}}}}|1}}|1}} | ||
− | |{{# | + | |{{#switch:{{{text|}}} |
− | |{{{pre|}}}[[{{Infobox NCAA team season/team|year={{{year|}}}|team={{{team|}}}|sport={{{sport|}}}|sex={{{sex|}}}}}|{{{ | + | |={{{pre|}}}[[{{Infobox NCAA team season/team|year={{{year|}}}|team={{{team|}}}|sport={{{sport|}}}|sex={{{sex|}}}}}]]{{{post|}}} |
− | |{{{pre|}}}[[{{Infobox NCAA team season/team|year={{{year|}}}|team={{{team|}}}|sport={{{sport|}}}|sex={{{sex|}}}}}]]{{{post|}}} | + | |year={{{pre|}}}[[{{Infobox NCAA team season/team|year={{{year|}}}|team={{{team|}}}|sport={{{sport|}}}|sex={{{sex|}}}}}|{{{year}}}]]{{{post|}}} |
+ | |#default={{{pre|}}}[[{{Infobox NCAA team season/team|year={{{year|}}}|team={{{team|}}}|sport={{{sport|}}}|sex={{{sex|}}}}}|{{{text}}}]]{{{post|}}} | ||
}} | }} | ||
− | |{{{pre|}}}{{{text|}}}{{{post|}}} | + | |{{{pre|}}}{{#ifeq:{{{text|}}}|year|{{{year|}}}|{{{text|}}}}}{{{post|}}} |
}}<noinclude> | }}<noinclude> | ||
{{documentation|content= | {{documentation|content= |
Revision as of 12:57, 26 October 2019

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 = }}
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Subpages of this template. |