Difference between revisions of "Template:Main/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Andrybak
(use Template:test case; add section headers)
imported>Andrybak
m (add whitespace for readability)
 
Line 8: Line 8:
 
== Positional parameters ==
 
== Positional parameters ==
 
{{test case|_format=inline|_showcode=yes|John}}
 
{{test case|_format=inline|_showcode=yes|John}}
 +
 
{{test case|_format=inline|_showcode=yes|John|George}}
 
{{test case|_format=inline|_showcode=yes|John|George}}
 +
 
{{test case|_format=inline|_showcode=yes|John|George|Ringo}}
 
{{test case|_format=inline|_showcode=yes|John|George|Ringo}}
  
 
=== Other namespaces links ===
 
=== Other namespaces links ===
 
{{test case|_format=inline|_showcode=yes|:Category:John}}
 
{{test case|_format=inline|_showcode=yes|:Category:John}}
 +
 
{{test case|_format=inline|_showcode=yes|Template:John|George}}
 
{{test case|_format=inline|_showcode=yes|Template:John|George}}
 +
 
{{test case|_format=inline|_showcode=yes|Talk:John|George|Ringo}}
 
{{test case|_format=inline|_showcode=yes|Talk:John|George|Ringo}}
  

Latest revision as of 22:04, 8 May 2020

Template:Test cases

The first output example in each pair is the main template, and second is the sandbox.

Parameter category

Positional parameters

  • {{Main|John}}
  • {{Main/sandbox|John}}


  • {{Main|John|George}}
  • {{Main/sandbox|John|George}}


Other namespaces links



With anchor links

Missing positional parameter

  • {{Main|John|}}
  • {{Main/sandbox|John|}}

Parameter l2