Template:Sandbox/Innesw/Infobox Australian place-upgrade/testcases
Test cases for Template:Sandbox/Innesw/Infobox Australian place-upgrade (which calls Module:Sandbox/Innesw/Infobox Australian place-upgrade) for comparison with the original luafication of the template at Module:Sandbox/Innesw/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
- All of the changes are labelled
-- [upgrade]
in the code for the upgrade - There are currently no tests of the short description or categories, as they are only processed in article namespace
|type=
and |state=
errors
edit
values not defined
edit{{Sandbox/Innesw/Infobox Australian place}} | {{Sandbox/Innesw/Infobox Australian place-upgrade}} | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
invalid values
edit{{Sandbox/Innesw/Infobox Australian place}} | {{Sandbox/Innesw/Infobox Australian place-upgrade}} | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Map tests
editForce LGA map: |use_lga_map=yes
edit
Not Force LGA map: |use_lga_map=no
edit
{{Sandbox/Innesw/Infobox Australian place}} | {{Sandbox/Innesw/Infobox Australian place-upgrade}} | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Force national map: |force_national_map=yes
edit
{{Sandbox/Innesw/Infobox Australian place}} | {{Sandbox/Innesw/Infobox Australian place-upgrade}} | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Not Force national map: |force_national_map=no
edit
{{Sandbox/Innesw/Infobox Australian place}} | {{Sandbox/Innesw/Infobox Australian place-upgrade}} | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Alternative location map: |alternative_location_map=<non blank>
edit
{{Sandbox/Innesw/Infobox Australian place}} | {{Sandbox/Innesw/Infobox Australian place-upgrade}} | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Force relief map: |relief=yes
edit
{{Sandbox/Innesw/Infobox Australian place}} | {{Sandbox/Innesw/Infobox Australian place-upgrade}} | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Not Force relief map: |relief=no
edit
{{Sandbox/Innesw/Infobox Australian place}} | {{Sandbox/Innesw/Infobox Australian place-upgrade}} | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
local map caption
edit{{Sandbox/Innesw/Infobox Australian place}} | {{Sandbox/Innesw/Infobox Australian place-upgrade}} | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
all possible images and maps
editFor testing, |image2=
is a specific location map, as used for LGAs.
{{Sandbox/Innesw/Infobox Australian place}} | {{Sandbox/Innesw/Infobox Australian place-upgrade}} | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Population Tests
edit|pop=
and |pop2=
both manual
edit
{{Sandbox/Innesw/Infobox Australian place}} | {{Sandbox/Innesw/Infobox Australian place-upgrade}} | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|pop=
blank (so from wikidata) and |pop2=
manual
edit
Also poprank shown after pop from wikidata
{{Sandbox/Innesw/Infobox Australian place}} | {{Sandbox/Innesw/Infobox Australian place-upgrade}} | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Other Tests
editlogo caption
edit{{Sandbox/Innesw/Infobox Australian place}} | {{Sandbox/Innesw/Infobox Australian place-upgrade}} | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
background of sub-table headings
edit{{Sandbox/Innesw/Infobox Australian place}} | {{Sandbox/Innesw/Infobox Australian place-upgrade}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Notes and References
|
---|
== Notes ==
References
|