Difference between revisions of "Template:Globalize/testcases"
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
| This is the template test cases page for the sandbox of Template:Globalize. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
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}}
|