Property talk:P8972
Documentation
logo or icon that represents the item and can be rendered at sizes as small as 16×16 pixels
Represents | favicon (Q2130) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Data type | Commons media file | ||||||||||||
Allowed values | (?i).+\.(svg|png|jpg|jpeg|gif|webp) | ||||||||||||
Example | Quora (Q51711) → Quora Q icon 2015.svg FiveThirtyEight (Q600669) → FiveThirtyEight fox head logo.svg human (Q5) → Font Awesome 5 solid user.svg | ||||||||||||
Formatter URL | https://commons.wikimedia.org/wiki/File:$1 | ||||||||||||
Embed URL | https://commons.wikimedia.org/wiki/File:$1 | ||||||||||||
See also | logo image (P154), icon (P2910) | ||||||||||||
Lists |
| ||||||||||||
Proposal discussion | Proposal discussion | ||||||||||||
Current uses |
|
List of violations of this constraint: Database reports/Constraint violations/P8972#Entity types
List of violations of this constraint: Database reports/Constraint violations/P8972#Scope, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P8972#Commons link
(?i).+\.(svg|png|jpg|jpeg|gif|webp)
”: value must be formatted using this pattern (PCRE syntax). (Help)List of violations of this constraint: Database reports/Constraint violations/P8972#Format, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P8972#single best value, SPARQL
stylesheet for actual small icons edit
It bothered me to not be able to see at a glance how the icons/favicons/logos look at the small sizes they are intended for, so I created a rather simple stylesheet (find it at User:CamelCaseNick/P8972.css). If anyone else had would like the P8972 to be displayed at a height of 16 px, the stylesheet can be imported:
@import "https://www.wikidata.org/w/index.php?title=User:CamelCaseNick/P8972.css&action=raw&ctype=text/css";
--CamelCaseNick (talk) 00:52, 21 January 2021 (UTC)
- @CamelCaseNick: Good idea. Maybe we can include that in the general stylesheet for Wikidata. People might get confused to see the logo and this properties value in large format on the same page, especially when they are different.
- @IagoQnsi, Trade, ChristianKl, Tinker Bell, ArthurPSmith: participants from the proposal discussion. --- Jura 16:16, 1 February 2021 (UTC)
- I will not oppose to that. --Tinker Bell ★ ♥ 18:58, 1 February 2021 (UTC)
- I would support adding it into the general spreadsheet but having looked enough into the technicalities to know which way would be best to do that.ChristianKl ❪✉❫ 13:54, 2 February 2021 (UTC)
- Ok. I made an edit request at MediaWiki_talk:Vector.css. --- Jura 17:28, 4 February 2021 (UTC)
16x16 edit
This property exists, so that a data user who wants an image and has 16x16 space for that image gets an image that produces a valid picture. Adding examples that are not able to be reasonably displayed at 16x16 because they have a lot of details violates the spirit of the property proposal and thus I removed those examples. I also edited the German description to be more clear about this. ChristianKl ❪✉❫ 11:29, 7 October 2022 (UTC)