Community Wishlist/Wishes/Add custom separator option in -property:
Description
Allow custom separators in {{#property:}} parser funcion (Wikidata/Notes/Inclusion syntax v0.4) to avoid confusion between multiple returned values and a single value that has commas in it.
When requesting a property like P181 from a template, one can get a single value, or multiple comma-separated values. But some values already have a comma in them, so splitting the resulting string by the separator is not as trivial as it should be, and in some cases (like with publication titles that include commas) it might be programatically impossible.
- {{#property:P181|from=Q310945}} → Bahr el Ghazal, Chad ; Australopithecus bahrelghazali 1995 discovery map.png
- {{#property:P181|from=Q1314559}} → Zosterops lugubris, range map.png
Add sep= parameter to {{#property:}}, allowing any string as a separator (one or more than one characters):
{{#property:...|from=...|sep=...}}
Assigned focus area
Unassigned.
Type of wish
System change
Related projects
Wikipedia, Wikidata, Wikimedia Commons, Wikispecies
Affected users
template editors