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

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Mackensen
(use test cases)
 
Line 1: Line 1:
{| class="wikitable"
+
{{template test cases}}
|-
+
 
! colspan=2 | title parameter is set
+
== Title parameter is set ==
! colspan=2 | title parameter is blank
+
{{inline test case
|-
+
| year = 2009
! Main
+
| team = Utah Utes
! Sandbox
+
| title = Utah
! Main
+
| nocat = y
! Sandbox
+
}}
|-
+
{{inline test case
{{cfb link        |year=2009|team=Utah Utes|title=Utah|nocat=y}}
+
| year = 2009
{{cfb link/sandbox|year=2009|team=Utah Utes|title=Utah|nocat=y}}
+
| team = Colorado State Rams
{{cfb link        |year=2009|team=Utah Utes|nocat=y}}
+
| title = Colorado State
{{cfb link/sandbox|year=2009|team=Utah Utes|nocat=y}}
+
| nocat = y
|-
+
}}
|  {{cfb link        |year=2009|team=Colorado State Rams|title=Colorado State|nocat=y}}
+
{{inline test case
|  {{cfb link/sandbox|year=2009|team=Colorado State Rams|title=Colorado State|nocat=y}}
+
| year = 2009
{{cfb link        |year=2009|team=Colorado State Rams|nocat=y}}
+
| team = Ashland Eagles
{{cfb link/sandbox|year=2009|team=Colorado State Rams|nocat=y}}
+
| title = Ashland
|-
+
| nocat = y
{{cfb link        |year=2009|team=Ashland Eagles|title=Ashland}}
+
}}
| {{cfb link/sandbox|year=2009|team=Ashland Eagles|title=Ashland}}
+
{{inline test case
|  {{cfb link        |year=2009|team=Ashland Eagles}}
+
| year = 2009
{{cfb link/sandbox|year=2009|team=Ashland Eagles}}
+
| team = Adrian Bulldogs
|-
+
| school = Adrian College
|  {{cfb link        |year=2009|team=Adrian Bulldogs|school=Adrian College|title=Adrian}}
+
| title = Adrian
|  {{cfb link/sandbox|year=2009|team=Adrian Bulldogs|school=Adrian College|title=Adrian}}
+
| nocat = y
|  {{cfb link        |year=2009|team=Adrian Bulldogs|school=Albion College}}
+
}}
| {{cfb link/sandbox|year=2009|team=Adrian Bulldogs|school=Albion College}}
+
 
|}
+
== 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