Difference between revisions of "Template:Infobox settlement/testcases2"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Hike395 (renumber test cases) |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{Template test cases notice}} | {{Template test cases notice}} | ||
| − | {{for|more tests|Template:Infobox settlement/testcases}} | + | {{for|more tests|Template:Infobox settlement/testcases|Template:Infobox settlement/testcases3}} |
| − | ==Case | + | ==Case 11: Image field== |
{{Testcase table | {{Testcase table | ||
|image map = | |image map = | ||
|name = Zelhem | |name = Zelhem | ||
|subdivision_type = Country | |subdivision_type = Country | ||
| − | |subdivision_name = | + | |subdivision_name = Netherlands |
|subdivision_type1 = Province | |subdivision_type1 = Province | ||
|subdivision_name1 = [[Gelderland]] | |subdivision_name1 = [[Gelderland]] | ||
| Line 23: | Line 23: | ||
}} | }} | ||
| − | ==Case | + | ==Case 12: Area in dunams== |
{{Testcase table | {{Testcase table | ||
| name = Jerusalem | | name = Jerusalem | ||
| native_name = <br>יְרוּשָׁלַיִם (Yerushalayim)<br>القدس (Al Quds) | | native_name = <br>יְרוּשָׁלַיִם (Yerushalayim)<br>القدس (Al Quds) | ||
| subdivision_type = Country | | subdivision_type = Country | ||
| − | | subdivision_name = {{ | + | | subdivision_name = {{flag|Israel}} |
|coordinates = {{coord|31|47|N|35|13|E}} | |coordinates = {{coord|31|47|N|35|13|E}} | ||
| unit_pref = dunam | | unit_pref = dunam | ||
| Line 59: | Line 59: | ||
}} | }} | ||
| − | ==Case | + | ==Case 13: pushpin map with no coordinates == |
{{Testcase table | {{Testcase table | ||
|name =Mountshannon | |name =Mountshannon | ||
| Line 113: | Line 113: | ||
|utc_offset1 =+0 | |utc_offset1 =+0 | ||
| timezone1_DST =[[Irish Standard Time|IST]] ([[Western European Summer Time|WEST]]) | | timezone1_DST =[[Irish Standard Time|IST]] ([[Western European Summer Time|WEST]]) | ||
| − | | utc_offset1_DST = | + | | utc_offset1_DST =+1 |
|elevation_footnotes = | |elevation_footnotes = | ||
|elevation_m = | |elevation_m = | ||
| Line 126: | Line 126: | ||
}} | }} | ||
| − | ==Case | + | ==Case 14: Hectares and acres== |
{{Testcase table | {{Testcase table | ||
|name = Small Town | |name = Small Town | ||
| Line 144: | Line 144: | ||
}} | }} | ||
| − | == Case | + | == Case 15: Atypical parameters == |
{{Testcase table | {{Testcase table | ||
| name = Example | | name = Example | ||
| Line 205: | Line 205: | ||
}} | }} | ||
| − | == Case | + | == Case 16: total_type = &nbsp; == |
{{Testcase table | {{Testcase table | ||
|name = Test | |name = Test | ||
| Line 232: | Line 232: | ||
|area_total_km2 = | |area_total_km2 = | ||
|area_land_km2 = | |area_land_km2 = | ||
| + | }} | ||
| + | == Case 17: Timezones == | ||
| + | timezone + utc_offset + timezone_DST + utc_offset_DST | ||
| + | {{testcase table | ||
| + | |timezone = [[Pacific Time Zone|Pacific]] | ||
| + | |utc_offset = −8 | ||
| + | |timezone_DST = PDT | ||
| + | |utc_offset_DST = −7 | ||
| + | }} | ||
| + | timezone + timezone_DST | ||
| + | {{testcase table | ||
| + | |timezone = [[Pacific Time Zone|Pacific]] | ||
| + | |timezone_DST = PDT | ||
| + | }} | ||
| + | utc_offset + utc_offset_DST | ||
| + | {{testcase table | ||
| + | |utc_offset = −8 | ||
| + | |utc_offset_DST = −7 | ||
}} | }} | ||
| − | == Case | + | == Case 18: Most parameters == |
{{Testcase table | {{Testcase table | ||
| name ={{{name}}} | | name ={{{name}}} | ||
| Line 596: | Line 614: | ||
}} | }} | ||
| − | == Case | + | == Case 19: Most parameters == |
{{Testcase table | {{Testcase table | ||
| name ={{{name}}} | | name ={{{name}}} | ||
Latest revision as of 11:07, 14 December 2018
- REDIRECT Template:Testcases notice
- From a page move: This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name.
Contents
Case 11: Image field
Case 12: Area in dunams
Case 13: pushpin map with no coordinates
Case 14: Hectares and acres
Case 15: Atypical parameters
Case 16: total_type =
Case 17: Timezones
timezone + utc_offset + timezone_DST + utc_offset_DST Template:Testcase table timezone + timezone_DST Template:Testcase table utc_offset + utc_offset_DST Template:Testcase table