Difference between revisions of "Template:Infobox university/testcases"
imported>Andy M. Wang (postcode tests) |
imported>Andy M. Wang m (postcode section) |
||
| Line 273: | Line 273: | ||
}} | }} | ||
| + | == Postcode == | ||
{{Testcase table |_caption= | {{Testcase table |_caption= | ||
| name = William Marsh Rice University | | name = William Marsh Rice University | ||
| Line 282: | Line 283: | ||
}} | }} | ||
| − | Address field is not provided, but city, state, country, and | + | Address field is not provided, but city, state, country, and postcode exist. |
{{Testcase table |_caption= | {{Testcase table |_caption= | ||
| Line 292: | Line 293: | ||
}} | }} | ||
| − | Address and | + | Address and postcode fields are not provided, but city, state, and country exist. |
{{Testcase table |_caption= | {{Testcase table |_caption= | ||
| Line 301: | Line 302: | ||
}} | }} | ||
| − | Only address field is provided. No city, state, country, or | + | Only address field is provided. No city, state, country, or postcode. |
{{Testcase table |_caption= | {{Testcase table |_caption= | ||
| Line 308: | Line 309: | ||
}} | }} | ||
| − | Only address field and | + | Only address field and postcode are provided. (This is an invalid case) |
{{Testcase table |_caption= | {{Testcase table |_caption= | ||
| Line 318: | Line 319: | ||
| postcode = 12345-6789 | | postcode = 12345-6789 | ||
}} | }} | ||
| − | |||
{{Testcase table |_caption= | {{Testcase table |_caption= | ||
Revision as of 17:28, 13 May 2016
| This is the template test cases page for the sandbox of Template:Infobox university. 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: |
Rice
Address field is provided, with city, state, country, and zip code.
Address field is not provided, but city, state, country, and zip code exist.
Address and zipcode fields are not provided, but city, state, and country exist.
Only address field is provided. No city, state, country, or zip code.
Only address field and zipcode are provided. (This is an invalid case)
Location
Field location is provided, which explicitly spells out the full address. City, state, etc are given, but not used.
Postcode
Address field is not provided, but city, state, country, and postcode exist.
Address and postcode fields are not provided, but city, state, and country exist.
Only address field is provided. No city, state, country, or postcode.
Only address field and postcode are provided. (This is an invalid case)