Difference between revisions of "Template:Frequency/doc"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
m
imported>Pigsonthewing
Line 8: Line 8:
 
Use:
 
Use:
  
<nowiki>{{Frequency | [value] | [type] }}</nowiki>
+
<nowiki>{{Frequency  
 +
| [value]  
 +
| [type]  
 +
}}</nowiki>
  
 
For example:
 
For example:

Revision as of 15:45, 24 July 2010

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

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