Help:Badges

From Wikidata
Jump to: navigation, search

Other languages:
العربية • ‎català • ‎čeština • ‎Deutsch • ‎English • ‎British English • ‎Esperanto • ‎español • ‎français • ‎Հայերեն • ‎Bahasa Indonesia • ‎日本語 • ‎Nederlands • ‎polski • ‎русский • ‎тоҷикӣ • ‎українська • ‎اردو • ‎中文

Badges are a kind of marker attached to a sitelink, which could identify, for example, that the article is a "featured article" on a specific site. They do not describe the external entity but the page on the specific site.

See Wikimedia badge (Q17442550).

How to override badge icons?[edit]

Individual client wikis can override the badge icons that are used to mark interwiki 'language' links in the sidebar by adding some site css.

In MediaWiki:Vector.css:

li.badge-featuredarticle,
li.badge-featuredlist,
li.badge-featuredportal {
  list-style-image: url("//upload.wikimedia.org/wikipedia/commons/4/4c/Icone_AdQ.png");
}

li.badge-goodarticle {
  list-style-image: url("//upload.wikimedia.org/wikipedia/commons/8/86/Icone_BA.png");
}

In MediaWiki:Monobook.css:

.portlet li.badge-featuredarticle, .portlet li.badge-featuredlist {
  list-style-image: url('//upload.wikimedia.org/wikipedia/commons/4/4c/Icone_AdQ.png');
}

.portlet li.badge-goodarticle {
  list-style-image: url('//upload.wikimedia.org/wikipedia/commons/8/86/Icone_BA.png');
}

Other skins:

There also is default css for the Modern and CologneBlue skins, which wikis can override (e.g. in Modern.css):

Practice[edit]

  • Wikidata administrators will not add badges for stubs.

See also[edit]

For related Help pages, see:

For additional information and guidance, see:

  • Project chat, for discussing all and any aspects of Wikidata
  • Wikidata:Glossary, the glossary of terms used in this and other Help pages
  • Help:FAQ, frequently asked questions asked and answered by the Wikidata community
  • Help:Contents, the Help portal featuring all the documentation available for Wikidata