Difference between revisions of "Template:Infobox university/testcases"
imported>Andy M. Wang (→Rice: note invalid case) |
imported>Andy M. Wang (postcode tests) |
||
| Line 271: | Line 271: | ||
| logo = | | logo = | ||
| footnotes = | | footnotes = | ||
| + | }} | ||
| + | |||
| + | {{Testcase table |_caption= | ||
| + | | name = William Marsh Rice University | ||
| + | | address = 6100 Main Street | ||
| + | | city = [[Houston, Texas|Houston]] | ||
| + | | state = Texas | ||
| + | | country = USA | ||
| + | | postcode = 77005 | ||
| + | }} | ||
| + | |||
| + | Address field is not provided, but city, state, country, and zip code exist. | ||
| + | |||
| + | {{Testcase table |_caption= | ||
| + | | name = William Marsh Rice University | ||
| + | | city = [[Houston, Texas|Houston]] | ||
| + | | state = Texas | ||
| + | | country = USA | ||
| + | | postcode = 77005 | ||
| + | }} | ||
| + | |||
| + | Address and zipcode fields are not provided, but city, state, and country exist. | ||
| + | |||
| + | {{Testcase table |_caption= | ||
| + | | name = William Marsh Rice University | ||
| + | | city = [[Houston, Texas|Houston]] | ||
| + | | state = Texas | ||
| + | | country = USA | ||
| + | }} | ||
| + | |||
| + | Only address field is provided. No city, state, country, or zip code. | ||
| + | |||
| + | {{Testcase table |_caption= | ||
| + | | name = William Marsh Rice University | ||
| + | | address = 6100 Main Street | ||
| + | }} | ||
| + | |||
| + | Only address field and zipcode are provided. (This is an invalid case) | ||
| + | |||
| + | {{Testcase table |_caption= | ||
| + | | name = William Marsh Rice University | ||
| + | | address = 6100 Main Street | ||
| + | | city = | ||
| + | | state = | ||
| + | | country = | ||
| + | | postcode = 12345-6789 | ||
| + | }} | ||
| + | |||
| + | |||
| + | {{Testcase table |_caption= | ||
| + | | name = William Marsh Rice University | ||
| + | | location = 6100 Main Street<br />[[Houston, Texas|Houston]], Texas 77005<br />United States | ||
| + | | city = [[Houston, Texas|Houston]] | ||
| + | | state = Texas | ||
| + | | country = USA | ||
| + | | postcode = 77005 | ||
}} | }} | ||
Revision as of 17:23, 13 May 2016
| File:Gnome-applications-science.svg | 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.
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)