Difference between revisions of "Template:IBDB name/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(create test cases)
 
imported>Zyxw
(update)
Line 1: Line 1:
{{template test cases notice}}
+
{{Testcases notice <!--|toc=on-->}}
  
== Parameter: id (1) ==
+
{{Collapsible test case|_format=inline|_showcode=yes|_title=Test1 (unnamed parameters)|3945|Alan Jay Lerner}}
http://www.ibdb.com/person.asp?ID=3945
 
  
Usage: <code>{{((}} {{BASEPAGENAME}} {{!}} id= 3945 {{))}}</code>
+
{{Collapsible test case|_format=inline|_showcode=yes|_title=Test2 (named parameters)|id=3945|name=Alan Jay Lerner}}
* Output: {{ {{BASEPAGENAME}} | id= 3945 }}
 
* Sandbox: {{ {{BASEPAGENAME}}/sandbox | id= 3945 }}  
 
  
Usage: <code>{{((}} {{BASEPAGENAME}} {{!}} 3945 {{))}}</code>
+
{{Collapsible test case|_format=inline|_showcode=yes|_title=Test3 (missing ''name'')|id=3945}}
* Output: {{ {{BASEPAGENAME}} | 3945 }}
 
* Sandbox: {{ {{BASEPAGENAME}}/sandbox | 3945 }}  
 
  
== Parameter: title (2) ==
+
{{Collapsible test case|_format=inline|_showcode=yes|_title=Test4 (missing ''id'')|name=Alan Jay Lerner}}
http://www.ibdb.com/person.asp?ID=3945
 
  
Usage: <code>{{((}} {{BASEPAGENAME}} {{!}} id= 3945 {{!}} name= Alan Jay Lerner {{))}}</code>
+
<!--
* Output: {{ {{BASEPAGENAME}} | id= 3945 | name= Alan Jay Lerner }}
+
{{clear}}
* Sandbox: {{ {{BASEPAGENAME}}/sandbox | id= 3945 | name= Alan Jay Lerner }}
+
== References ==
 
+
{{reflist}}
Usage: <code>{{((}} {{BASEPAGENAME}} {{!}} 3945 {{!}} Alan Jay Lerner {{))}}</code>
+
-->
* Output: {{ {{BASEPAGENAME}} | 3945 | Alan Jay Lerner }}
 
* Sandbox: {{ {{BASEPAGENAME}}/sandbox | 3945 | Alan Jay Lerner }}
 

Revision as of 12:25, 11 December 2016

Test1 (unnamed parameters)
Test2 (named parameters)
Test3 (missing name)
Test4 (missing id)