Difference between revisions of "Template:Frequency"
Jump to navigation
Jump to search
imported>Pigsonthewing (better) |
imported>Rua m |
||
| Line 1: | Line 1: | ||
| − | <span class="hMeasure frequency"><span class="num">{{{1}}}</span> <span class="unit">{{{2}}}</span></span> | + | <span class="hMeasure frequency"><span class="num">{{{1}}}</span> <span class="unit">{{{2}}}</span></span><noinclude>{{documentation}}</noinclude> |
| − | <noinclude>{{documentation}}</noinclude> | ||
Revision as of 23:23, 24 April 2013
{{{1}}} {{{2}}}
Template for radio/ TV frequencies.
Contents
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
| The above documentation is transcluded from Template:Frequency/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |