Difference between revisions of "Template:Globalize/testcases"
Jump to navigation
Jump to search
imported>SUM1 |
imported>SUM1 |
||
| Line 1: | Line 1: | ||
{{Testcases notice <!--|toc=on-->}} | {{Testcases notice <!--|toc=on-->}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | {{ | + | == Main == |
| − | {{ | + | {{Test case|_collapsible=yes|_showtemplate2=no|_showheader=no|_title=No parameters}} |
| − | {{ | + | {{Test case|_collapsible=yes|_showtemplate2=no|_showheader=no|_title=article{{!}}US|article|US}} |
| − | {{ | + | {{Test case|_collapsible=yes|_showtemplate2=no|_showheader=no|_title=article{{!}}the US|article|the US}} |
| − | {{ | + | {{Test case|_collapsible=yes|_showtemplate2=no|_showheader=no|_title=article{{!}}French{{!}}label{{=}}none|article|French|label=none}} |
| − | {{ | + | {{Test case|_collapsible=yes|_showtemplate2=no|_showheader=no|_title=article{{!}}british{{!}}label{{=}}for|article|british|label=for}} |
| + | {{Test case|_collapsible=yes|_showtemplate2=no|_showheader=no|_title=article{{!}}US{{!}}label{{=}}Foobar|article|US|label=Foobar}} | ||
| + | |||
| + | == Sandbox == | ||
| + | {{Test case|_collapsible=yes|_showtemplate1=no|_showheader=no|_showcode=yes|_title=reason{{=}}this article seems...|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.}} | ||
Revision as of 00:14, 9 March 2020
| 42px | 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... | ||
|---|---|---|
{{Globalize/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.}}
|