Module:Sandbox/Innesw/Infobox Australian place-upgrade/doc explained
This module is the existing Infobox Australian place template (as of March 2024) transferred from normal template syntax to a Lua module, and then further modified.
The original transfer from template to module syntax is here.
This upgrade version of the module includes more substantive changes to the behaviour of the template, together with a few additional parameters. It is still in development, and further changes are likely.
General Changes
- both error messages for the non-existence of (or unsupported values for) and are at the top of the infobox
- removes the difference between and other types in the call to {{coords}}
- fixes the response to 'flag' parameters (local_map, force_national_map, use_lga_map, relief, _noautocat) so 'no' = <blank>, any other value = 'yes'
- the following values for now have priority over the deprecated (but still implemented) parameters, and
- - suppresses any location map
- or - force the location map to be a map of Australia
- - force the location map to be the state map
- - force the location map to be the map of the lga (as specified in)
- - assumes the provided value is the name of a specific map to use as the location map
- the local_map (if shown) can have a caption, by setting
- if