Module:Sandbox/Innesw/Infobox Australian place/doc
![]() | This is a documentation subpage for Module:Sandbox/Innesw/Infobox Australian place. It may contain usage information, categories and other content that is not part of the original module page. |
This module is the existing Infobox Australian place template (as of March 2024) transferred from normal template syntax to a Lua module.
There are a few minor changes from the behaviour of the original template:
- shows different error texts for unrecognised vs empty
|type=
and|state=
parameters - removes the space between density and density_footnotes
- if calculating density, and
|pop=
is non-numeric, does not output any density (instead of showing an error) - the colon at the end of the title of the places-near sub-table is removed
- except in article namespace, all categories - including tracking categories - are suppressed
- removes any response to
|short description=
Usage
To test this module, call {{Sandbox/Innesw/Infobox Australian place}}
with any of the same parameters as the existing template.
Testcases
There is a testcases page, comparing this module with the existing template.