Difference between revisions of "Template:Infobox university/testcases"
imported>Andy M. Wang (→Rice: note invalid case) |
imported>Jonesey95 (add CC-licensed logo) |
||
| (5 intermediate revisions by 3 users not shown) | |||
| 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 8: | Line 8: | ||
| native_name = | | native_name = | ||
| image_name = Dabney-minimalist.png | | image_name = Dabney-minimalist.png | ||
| − | | image_size = | + | | image_size = 150 |
| image_alt = Correct image is not licensed for use on templates. | | image_alt = Correct image is not licensed for use on templates. | ||
| motto = ''Letters, Science, Art'' | | motto = ''Letters, Science, Art'' | ||
| Line 17: | Line 17: | ||
| endowment = [[United States dollar|$]]4.6 billion (2008) | | endowment = [[United States dollar|$]]4.6 billion (2008) | ||
| affiliation = | | affiliation = | ||
| − | |||
| chairman = James W. Crownover | | chairman = James W. Crownover | ||
| president = [[David Leebron]] | | president = [[David Leebron]] | ||
| Line 31: | Line 30: | ||
| 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 37: | Line 36: | ||
| free = | | free = | ||
| sports = | | sports = | ||
| − | | colors = [[Blue]] & [[Grey]]<br> {{ | + | | colors = [[Blue]] & [[Grey]]<br> {{color box|#002469}} {{color box|#5e6062}} |
| nickname = Owls | | nickname = Owls | ||
| mascot = [[Sammy the Owl]] | | mascot = [[Sammy the Owl]] | ||
| Line 43: | Line 42: | ||
| affiliations = [[Southern Association of Colleges and Schools|SACS]] | | affiliations = [[Southern Association of Colleges and Schools|SACS]] | ||
| website = {{URL|http://www.rice.edu/}} | | website = {{URL|http://www.rice.edu/}} | ||
| − | | logo = | + | | logo = Wikimedia Foundation logo - vertical.svg |
| footnotes = | | footnotes = | ||
}} | }} | ||
| − | 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 53: | Line 52: | ||
| native_name = | | native_name = | ||
| image_name = Dabney-minimalist.png | | image_name = Dabney-minimalist.png | ||
| − | | image_size = | + | | image_size = 150 |
| image_alt = Correct image is not licensed for use on templates. | | image_alt = Correct image is not licensed for use on templates. | ||
| motto = ''Letters, Science, Art'' | | motto = ''Letters, Science, Art'' | ||
| Line 62: | Line 61: | ||
| endowment = [[United States dollar|$]]4.6 billion (2008) | | endowment = [[United States dollar|$]]4.6 billion (2008) | ||
| affiliation = | | affiliation = | ||
| − | |||
| chairman = James W. Crownover | | chairman = James W. Crownover | ||
| president = [[David Leebron]] | | president = [[David Leebron]] | ||
| Line 76: | Line 74: | ||
| 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 82: | Line 80: | ||
| free = | | free = | ||
| sports = | | sports = | ||
| − | | colors = [[Blue]] & [[Grey]]<br> {{ | + | | colors = [[Blue]] & [[Grey]]<br> {{color box|#002469}} {{color box|#5e6062}} |
| nickname = Owls | | nickname = Owls | ||
| mascot = [[Sammy the Owl]] | | mascot = [[Sammy the Owl]] | ||
| Line 88: | Line 86: | ||
| affiliations = [[Southern Association of Colleges and Schools|SACS]] | | affiliations = [[Southern Association of Colleges and Schools|SACS]] | ||
| website = {{URL|http://www.rice.edu/}} | | website = {{URL|http://www.rice.edu/}} | ||
| − | | logo = | + | | logo = Wikimedia Foundation logo - vertical.svg |
| footnotes = | | footnotes = | ||
}} | }} | ||
| − | Address and | + | Address and postcode fields are not provided, but city, state, and country exist. |
{{Testcase table |_caption= | {{Testcase table |_caption= | ||
| Line 98: | Line 96: | ||
| native_name = | | native_name = | ||
| image_name = Dabney-minimalist.png | | image_name = Dabney-minimalist.png | ||
| − | | image_size = | + | | image_size = 150 |
| image_alt = Correct image is not licensed for use on templates. | | image_alt = Correct image is not licensed for use on templates. | ||
| motto = ''Letters, Science, Art'' | | motto = ''Letters, Science, Art'' | ||
| Line 107: | Line 105: | ||
| endowment = [[United States dollar|$]]4.6 billion (2008) | | endowment = [[United States dollar|$]]4.6 billion (2008) | ||
| affiliation = | | affiliation = | ||
| − | |||
| chairman = James W. Crownover | | chairman = James W. Crownover | ||
| president = [[David Leebron]] | | president = [[David Leebron]] | ||
| Line 121: | Line 118: | ||
| 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 127: | Line 124: | ||
| free = | | free = | ||
| sports = | | sports = | ||
| − | | colors = [[Blue]] & [[Grey]]<br> {{ | + | | colors = [[Blue]] & [[Grey]]<br> {{color box|#002469}} {{color box|#5e6062}} |
| nickname = Owls | | nickname = Owls | ||
| mascot = [[Sammy the Owl]] | | mascot = [[Sammy the Owl]] | ||
| Line 133: | Line 130: | ||
| affiliations = [[Southern Association of Colleges and Schools|SACS]] | | affiliations = [[Southern Association of Colleges and Schools|SACS]] | ||
| website = {{URL|http://www.rice.edu/}} | | website = {{URL|http://www.rice.edu/}} | ||
| − | | logo = | + | | logo = Wikimedia Foundation logo - vertical.svg |
| footnotes = | | footnotes = | ||
}} | }} | ||
| − | 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 143: | Line 140: | ||
| native_name = | | native_name = | ||
| image_name = Dabney-minimalist.png | | image_name = Dabney-minimalist.png | ||
| − | | image_size = | + | | image_size = 150 |
| image_alt = Correct image is not licensed for use on templates. | | image_alt = Correct image is not licensed for use on templates. | ||
| motto = ''Letters, Science, Art'' | | motto = ''Letters, Science, Art'' | ||
| Line 152: | Line 149: | ||
| endowment = [[United States dollar|$]]4.6 billion (2008) | | endowment = [[United States dollar|$]]4.6 billion (2008) | ||
| affiliation = | | affiliation = | ||
| − | |||
| chairman = James W. Crownover | | chairman = James W. Crownover | ||
| president = [[David Leebron]] | | president = [[David Leebron]] | ||
| Line 166: | Line 162: | ||
| 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 172: | Line 168: | ||
| free = | | free = | ||
| sports = | | sports = | ||
| − | | colors = [[Blue]] & [[Grey]]<br> {{ | + | | colors = [[Blue]] & [[Grey]]<br> {{color box|#002469}} {{color box|#5e6062}} |
| nickname = Owls | | nickname = Owls | ||
| mascot = [[Sammy the Owl]] | | mascot = [[Sammy the Owl]] | ||
| Line 178: | Line 174: | ||
| affiliations = [[Southern Association of Colleges and Schools|SACS]] | | affiliations = [[Southern Association of Colleges and Schools|SACS]] | ||
| website = {{URL|http://www.rice.edu/}} | | website = {{URL|http://www.rice.edu/}} | ||
| − | | logo = | + | | logo = Wikimedia Foundation logo - vertical.svg |
| footnotes = | | footnotes = | ||
}} | }} | ||
| − | Only address field and | + | Only address field and postcode are provided. (This is an invalid case) |
{{Testcase table |_caption= | {{Testcase table |_caption= | ||
| Line 188: | Line 184: | ||
| native_name = | | native_name = | ||
| image_name = Dabney-minimalist.png | | image_name = Dabney-minimalist.png | ||
| − | | image_size = | + | | image_size = 150 |
| image_alt = Correct image is not licensed for use on templates. | | image_alt = Correct image is not licensed for use on templates. | ||
| motto = ''Letters, Science, Art'' | | motto = ''Letters, Science, Art'' | ||
| Line 197: | Line 193: | ||
| endowment = [[United States dollar|$]]4.6 billion (2008) | | endowment = [[United States dollar|$]]4.6 billion (2008) | ||
| affiliation = | | affiliation = | ||
| − | |||
| chairman = James W. Crownover | | chairman = James W. Crownover | ||
| president = [[David Leebron]] | | president = [[David Leebron]] | ||
| Line 211: | Line 206: | ||
| 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 217: | Line 212: | ||
| free = | | free = | ||
| sports = | | sports = | ||
| − | | colors = [[Blue]] & [[Grey]]<br> {{ | + | | colors = [[Blue]] & [[Grey]]<br> {{color box|#002469}} {{color box|#5e6062}} |
| nickname = Owls | | nickname = Owls | ||
| mascot = [[Sammy the Owl]] | | mascot = [[Sammy the Owl]] | ||
| Line 223: | Line 218: | ||
| affiliations = [[Southern Association of Colleges and Schools|SACS]] | | affiliations = [[Southern Association of Colleges and Schools|SACS]] | ||
| website = {{URL|http://www.rice.edu/}} | | website = {{URL|http://www.rice.edu/}} | ||
| − | | logo = | + | | logo = Wikimedia Foundation logo - vertical.svg |
| footnotes = | | footnotes = | ||
}} | }} | ||
| Line 234: | Line 229: | ||
| native_name = | | native_name = | ||
| image_name = Dabney-minimalist.png | | image_name = Dabney-minimalist.png | ||
| − | | image_size = | + | | image_size = 150 |
| image_alt = Correct image is not licensed for use on templates. | | image_alt = Correct image is not licensed for use on templates. | ||
| motto = ''Letters, Science, Art'' | | motto = ''Letters, Science, Art'' | ||
| Line 243: | Line 238: | ||
| endowment = [[United States dollar|$]]4.6 billion (2008) | | endowment = [[United States dollar|$]]4.6 billion (2008) | ||
| affiliation = | | affiliation = | ||
| − | |||
| chairman = James W. Crownover | | chairman = James W. Crownover | ||
| president = [[David Leebron]] | | president = [[David Leebron]] | ||
| Line 257: | Line 251: | ||
| 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 263: | Line 257: | ||
| free = | | free = | ||
| sports = | | sports = | ||
| − | | colors = [[Blue]] & [[Grey]]<br> {{ | + | | colors = [[Blue]] & [[Grey]]<br> {{color box|#002469}} {{color box|#5e6062}} |
| nickname = Owls | | nickname = Owls | ||
| mascot = [[Sammy the Owl]] | | mascot = [[Sammy the Owl]] | ||
| Line 269: | Line 263: | ||
| affiliations = [[Southern Association of Colleges and Schools|SACS]] | | affiliations = [[Southern Association of Colleges and Schools|SACS]] | ||
| website = {{URL|http://www.rice.edu/}} | | website = {{URL|http://www.rice.edu/}} | ||
| − | | logo = | + | | logo = Wikimedia Foundation logo - vertical.svg |
| footnotes = | | footnotes = | ||
| + | }} | ||
| + | |||
| + | == Postcode == | ||
| + | {{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 postcode exist. | ||
| + | |||
| + | {{Testcase table |_caption= | ||
| + | | name = William Marsh Rice University | ||
| + | | city = [[Houston, Texas|Houston]] | ||
| + | | state = Texas | ||
| + | | country = USA | ||
| + | | postcode = 77005 | ||
| + | }} | ||
| + | |||
| + | Address and postcode 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 postcode. | ||
| + | |||
| + | {{Testcase table |_caption= | ||
| + | | name = William Marsh Rice University | ||
| + | | address = 6100 Main Street | ||
| + | }} | ||
| + | |||
| + | Only address field and postcode 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 | ||
}} | }} | ||
Latest revision as of 05:49, 18 March 2019
| 42px | 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)