Difference between revisions of "Template:MWband"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(moved categorization to /doc page)
imported>Sardanaphalus
(includeonly (examples handled by /doc))
Line 1: Line 1:
<table style="background:transparent; float:right;">
+
<includeonly><table style="background:transparent; float:right;">
 
{{#if:{{{freq<includeonly>|</includeonly>}}}
 
{{#if:{{{freq<includeonly>|</includeonly>}}}
 
| <tr><td>
 
| <tr><td>
Line 110: Line 110:
 
|}</td>
 
|}</td>
 
</tr>
 
</tr>
</table><noinclude>
+
</table></includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 21:00, 23 December 2014

}}}

|

{{{title}}}
{{{name}}}
Frequency range{{{freq}}}
Wavelength range{{{wave}}}
Related bands{{{bands}}}
{{{name2}}}
Frequency range{{{freq2}}}
Wavelength range{{{wave2}}}
Related bands{{{bands2}}}

}}

ITU Radio Band Numbers

1 2 3 4 5 6 7 8 9 10 11 12

ITU Radio Band Symbols

ELF SLF ULF VLF LF MF HF VHF UHF SHF EHF THF

NATO Radio bands

A B C D E F G H I J K L M

IEEE Radar bands

HF VHF UHF L S C X Ku K Ka V W mm

Television and radio bands

I II III IV V VI

</includeonly>

Template documentation[view] [edit] [history] [purge]
  1. redirect Template:Parameter names example

Usage

Without parameters

For the sake of backward compatibility, the upper infobox opposite only appears if |freq= is passed. If freq is not passed, only the lower radio-bands sidebar will be shown.

With parameters

Frequency band
Frequency range75 to 110 GHz
Related bands
ITU Radio Band Numbers

1 2 3 4 5 6 7 8 9 10 11 12

ITU Radio Band Symbols

ELF SLF ULF VLF LF MF HF VHF UHF SHF EHF THF

NATO Radio bands

A B C D E F G H I J K L M

IEEE Radar bands

HF VHF UHF L S C X Ku K Ka V W mm

Television and radio bands

I II III IV V VI

For example:

{{MWband
| name = Frequency band
| freq = 75 to 110 [[Hertz|GHz]]
| bands = {{hlist |[[V band]] |[[M band (NATO)|M band]]}}
}}

If a list (e.g. of bands) consists of more than a couple of items,

{{ublist|class=nowrap |...}}

is likely to produce a more reader-friendly result than

{{hlist(|item_style=white-space:nowrap;) |...}}.

Note: As entries for frequency and wavelength ranges include spaces (between numbers, ndashes, units), these fields do not word/linewrap. If, therefore, a newline/carriage-return is required in one of these fields, use e.g. <br/> or format the field with {{br list}} or {{ublist}}.

With name2 parameter

Frequency band
NATO frequency band
Frequency range40 – 60 GHz
Related bandsTemplate:Ublist
IEEE frequency band
Frequency range1 – 2 GHz
Related bandsTemplate:Ublist
ITU Radio Band Numbers

1 2 3 4 5 6 7 8 9 10 11 12

ITU Radio Band Symbols

ELF SLF ULF VLF LF MF HF VHF UHF SHF EHF THF

NATO Radio bands

A B C D E F G H I J K L M

IEEE Radar bands

HF VHF UHF L S C X Ku K Ka V W mm

Television and radio bands

I II III IV V VI

If the name2 parameter is passed, the second set of parameters is also used and the template's overall heading is now specified by title rather than name. For example:

{{MWband
| title = Frequency band
| name = NATO frequency band
| freq = 40 – 60 [[Hertz|GHz]]
| bands = {{ublist|class=nowrap |[[V band]] (IEEE) |[[Extremely high frequency|EHF]] (ITU)}}
| name2 = IEEE frequency band
| freq2 = 1 – 2 GHz
| bands2 = {{ublist|class=nowrap |[[D band (NATO)|D band]] (NATO) |[[Super high frequency|SHF]] (ITU)}}
}}