Difference between revisions of "Template:Frequency"

From blackwiki
Jump to navigation Jump to search
(Blanked the page)
imported>Tegel
m (Reverted edits by 166.182.83.240 (talk) to last version by CodeCat)
Line 1: Line 1:
 
+
<span class="hMeasure frequency"><span class="num">{{{1}}}</span> <span class="unit">{{{2}}}</span></span><noinclude>{{documentation}}</noinclude>

Revision as of 00:33, 17 January 2017

{{{1}}} {{{2}}}

Template documentation[view] [edit] [history] [purge]

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