Difference between revisions of "Template:Cfb link/testcases"

From blackwiki
Jump to navigation Jump to search
imported>DeFaultRyan
(put in table form)
imported>Mackensen
(use test cases)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{| class="wikitable" border="1"
+
{{template test cases}}
|-
+
 
!  title parameter is set
+
== Title parameter is set ==
!  title parameter is blank
+
{{inline test case
|-
+
| year = 2009
{{cfb link/sandbox|year=2009|team=Utah Utes|title=Utah}}
+
| team = Utah Utes
{{cfb link/sandbox|year=2009|team=Utah Utes}}
+
| title = Utah
|-
+
| nocat = y
| {{cfb link/sandbox|year=2009|team=Colorado State Rams|title=Colorado State}}
+
}}
{{cfb link/sandbox|year=2009|team=Colorado State Rams}}
+
{{inline test case
|-
+
| year = 2009
{{cfb link/sandbox|year=2009|team=Ashland Eagles|title=Ashland}}
+
| team = Colorado State Rams
{{cfb link/sandbox|year=2009|team=Ashland Eagles}}
+
| title = Colorado State
|-
+
| nocat = y
{{cfb link/sandbox|year=2009|team=Adrian Bulldogs|school=Adrian College|title=Adrian}}
+
}}
{{cfb link/sandbox|year=2009|team=Adrian Bulldogs|school=Albion College}}
+
{{inline test case
|}
+
| year = 2009
 +
| team = Ashland Eagles
 +
| title = Ashland
 +
| nocat = y
 +
}}
 +
{{inline test case
 +
| year = 2009
 +
| team = Adrian Bulldogs
 +
| school = Adrian College
 +
| title = Adrian
 +
| nocat = y
 +
}}
 +
 
 +
== Title parameter is blank ==
 +
{{inline test case
 +
| year = 2009
 +
| team = Utah Utes
 +
| nocat = y
 +
}}
 +
{{inline test case
 +
| year = 2009
 +
| team = Colorado State Rams
 +
| nocat = y
 +
}}
 +
{{inline test case
 +
| year = 2009
 +
| team = Ashland Eagles
 +
| nocat = y
 +
}}
 +
{{inline test case
 +
| year = 2009
 +
| team = Adrian Bulldogs
 +
| school = Albion College<!-- deliberate error -->
 +
| nocat = y
 +
}}

Latest revision as of 16:59, 11 October 2020

Title parameter is set

  • {{Cfb link|nocat=y|team=Utah Utes|title=Utah|year=2009}} → [[{{{school}}}|Utah]]
  • {{Cfb link/sandbox|nocat=y|team=Utah Utes|title=Utah|year=2009}} → [[{{{school}}}|Utah]]
  • {{Cfb link|nocat=y|team=Colorado State Rams|title=Colorado State|year=2009}} → [[{{{school}}}|Colorado State]]
  • {{Cfb link/sandbox|nocat=y|team=Colorado State Rams|title=Colorado State|year=2009}} → [[{{{school}}}|Colorado State]]
  • {{Cfb link|nocat=y|team=Ashland Eagles|title=Ashland|year=2009}} → [[{{{school}}}|Ashland]]
  • {{Cfb link/sandbox|nocat=y|team=Ashland Eagles|title=Ashland|year=2009}} → [[{{{school}}}|Ashland]]
  • {{Cfb link|nocat=y|school=Adrian College|team=Adrian Bulldogs|title=Adrian|year=2009}}Adrian
  • {{Cfb link/sandbox|nocat=y|school=Adrian College|team=Adrian Bulldogs|title=Adrian|year=2009}}Adrian

Title parameter is blank

  • {{Cfb link|nocat=y|team=Utah Utes|year=2009}} → [[{{{school}}}]]
  • {{Cfb link/sandbox|nocat=y|team=Utah Utes|year=2009}} → [[{{{school}}}]]
  • {{Cfb link|nocat=y|team=Colorado State Rams|year=2009}} → [[{{{school}}}]]
  • {{Cfb link/sandbox|nocat=y|team=Colorado State Rams|year=2009}} → [[{{{school}}}]]
  • {{Cfb link|nocat=y|team=Ashland Eagles|year=2009}} → [[{{{school}}}]]
  • {{Cfb link/sandbox|nocat=y|team=Ashland Eagles|year=2009}} → [[{{{school}}}]]
  • {{Cfb link|nocat=y|school=Albion College|team=Adrian Bulldogs|year=2009}}Albion College
  • {{Cfb link/sandbox|nocat=y|school=Albion College|team=Adrian Bulldogs|year=2009}}Albion College