Template talk:Attendee

From Electromagnetic Field 2022
Revision as of 12:58, 1 June 2022 by Unlobito (talk | contribs) (→‎Multiple Village values: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Multiple Village values

Heya, it seems the Village parameter isn't entirely wired up for admitting multiple values.

The formedit presents a multiple select box and even labels the field as "Village(s)", but the comma separated list ends up being treated as a single village (User:Unlobito shows an example).

I think replacing the infobox's current Village contents with {{#arraymaptemplate:{{{Village}}}|AVillage|,|,}} and creating a template at Template:AVillage containing <includeonly>[[Inhabitant of::{{{1}}}|]] [[{{{1}}}|{{#explode:{{{1}}}|:|1}}]]</includeonly><noinclude></noinclude> would fix listing multiple villages this without breaking Template:InhabitantsNew & company.

I'm a bit rough on MediaWiki editing and don't want to cause unexpected behaviour, so haven't applied any changes :) Harley Watson (talk) 12:58, 1 June 2022 (UTC)