diff --git a/assets/svg/wikidata.svg b/assets/svg/wikidata.svg new file mode 100644 index 0000000..cb94e3c --- /dev/null +++ b/assets/svg/wikidata.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/tagRenderings/icons.json b/assets/tagRenderings/icons.json index ac56aea..8eb3480 100644 --- a/assets/tagRenderings/icons.json +++ b/assets/tagRenderings/icons.json @@ -1,7 +1,15 @@ { "wikipedialink": { "render": "WP", - "condition": "wikipedia~*" + "condition": "wikipedia~*", + "mappings": [ + { + "if": { + "and": ["wikipedia=","wikidata~*"], + "then": "WD" + } + } + ] }, "phonelink": { "render": "",