Difference between revisions of "Template:TemplateData header/testcases"

From blackwiki
Jump to navigation Jump to search
blackwiki>DePiep
m (30 revisions imported)
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Testcases notice}}
 
{{Testcases notice}}
 
__TOC__
 
__TOC__
;error message test (bad parameter foo)
+
 
{{TemplateData header/sandbox|template=Infobox film|foo=99}}
+
==Test unk parameter==
 +
 
 +
;error message test
 +
*Entering bad parameter foo, try {{button|Preview}}:
 +
<!-- NOT WORKING / to test, remove this comment {{TemplateData header/sandbox|foo=42}} -->
 +
 
 +
==Compare current options ==
 +
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=yes|_showheader=yes|_showcode=yes|_title=No parameters}}
 +
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=yes|_showheader=yes|_showcode=yes|_title={{!}}noheader{{=}}y|noheader=y}}
 +
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=yes|_showheader=yes|_showcode=yes|_title={{!}}nolink{{=}}y|nolink=y}}
 +
 
 +
;template name input
 +
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=yes|_showheader=yes|_showcode=yes|_title=1=..|1=Infobox film}}
  
 
== Basic options (in main) ==
 
== Basic options (in main) ==

Latest revision as of 16:20, 20 September 2020

Test unk parameter

error message test
  • Entering bad parameter foo, try Preview:

Compare current options

No parameters
{{TemplateData header}}

{{TemplateData header}}

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for TemplateData header

{{TemplateData header/sandbox}}

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for TemplateData header

|noheader=y
{{TemplateData header|noheader=y}}

{{TemplateData header}}

See the monthly parameter usage report for this template.

TemplateData for TemplateData header

{{TemplateData header/sandbox}}

See the monthly parameter usage report for this template.

TemplateData for TemplateData header

|nolink=y
{{TemplateData header|nolink=y}}

{{TemplateData header}}

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for TemplateData header

{{TemplateData header/sandbox}}

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for TemplateData header

template name input
1=..
{{TemplateData header|Infobox film}}

{{TemplateData header}}

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox film

{{TemplateData header/sandbox}}

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox film

Basic options (in main)

No parameters
{{TemplateData header}}

{{TemplateData header}}

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for TemplateData header

|noheader=y
{{TemplateData header|noheader=y}}

{{TemplateData header}}

See the monthly parameter usage report for this template.

TemplateData for TemplateData header

|nolink=y
{{TemplateData header|nolink=y}}

{{TemplateData header}}

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for TemplateData header

template name input
1=..
{{TemplateData header|Infobox film}}

{{TemplateData header}}

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox film

Basic options (in /sandbox)

No parameters
{{TemplateData header/sandbox}}

{{TemplateData header/sandbox}}

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for TemplateData header

|noheader=y
{{TemplateData header/sandbox|noheader=y}}

{{TemplateData header/sandbox}}

See the monthly parameter usage report for this template.

TemplateData for TemplateData header

|nolink=y
{{TemplateData header/sandbox|nolink=y}}

{{TemplateData header/sandbox}}

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for TemplateData header

template name input
1=..
{{TemplateData header/sandbox|Infobox film}}

{{TemplateData header/sandbox}}

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox film

Both