Difference between revisions of "Template:Globalize/testcases"

From blackwiki
Jump to navigation Jump to search
imported>SUM1
imported>SUM1
(Added test cases for 1 parameter fix)
Line 3: Line 3:
 
== Main ==
 
== Main ==
 
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=no|_showheader=no|_title=No parameters}}
 
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=no|_showheader=no|_title=No parameters}}
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=no|_showheader=no|_title=article{{!}}US|article|US}}
+
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=no|_showheader=no|_title={{!}}article{{!}}US|article|US}}
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=no|_showheader=no|_title=article{{!}}the US|article|the US}}
+
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=no|_showheader=no|_title={{!}}article{{!}}the US|article|the US}}
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=no|_showheader=no|_title=article{{!}}French{{!}}label{{=}}none|article|French|label=none}}
+
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=no|_showheader=no|_title={{!}}article{{!}}French{{!}}label{{=}}none|article|French|label=none}}
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=no|_showheader=no|_title=article{{!}}british{{!}}label{{=}}for|article|british|label=for}}
+
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=no|_showheader=no|_title={{!}}article{{!}}british{{!}}label{{=}}for|article|british|label=for}}
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=no|_showheader=no|_title=article{{!}}US{{!}}label{{=}}Foobar|article|US|label=Foobar}}
+
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate2=no|_showheader=no|_title={{!}}article{{!}}US{{!}}label{{=}}Foobar|article|US|label=Foobar}}
  
 
== Sandbox ==
 
== Sandbox ==
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate1=no|_showheader=no|_title=reason{{=}}this article seems to be a mixture of US-specific information throughout (not just in the US section) and global information, in addition to country sections. US-specific text should be in the US section.|reason=this article seems to be a mixture of US-specific information throughout (not just in the US section) and global information, in addition to country sections. US-specific text should be in the US section.}}
+
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate1=no|_showheader=no|_title={{!}}reason{{=}}this article seems to be a mixture of US-specific information throughout (not just in the US section) and global information, in addition to country sections. US-specific text should be in the US section.|reason=this article seems to be a mixture of US-specific information throughout (not just in the US section) and global information, in addition to country sections. US-specific text should be in the US section.}}
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate1=no|_showheader=no|_title=2{{=}}US{{!}}3{{=}}UK{{!}}4{{=}}EU{{!}}noserialcomma{{=}}y|2=US|3=UK|4=EU|noserialcomma=y}}
+
{{Test case|_collapsible=yes|_notcollapsed=yes|_showtemplate1=no|_showheader=no|_title={{!}}2{{=}}US{{!}}3{{=}}UK{{!}}4{{=}}EU{{!}}noserialcomma{{=}}y|2=US|3=UK|4=EU|noserialcomma=y}}
 +
 
 +
== Both ==
 +
{{Test case|_collapsible=yes|_notcollapsed=yes|_title={{!}}table or gallery|table or gallery}}

Revision as of 11:17, 11 March 2020

Main

No parameters
|article|US
|article|the US
|article|French|label=none
|article|british|label=for
|article|US|label=Foobar

Sandbox

|reason=this article seems to be a mixture of US-specific information throughout (not just in the US section) and global information, in addition to country sections. US-specific text should be in the US section.
|2=US|3=UK|4=EU|noserialcomma=y

Both

|table or gallery

{{Globalize}}

{{Globalize/sandbox}}