Jump to content

Template:Sandbox/Innesw/Infobox Australian place-upgrade/testcases

Coordinates: 37°12′45″S 145°25′26″E / 37.21250°S 145.42389°E / -37.21250; 145.42389
From Wikipedia, the free encyclopedia

Test cases for Template:Sandbox/Innesw/Infobox Australian place-upgrade (which calls Module:Sandbox/Innesw/Infobox Australian place-upgrade) for comparison with the original template at Template:Infobox Australian place.

Notes:

  • This page is intended for testing of proposed changes to the Infobox code during development, and illustration of the changes after testing is complete
  • Most cases are therefore specific to particular upgrade issues
  • There are currently no tests of the short description or categories, as these are only processed in article namespace
  • Testcases for the associated upgrade of the PopulationFromWikidata module are in the #Population Tests section

|type= and |state= errors

[edit]

values not defined

[edit]
Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Yea
Error: unknown |state= value (help)
Yea is located in Australia
Yea
Yea
Coordinates37°12′45″S 145°25′26″E / 37.21250°S 145.42389°E / -37.21250; 145.42389
Error: unknown |type= value (help)
Yea
Error: |type= not defined (help)
Error: |state= not defined (help)
Yea is located in Australia
Yea
Yea
Coordinates37°12′45″S 145°25′26″E / 37.21250°S 145.42389°E / -37.21250; 145.42389

invalid values

[edit]
Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Yea
Error: unknown |state= value (help)
Yea is located in Australia
Yea
Yea
Coordinates37°12′45″S 145°25′26″E / 37.21250°S 145.42389°E / -37.21250; 145.42389
Error: unknown |type= value (help)
Yea
unkError: unknown |type= value (=invalid-type) (help)
Error: unknown |state= value (=invalid-state) (help)
Yea is located in Australia
Yea
Yea
Coordinates37°12′45″S 145°25′26″E / 37.21250°S 145.42389°E / -37.21250; 145.42389

Map tests

[edit]

Force LGA map: |use_lga_map=yes

[edit]
Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Benalla
Victoria
Benalla is located in Rural City of Benalla
Benalla
Benalla
Location in Rural City of Benalla
Coordinates36°33′07″S 145°58′54″E / 36.55194°S 145.98167°E / -36.55194; 145.98167
LGA(s)Rural City of Benalla
Benalla
Victoria
Benalla is located in Rural City of Benalla
Benalla
Benalla
Location in Rural City of Benalla
Coordinates36°33′07″S 145°58′54″E / 36.55194°S 145.98167°E / -36.55194; 145.98167
LGA(s)Rural City of Benalla

Not Force LGA map: |use_lga_map=no

[edit]
Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Benalla
Victoria
Benalla is located in Rural City of Benalla
Benalla
Benalla
Location in Rural City of Benalla
Coordinates36°33′07″S 145°58′54″E / 36.55194°S 145.98167°E / -36.55194; 145.98167
LGA(s)Rural City of Benalla
Benalla
Victoria
Benalla is located in Victoria
Benalla
Benalla
Location in Rural City of Benalla
Coordinates36°33′07″S 145°58′54″E / 36.55194°S 145.98167°E / -36.55194; 145.98167
LGA(s)Rural City of Benalla

Force national map: |force_national_map=yes

[edit]
Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Benalla
Victoria
Benalla is located in Australia
Benalla
Benalla
Location in Rural City of Benalla
Coordinates36°33′07″S 145°58′54″E / 36.55194°S 145.98167°E / -36.55194; 145.98167
LGA(s)Rural City of Benalla
Benalla
Victoria
Benalla is located in Australia
Benalla
Benalla
Location in Rural City of Benalla
Coordinates36°33′07″S 145°58′54″E / 36.55194°S 145.98167°E / -36.55194; 145.98167
LGA(s)Rural City of Benalla

Not Force national map: |force_national_map=no

[edit]
Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Benalla
Victoria
Benalla is located in Australia
Benalla
Benalla
Location in Rural City of Benalla
Coordinates36°33′07″S 145°58′54″E / 36.55194°S 145.98167°E / -36.55194; 145.98167
LGA(s)Rural City of Benalla
Benalla
Victoria
Benalla is located in Victoria
Benalla
Benalla
Location in Rural City of Benalla
Coordinates36°33′07″S 145°58′54″E / 36.55194°S 145.98167°E / -36.55194; 145.98167
LGA(s)Rural City of Benalla

Alternative location map: |alternative_location_map=<non blank>

[edit]
Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
St Kilda
MelbourneVictoria
St Kilda is located in Melbourne
St Kilda
St Kilda
Location in metropolitan Melbourne
Coordinates37°51′50″S 144°58′55″E / 37.864°S 144.982°E / -37.864; 144.982
St Kilda
MelbourneVictoria
St Kilda is located in Melbourne
St Kilda
St Kilda
Location in metropolitan Melbourne
Coordinates37°51′50″S 144°58′55″E / 37.864°S 144.982°E / -37.864; 144.982

Force relief map: |relief=yes

[edit]
Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Benalla
Victoria
Benalla is located in Victoria
Benalla
Benalla
Location in Rural City of Benalla
Coordinates36°33′07″S 145°58′54″E / 36.55194°S 145.98167°E / -36.55194; 145.98167
LGA(s)Rural City of Benalla
Benalla
Victoria
Benalla is located in Victoria
Benalla
Benalla
Location in Rural City of Benalla
Coordinates36°33′07″S 145°58′54″E / 36.55194°S 145.98167°E / -36.55194; 145.98167
LGA(s)Rural City of Benalla

Not Force relief map: |relief=no

[edit]
Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Benalla
Victoria
Benalla is located in Victoria
Benalla
Benalla
Location in Rural City of Benalla
Coordinates36°33′07″S 145°58′54″E / 36.55194°S 145.98167°E / -36.55194; 145.98167
LGA(s)Rural City of Benalla
Benalla
Victoria
Benalla is located in Victoria
Benalla
Benalla
Location in Rural City of Benalla
Coordinates36°33′07″S 145°58′54″E / 36.55194°S 145.98167°E / -36.55194; 145.98167
LGA(s)Rural City of Benalla

local map caption

[edit]
Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Yea
Victoria
Yea is located in Victoria
Yea
Yea
Map
Coordinates37°12′45″S 145°25′26″E / 37.21250°S 145.42389°E / -37.21250; 145.42389
Yea
Victoria
Yea is located in Victoria
Yea
Yea
Map
Caption for local map.
Coordinates37°12′45″S 145°25′26″E / 37.21250°S 145.42389°E / -37.21250; 145.42389

all possible images and maps

[edit]
  • the picture is set in |image=
  • a specific location map, as used for LGAs, is set in |image2=
  • the location map as the automatically-generated one (as |type= is not 'lga')
  • the local map (showing the SAL boundary) is shown becaue |local_map=yes
Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Yea
Victoria
High Street, Yea
Location of LGA in Victoria
Yea is located in Victoria
Yea
Yea
Yea - automatic location map.
Map
Coordinates37°12′45″S 145°25′26″E / 37.21250°S 145.42389°E / -37.21250; 145.42389
Yea
Victoria
High Street, Yea
Location of LGA in Victoria
Yea is located in Victoria
Yea
Yea
Yea - automatic location map.
Map
Caption for local map.
Coordinates37°12′45″S 145°25′26″E / 37.21250°S 145.42389°E / -37.21250; 145.42389

|type=townandlocality and |local_map=yes

[edit]
  • the local map (showing the SAL boundary) is shown because |local_map=yes
  • the UCL boundary is also on the map because |type=townandlocality and a map file named 'Yea, Victoria UCL.map' exists in Commons:Data: At present this is the only map of a UCL in Commons:Data:.
Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Yea
Victoria
Yea is located in Victoria
Yea
Yea
Yea - automatic location map.
Map
Coordinates37°12′45″S 145°25′26″E / 37.21250°S 145.42389°E / -37.21250; 145.42389
Error: unknown |type= value (help)
Yea
Victoria
Yea is located in Victoria
Yea
Yea
Yea - automatic location map.
Map
Yea Locality (SAL) & Urban area (UCL)
Coordinates37°12′45″S 145°25′26″E / 37.21250°S 145.42389°E / -37.21250; 145.42389

Population Tests

[edit]

Integrated wikidata population references between article text and infobox

[edit]

This is an example article lede, with adjacent infobox (right aligned). Note the reference for the UCL population in the text is the same as that for the UCL population in the infobox.

Yea
Victoria
Population

Yea is a town in Victoria. It has a population of 1,279[1].

|pop= and |pop2= both manual

[edit]
Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Yea
Victoria
Yea is located in Victoria
Yea
Yea
Coordinates37°12′45″S 145°25′26″E / 37.21250°S 145.42389°E / -37.21250; 145.42389
Population
Yea
Victoria
Yea is located in Victoria
Yea
Yea
Coordinates37°12′45″S 145°25′26″E / 37.21250°S 145.42389°E / -37.21250; 145.42389
Population1,279 (2021 census)[3]

|pop= blank (so from wikidata) and |pop2= manual

[edit]

Also poprank shown after pop from wikidata.

Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Yea
Victoria
Yea is located in Victoria
Yea
Yea
Coordinates37°12′45″S 145°25′26″E / 37.21250°S 145.42389°E / -37.21250; 145.42389
Population1,279 (UCL 2021)[5]
Yea
Victoria
Yea is located in Victoria
Yea
Yea
Coordinates37°12′45″S 145°25′26″E / 37.21250°S 145.42389°E / -37.21250; 145.42389
Population

|type=town and |pop= blank (so from wikidata)

[edit]

Connected to the Ulladulla (Q649969) Wikidata item for testing purposes.

This has both UCL and SAL populations in wikidata.

Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Population14,396 (UCL 2021)[6]
Population

|type=city and |pop= blank (so from wikidata)

[edit]

Connected to the Ulladulla (Q649969) Wikidata item for testing purposes.

This has both UCL and SAL populations in wikidata.

Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Population14,396 (UCL 2021)[9]
Population
14,396 (UCL 2021)[7]

|type=lga and |pop= blank (so from wikidata)

[edit]

Connected to the City of Fremantle (Q1455046) Wikidata item for testing purposes.

Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Population31,930 (LGA 2021)[10]
Population
31,930 (LGA 2021)[11]

|type=town with Cosmo Newberry community Wikidata item

[edit]

Connected to the Cosmo Newbery (Q5174266) Wikidata item for testing purposes.

This has both UCL and ILOC populations in wikidata.

Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Population
Population

|type=city

[edit]

Connected to the Darwin (Q11568) Wikidata item for testing purposes.

This has UCL, SUA, GCCSA and inter-census population estimates in wikidata.

Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Population122,207 (UCL 2021)[16][17]
Population
122,207 (UCL 2021)[18]

|type=suburb with odd Wikidata import

[edit]

This test is for template type = suburb.

Connected to the Colongra (Q5148194) Wikidata item for testing purposes.

This has a zero value population in wikidata.

Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Population0 (SAL 2016)[19][20]
Population

Response to wikidata items with claims with two dates

[edit]

Connected to the Banksiadale (Q4856763) Wikidata item for testing purposes.

This had a zero value population in two consecutive censuses, so the two claims are merged in wikidata.

Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Population0 (SAL 2016)[22][23]
Population

Showing new function for historic populations

[edit]

Connected to the Ulladulla (Q649969) Wikidata item for testing purposes.

UCL SAL
2006 10,298[28] 6,242[27]
2011 12,137[26] 6,070[25]
2016 13,054[30] 6,615[29]
2021 14,396[7] 7,262[8]

Showing new function for historic populations, with |geog=ucl

[edit]

Connected to the Ulladulla (Q649969) Wikidata item for testing purposes.

UCL
2006 10,298[28]
2011 12,137[26]
2016 13,054[30]
2021 14,396[7]

Other Tests

[edit]

logo caption

[edit]
Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Yea
Victoria
Yea is located in Victoria
Yea
Yea
Coordinates37°12′45″S 145°25′26″E / 37.21250°S 145.42389°E / -37.21250; 145.42389
Logo of Town of Yea (except it's not)
Yea
Victoria
Yea is located in Victoria
Yea
Yea
Coordinates37°12′45″S 145°25′26″E / 37.21250°S 145.42389°E / -37.21250; 145.42389
Caption for logo.

background of sub-table headings

[edit]
Side by side comparison
{{Infobox Australian place}}{{Sandbox/Innesw/Infobox Australian place-upgrade}}
Yea
Victoria
Yea is located in Victoria
Yea
Yea
Coordinates37°12′45″S 145°25′26″E / 37.21250°S 145.42389°E / -37.21250; 145.42389
Mean max temp[31] Mean min temp[31] Annual rainfall[32]
20.6 °C
69 °F
6.6 °C
44 °F
638.9 mm
25.2 in
Localities around Yea:
Ghin Ghin Killingworth Molesworth
Homewood Yea Limestone
Flowerdale Glenburn Murrindindi
Yea
Victoria
Yea is located in Victoria
Yea
Yea
Coordinates37°12′45″S 145°25′26″E / 37.21250°S 145.42389°E / -37.21250; 145.42389
Mean max temp[31]Mean min temp[31]Annual rainfall[32]
20.6 °C
69 °F
6.6 °C
44 °F
638.9 mm
25.2 in
Localities around Yea
Ghin GhinKillingworthMolesworth
HomewoodYeaLimestone
FlowerdaleGlenburnMurrindindi

References

[edit]
  1. ^ a b c Australian Bureau of Statistics (28 June 2022). "Yea (urban centre and locality)". 2021 Census QuickStats. Edit this at Wikidata
  2. ^ a b Australian Bureau of Statistics (28 June 2022). "Yea (suburb and locality)". 2021 Census QuickStats. Retrieved 28 June 2022. Edit this at Wikidata
  3. ^ Australian Bureau of Statistics (28 June 2022). "Yea (Suburbs and Localities)". 2021 Census QuickStats. Retrieved 2023-04-11.
  4. ^ a b Australian Bureau of Statistics (27 June 2017). "Yea (State Suburbs)". 2016 Census QuickStats. Retrieved 2023-04-11.
  5. ^ Australian Bureau of Statistics (28 June 2022). "Yea (urban centre and locality)". Australian Census 2021. Edit this at Wikidata
  6. ^ Australian Bureau of Statistics (28 June 2022). "Ulladulla (urban centre and locality)". Australian Census 2021. Edit this at Wikidata
  7. ^ a b c d Australian Bureau of Statistics (28 June 2022). "Ulladulla (urban centre and locality)". 2021 Census QuickStats. Edit this at Wikidata
  8. ^ a b Australian Bureau of Statistics (28 June 2022). "Ulladulla (suburb and locality)". 2021 Census QuickStats. Retrieved 28 June 2022. Edit this at Wikidata
  9. ^ Australian Bureau of Statistics (28 June 2022). "Ulladulla (urban centre and locality)". Australian Census 2021. Edit this at Wikidata
  10. ^ Australian Bureau of Statistics (28 June 2022). "Fremantle (Local Government Area)". Australian Census 2021 QuickStats. Retrieved 28 June 2022. Edit this at Wikidata
  11. ^ Australian Bureau of Statistics (28 June 2022). "Fremantle (Local Government Area)". 2021 Census QuickStats. Retrieved 28 June 2022. Edit this at Wikidata
  12. ^ Australian Bureau of Statistics (28 June 2022). "Cosmo Newberry (Indigenous Location)". Australian Census 2021 QuickStats. Retrieved 28 June 2022. Edit this at Wikidata
  13. ^ Australian Bureau of Statistics (28 June 2022). "Cosmo Newbery (suburb and locality)". Australian Census 2021 QuickStats. Retrieved 28 June 2022. Edit this at Wikidata
  14. ^ Australian Bureau of Statistics (28 June 2022). "Cosmo Newberry (Indigenous Location)". 2021 Census QuickStats. Retrieved 28 June 2022. Edit this at Wikidata
  15. ^ Australian Bureau of Statistics (28 June 2022). "Cosmo Newbery (suburb and locality)". 2021 Census QuickStats. Retrieved 28 June 2022. Edit this at Wikidata
  16. ^ Australian Bureau of Statistics (28 June 2022). "Darwin (urban centre and locality)". Australian Census 2021. {{cite web}}: |access-date= requires |url= (help); Missing or empty |url= (help) Edit this at Wikidata
  17. ^ Australian Bureau of Statistics (28 June 2022). "Darwin (urban centre and locality)". Australian Census 2021. Edit this at Wikidata
  18. ^ Australian Bureau of Statistics (28 June 2022). "Darwin (urban centre and locality)". 2021 Census QuickStats. Edit this at Wikidata
  19. ^ Australian Bureau of Statistics (27 June 2017). "Colongra (suburb and locality)". Australian Census 2016. Edit this at Wikidata
  20. ^ Australian Bureau of Statistics (27 June 2017). "Colongra (suburb and locality)". Australian Census 2016 QuickStats. Retrieved 28 June 2022. Edit this at Wikidata
  21. ^ Australian Bureau of Statistics (28 June 2022). "Colongra (suburb and locality)". 2021 Census QuickStats. Retrieved 28 June 2022. Edit this at Wikidata
  22. ^ Australian Bureau of Statistics (27 June 2017). "Banksiadale (suburb and locality)". Australian Census 2016. Edit this at Wikidata
  23. ^ Australian Bureau of Statistics (27 June 2017). "Banksiadale (suburb and locality)". Australian Census 2016 QuickStats. Retrieved 28 June 2022. Edit this at Wikidata
  24. ^ Australian Bureau of Statistics (28 June 2022). "Banksiadale (suburb and locality)". 2021 Census QuickStats. Retrieved 28 June 2022. Edit this at Wikidata
  25. ^ Australian Bureau of Statistics (31 October 2012). "Ulladulla (suburb and locality)". 2011 Census QuickStats. Edit this at Wikidata
  26. ^ a b Australian Bureau of Statistics (31 October 2012). "Ulladulla (urban centre and locality)". 2011 Census QuickStats. Edit this at Wikidata
  27. ^ Australian Bureau of Statistics (25 October 2007). "Ulladulla (suburb and locality)". 2006 Census QuickStats. Edit this at Wikidata
  28. ^ a b Australian Bureau of Statistics (25 October 2007). "Ulladulla (urban centre and locality)". 2006 Census QuickStats. Edit this at Wikidata
  29. ^ Australian Bureau of Statistics (27 June 2017). "Ulladulla (suburb and locality)". 2016 Census QuickStats. Edit this at Wikidata
  30. ^ a b Australian Bureau of Statistics (27 June 2017). "Ulladulla (urban centre and locality)". 2016 Census QuickStats. Edit this at Wikidata
  31. ^ a b "Alexandra Monthly Temperatures". Commonwealth of Australia, Bureau of Meteorology. Retrieved 2012-08-10.
  32. ^ "Yea Monthly Rainfall". Commonwealth of Australia, Bureau of Meteorology. Retrieved 2012-08-10.