Wikipedia:WikiProject Microformats/classes

From Wikipedia, the free encyclopedia

Classes used in microformats[edit]

Because these classes may be used in multiple templates, it is recommended that they not be styled.

Adr[edit]

Adr is used in Templates generating hCards

  • adr
    • county-name
    • extended-address
    • locality
    • postal-code
    • post-office-box
    • region
    • street-address
    • type

Geo[edit]

Geo is used in Templates generating Geo (see also {{UF-hcard-geo}})

  • geo
  • latitude
  • longitude

Usage[edit]

To always display coordinates as DMS values, add this to your common.css:

.geo-default { display: inline }
.geo-nondefault { display: inline }
.geo-dec { display: none }
.geo-dms { display: inline }

To always display coordinates as decimal values, add this to your common.css:

.geo-default { display: inline }
.geo-nondefault { display: inline }
.geo-dec { display: inline }
.geo-dms { display: none }

To display coordinates in both formats, add this to your common.css:

.geo-default { display: inline }
.geo-nondefault { display: inline }
.geo-dec { display: inline }
.geo-dms { display: inline }
.geo-multi-punct { display: inline }

If CSS is disabled, or you have an old copy of MediaWiki:Common.css cached, you will see both formats. (You can either clear your cache or manually refresh this URL: [1].)

To disable display of the blue globe adjacent to coordinates, add this to your common.js:

var wma_settings = {enabled:false}

Note that this will disable WikiMiniAtlas.

See also: Wikipedia:Manual of Style/Dates and numbers § Geographical coordinates.

hCard[edit]

hCard is used in Templates generating hCards (see also {{UF-hcard-geo}}, {{UF-hcard-org}}, {{UF-hcard-person}}, {{UF-hcard-place}})

  • vcard
    • adr
      • (child-classes as above)
    • agent
    • bday (see {{Birth date}}/{{Birth date and age}})
    • category
    • dday (not yet used, but pending)
    • email
      • type
      • value
    • fn
    • geo
      • (child-classes as above)
    • key
    • label
    • logo
    • mailer
    • n
      • additional-name
      • family-name
      • given-name
      • honorific-prefix
      • honorific-suffix
    • nickname
    • note
    • org
      • organization-name
      • organization-unit
    • photo
    • role
    • sort-string
    • sound
    • tel
      • (child-classes per email)
    • type
    • tz
    • uid
    • url
    • value

Introduced in vCard 4.0

  • birthplace
  • deathdate
  • deathplace

hCalendar[edit]

hCalendar is used in Templates generating hCalendars (see {{UF-hcal}})

  • vevent
    • attendee
    • category
    • class
    • contact
    • description
    • dtend (see {{End date}})
    • dtstart (see {{Start date}}
    • duration
    • geo
      • (child-classes as above)
    • last-modified
    • location
    • organiser
    • rdate
    • rrule
    • status
    • summary
    • uid
    • url

hAtom[edit]

hAtom is not yet implemented on Wikipedia. As it may be, it is recommended that these classes be reserved.

  • htaom
    • hfeed
    • hentry
    • author
    • entry-title
    • entry-content
    • entry-summary
    • published
    • updated

hAudio[edit]

For audio recordings.

  • haudio
    • fn
    • description
    • category
    • contributor
    • duration
    • h
    • item
    • min
    • photo
    • position
    • price
    • published
    • s

hMedia[edit]

For (video) media.

  • hmedia
    • fn
    • contributor
    • photo
    • player

hResume[edit]

hResume is not yet implemented on Wikipedia. As it may be, it is recommended that these classes be reserved.

  • hresume
    • affiliation
    • contact
    • education
    • experience
    • publications
    • summary

hReview[edit]

hReview is not yet implemented on Wikipedia. As it may be, it is recommended that these classes be reserved.

  • hreview
    • description
    • dtreviewed
    • item
    • rating
    • reviewer
    • summary
    • type
    • version

hProduct[edit]

See hProduct.
  • hProduct
    • brand
    • category
    • optional
    • price
    • description
    • fn
    • photo
    • url
    • review
    • listing
    • identifier
      • type
      • value

Species[edit]

Also known (provisionally) as hBiota and hTaxon.

Used in {{Taxobox}}, this experimental format may still change.

The followings is a full list of potential classes:

  • biota (may change to hbiota or htaxon)
    • aberration
    • aggregate
    • authority
    • binomial
    • binominal
    • biovar
    • branch
    • breed
    • class
    • claudius
    • cohort
    • complex
    • convariety
    • cultivar
    • cultivar-group
    • division
    • domain
    • empire
    • falanx
    • family
    • family-group
    • form
    • genus
    • genus-group
    • gigaorder
    • grade
    • grandorder
    • group
    • group-of-breeds
    • hybrid
    • hyperorder
    • infraclass
    • infradomain
    • infrafamily
    • infraform
    • infragenus
    • infrakingdom
    • infralegion
    • infraorder
    • infraphylum
    • infrasection
    • infraseries
    • infraspecies
    • infratribe
    • infravariety
    • interkingdom
    • kingdom
    • klepton
    • legion
    • lusus
    • magnorder
    • megaorder
    • microphylum
    • microspecies
    • midkingdom
    • midphylum
    • mirorder
    • nanophylum
    • nation
    • order
    • parvclass
    • parvorder
    • pathovar
    • phylum
    • population
    • section
    • section-of-breeds
    • series
    • serogroup
    • serovar
    • species (a.k.a. specific)
    • species-group
    • species-subgroup
    • strain
    • subclass
    • subcohort
    • subdivision
    • subdomain
    • subfamily
    • subfamily-group
    • subform
    • subgenus
    • subgroup
    • subkingdom
    • sublegion
    • suborder
    • subphylum
    • subsection
    • subseries
    • subspecies
    • subtribe
    • subvariety
    • superclass
    • supercohort
    • superdivision
    • superdomain
    • superfamily
    • superform
    • supergenus
    • superkingdom
    • superlegion
    • superorder
    • superphylum
    • supersection
    • superseries
    • superspecies
    • supertribe
    • supervariety
    • suprakingdom
    • supraphylum
    • synklepton
    • tribe
    • trinomial
    • trinominal
    • variety
    • vernacular

hBiota may eventually also include the (currently experimental) classes:

    • botany
    • cname
    • common-name
    • zoology

Any of the above which are common English words may also eventually be prefixed with "taxo" in one of two ways, to avoid collision with other uses. For example:

    • taxoclass
    • taxo-class

Taxobox[edit]

Currently (as of 27 June 2010) {{Taxobox}} uses:

  • biota
    • superdomain
    • domain
    • kingdom
    • subkingdom
    • superphylum
    • phylum
    • subphylum
    • taxoclass
    • subclass
    • infraclass
    • superorder
    • order
    • suborder
    • infraorder
    • parvorder
    • superfamily
    • family
    • subfamily
    • genus
    • variety
    • binomial
    • superdivision
    • division
    • subdivision
    • infraphylum
    • microphylum
    • nanophylum
    • superclass
    • magnorder
    • section
    • subsection
    • supertribe
    • tribe
    • subtribe
    • subgenus
    • section
    • subsection
    • trinomial

See also[edit]