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

From blackwiki
Jump to navigation Jump to search
blackwiki>DePiep
blackwiki>DePiep
Line 9: Line 9:
  
 
==Compare current options ==
 
==Compare current options ==
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=no|_showheader=yes|_showcode=yes|_title=No parameters}}
+
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=yes|_showheader=yes|_showcode=yes|_title=No parameters}}
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=no|_showheader=yes|_showcode=yes|_title={{!}}noheader{{=}}y|noheader=y}}
+
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=yes|_showheader=yes|_showcode=yes|_title={{!}}noheader{{=}}y|noheader=y}}
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=no|_showheader=yes|_showcode=yes|_title={{!}}nolink{{=}}y|nolink=y}}
+
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=yes|_showheader=yes|_showcode=yes|_title={{!}}nolink{{=}}y|nolink=y}}
  
 
;template name input
 
;template name input
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=no|_showheader=yes|_showcode=yes|_title=1=..|1=Infobox film}}
+
{{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) ==

Revision as of 15:49, 26 March 2020

Test unk parameter

error message test
  • Entering bad parameter foo, try Preview:
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

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