TBC scope - we just want to suppress not show.
As a user, I want to have flexibility in properties that I want to either explicitly suppress
Background:
For when we are wanting to suppress databox fields, we could consider doing so in a way consistent with https://en.wikipedia.org/wiki/Template:Infobox_person/Wikidata - the fields are as follows:
- fetchwikidata | Allows a whitelist of fields that may be imported from Wikidata; set to "ALL" for all fields; defaults to none. Note: we are discusssing naming this displayfields instead to make it clearer
- suppressfields | Allows a blacklist of fields that may be displayed in this infobox; overrides whitelist; defaults to none |
Acceptance Criteria:
- user can suppress properties
- user can show properties (which may have otherwise been suppressed)
- add documentation
Check-list
- add param(s) that hide properties
- how to handle the case where they hide all properties
- add documentation
TBC - Notes:
- (note: we need to check how to do this because some properties may not be present, so if it says ‘show’ and the property isn’t present, is this confusing?)
- Be careful of how this interacts with the existing defaults of what to show and hide like the default number of properties to show.
- If we have a property on both hide and show lists, which do we prioritise? (not relevant if we just choose to hide)
- Question: does "show" mean show a field that's already suppressed (rare), or to specify the exact and only fields shown?