Difference between revisions of "Template:Frequency/doc"

From blackwiki
Jump to navigation Jump to search
imported>Gabriel dos Santos
imported>DH85868993
(+cats)
Line 45: Line 45:
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 +
[[Category:Radio templates]]
 +
[[Category:Television templates]]
 
[[ar:قالب:Frequency]]
 
[[ar:قالب:Frequency]]
 
[[pt:Predefinição:Frequência]]
 
[[pt:Predefinição:Frequência]]
 
</includeonly>
 
</includeonly>

Revision as of 10:09, 30 July 2012

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