Difference between revisions of "Template:Infobox university/testcases"
imported>Andy M. Wang m (postcode section) |
imported>Andy M. Wang (zip code -> postcode) |
||
| Line 2: | Line 2: | ||
== Rice == | == Rice == | ||
| − | Address field is provided, with city, state, country, and | + | Address field is provided, with city, state, country, and postcode. |
{{Testcase table |_caption= | {{Testcase table |_caption= | ||
| Line 31: | Line 31: | ||
| state = Texas | | state = Texas | ||
| country = USA | | country = USA | ||
| − | | | + | | postcode = 77005 |
| campus = [[Urban area|Urban]], {{convert|285|acre|km2|sp=us}} | | campus = [[Urban area|Urban]], {{convert|285|acre|km2|sp=us}} | ||
| former_names = The William Marsh Rice Institute for Advancement | | former_names = The William Marsh Rice Institute for Advancement | ||
| Line 47: | Line 47: | ||
}} | }} | ||
| − | 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 76: | Line 76: | ||
| state = Texas | | state = Texas | ||
| country = USA | | country = USA | ||
| − | | | + | | postcode = 77005 |
| campus = [[Urban area|Urban]], {{convert|285|acre|km2|sp=us}} | | campus = [[Urban area|Urban]], {{convert|285|acre|km2|sp=us}} | ||
| former_names = The William Marsh Rice Institute for Advancement | | former_names = The William Marsh Rice Institute for Advancement | ||
| Line 92: | Line 92: | ||
}} | }} | ||
| − | Address and | + | Address and postcode fields are not provided, but city, state, and country exist. |
{{Testcase table |_caption= | {{Testcase table |_caption= | ||
| Line 121: | Line 121: | ||
| state = Texas | | state = Texas | ||
| country = USA | | country = USA | ||
| − | | | + | | postcode = |
| campus = [[Urban area|Urban]], {{convert|285|acre|km2|sp=us}} | | campus = [[Urban area|Urban]], {{convert|285|acre|km2|sp=us}} | ||
| former_names = The William Marsh Rice Institute for Advancement | | former_names = The William Marsh Rice Institute for Advancement | ||
| Line 137: | Line 137: | ||
}} | }} | ||
| − | 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 166: | Line 166: | ||
| state = | | state = | ||
| country = | | country = | ||
| − | | | + | | postcode = |
| campus = [[Urban area|Urban]], {{convert|285|acre|km2|sp=us}} | | campus = [[Urban area|Urban]], {{convert|285|acre|km2|sp=us}} | ||
| former_names = The William Marsh Rice Institute for Advancement | | former_names = The William Marsh Rice Institute for Advancement | ||
| Line 182: | Line 182: | ||
}} | }} | ||
| − | Only address field and | + | Only address field and postcode are provided. (This is an invalid case) |
{{Testcase table |_caption= | {{Testcase table |_caption= | ||
| Line 211: | Line 211: | ||
| state = | | state = | ||
| country = | | country = | ||
| − | | | + | | postcode = 12345-6789 |
| campus = [[Urban area|Urban]], {{convert|285|acre|km2|sp=us}} | | campus = [[Urban area|Urban]], {{convert|285|acre|km2|sp=us}} | ||
| former_names = The William Marsh Rice Institute for Advancement | | former_names = The William Marsh Rice Institute for Advancement | ||
| Line 257: | Line 257: | ||
| state = Texas | | state = Texas | ||
| country = USA | | country = USA | ||
| − | | | + | | postcode = 77005 |
| campus = [[Urban area|Urban]], {{convert|285|acre|km2|sp=us}} | | campus = [[Urban area|Urban]], {{convert|285|acre|km2|sp=us}} | ||
| former_names = The William Marsh Rice Institute for Advancement | | former_names = The William Marsh Rice Institute for Advancement | ||
Revision as of 17:42, 14 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 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)
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)