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

From blackwiki
Jump to navigation Jump to search
imported>DeFaultRyan
(demonstrate title vs titleless links)
 
imported>Mackensen
(use test cases)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
*{{cfb link/sandbox|year=2009|team=Utah Utes}} = {{cfb link/sandbox|year=2009|team=Utah Utes|title=Utah}}
+
{{template test cases}}
*{{cfb link/sandbox|year=2009|team=Colorado State Rams}} = {{cfb link/sandbox|year=2009|team=Colorado State Rams|title=Colorado State}}
+
 
*{{cfb link/sandbox|year=2009|team=Ashland Eagles}} = {{cfb link/sandbox|year=2009|team=Ashland Eagles|title=Ashland}}
+
== Title parameter is set ==
*{{cfb link/sandbox|year=2009|team=Adrian Bulldogs|school=Albion College}} = {{cfb link/sandbox|year=2009|team=Adrian Bulldogs|school=Adrian College|title=Adrian}}
+
{{inline test case
 +
| year = 2009
 +
| team = Utah Utes
 +
| title = Utah
 +
| nocat = y
 +
}}
 +
{{inline test case
 +
| year = 2009
 +
| team = Colorado State Rams
 +
| title = Colorado State
 +
| nocat = y
 +
}}
 +
{{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