Difference between revisions of "Template:Frequency/doc"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
(Limitations)
imported>Pigsonthewing
Line 34: Line 34:
  
 
== Microformat ==
 
== Microformat ==
The template uses the draft "[http://microformats.org/wiki/measure hMeasure]" microformat as discussed at [http://pigsonthewing.wordpress.com/2010/07/24/measurement-microformat-for-radio-station-frequencies/].
+
The template uses the draft "[http://microformats.org/wiki/measure hMeasure]" microformat as discussed at [http://pigsonthewing.org.uk/measurement-microformat-for-radio-station-frequencies/].
  
 
this uses the HTML classes:
 
this uses the HTML classes:

Revision as of 23:21, 4 March 2011

Template for radio/ TV frequencies.

Usage

Use:

{{Frequency | [value] | [type] }}

For example:

{{Frequency|102.4|MHz}}

renders as:

102.4 MHz

The units may be linked:

{{Frequency|102.4|[[MHz]]}}

renders as:

102.4 MHz

Limitations

The template is not yet ready for use with frequency ranges such as 92.5-96.1 MHz.

Microformat

The template uses the draft "hMeasure" microformat as discussed at [1].

this uses the HTML classes:

  • hmeasure
    • num (for "number value")
    • unit

See also