Wikipedia:WikiProject Microformats/classes

Classes used in microformats

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

Adr

Adr is used in Templates generating hCards

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

Geo

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

  • geo
  • latitude
  • longitude

Usage

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

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

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

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

For audio recordings.

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

hMedia

For (video) media.

  • hmedia
    • fn
    • contributor
    • photo
    • player

hResume

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

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

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

Species

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

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

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.