Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  



























Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Classes used in microformats  



1.1  Adr  





1.2  Geo  



1.2.1  Usage  







1.3  hCard  





1.4  hCalendar  





1.5  hAtom  





1.6  hAudio  





1.7  hMedia  





1.8  hResume  





1.9  hReview  





1.10  hProduct  





1.11  Species  



1.11.1  Taxobox  







1.12  See also  
















Wikipedia:WikiProject Microformats/classes







Add links
 









Project page
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 


















From Wikipedia, the free encyclopedia
 

< Wikipedia:WikiProject Microformats

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

Geo[edit]

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

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}})

Introduced in vCard 4.0

hCalendar[edit]

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

hAtom[edit]

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

hAudio[edit]

For audio recordings.

hMedia[edit]

For (video) media.

hResume[edit]

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

hReview[edit]

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

hProduct[edit]

See hProduct.

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:

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

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:

Taxobox[edit]

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

See also[edit]


Retrieved from "https://en.wikipedia.org/w/index.php?title=Wikipedia:WikiProject_Microformats/classes&oldid=818778641"





This page was last edited on 5 January 2018, at 14:55 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki