Initially, Integraality expected groups and higher-groups to be Q-items, with one exception for country code to be piped into {{Flag}} (controlled by higher-grouping-type
In R2566:8e76a8a85b, I implemented another special type “string”.
This is the wrong approach: the data-type should be inferred from Wikidata itself, the way Listeria does it.
If the datatype is:
- Q-item → pipe into {{Q}}
- string or number → display as is
- image → display as thumb
(That’s all I can think of right now)