Difference between revisions of "Template:MWband/doc"
Jump to navigation
Jump to search
imported>Sardanaphalus m (→With name2 parameter: ublist) |
imported>Sardanaphalus (example template positioning, formatting updates) |
||
| Line 13: | Line 13: | ||
===With parameters=== | ===With parameters=== | ||
| − | |||
{{MWband | {{MWband | ||
| − | | name | + | | name = Frequency band |
| − | | freq | + | | freq = {{nowrap|75 to 110 [[Hertz|GHz]]}} |
| bands = {{hlist |[[V band]] |[[M band]]}} | | bands = {{hlist |[[V band]] |[[M band]]}} | ||
}} | }} | ||
| + | For example: | ||
<pre> | <pre> | ||
{{MWband | {{MWband | ||
| name = Frequency band | | name = Frequency band | ||
| − | | freq = 75 to 110 | + | | freq = {{nowrap|75 to 110 [[Hertz|GHz]]}} |
| bands = {{hlist |[[V band]] |[[M band]]}} | | bands = {{hlist |[[V band]] |[[M band]]}} | ||
}} | }} | ||
| Line 32: | Line 32: | ||
===With ''name2'' parameter=== | ===With ''name2'' parameter=== | ||
| − | |||
{{MWband | {{MWband | ||
| title = Frequency band | | title = Frequency band | ||
| name = NATO frequency band | | name = NATO frequency band | ||
| − | | freq = | + | | freq = {{nowrap|40 – 60 [[Hertz|GHz]]}} |
| bands = {{hlist |[[V band]] (IEEE) |[[Extremely high frequency|EHF]] (ITU)}} | | bands = {{hlist |[[V band]] (IEEE) |[[Extremely high frequency|EHF]] (ITU)}} | ||
| name2 = IEEE frequency band | | name2 = IEEE frequency band | ||
| − | | freq2 = | + | | freq2 = 1 – 2 GHz |
| bands2 = {{ublist |[[D band]] (NATO) |[[Super high frequency|SHF]] (ITU)}} | | bands2 = {{ublist |[[D band]] (NATO) |[[Super high frequency|SHF]] (ITU)}} | ||
}} | }} | ||
| + | If the {{mono|name2}} parameter is passed, the second set of parameters is used. Also, the infobox title is now specified by {{mono|title}} rather than by {{mono|name}}. For example: | ||
<pre> | <pre> | ||
{{MWband | {{MWband | ||
| title = Frequency band | | title = Frequency band | ||
| name = NATO frequency band | | name = NATO frequency band | ||
| − | | freq = | + | | freq = {{nowrap|40 – 60 [[Hertz|GHz]]}} |
| − | | bands = {{hlist |[[V band]]& | + | | bands = {{hlist |[[V band]] (IEEE) |[[Extremely high frequency|EHF]] (ITU)}} |
| name2 = IEEE frequency band | | name2 = IEEE frequency band | ||
| − | | freq2 = | + | | freq2 = 1 – 2 GHz |
| bands2 = {{ublist |[[D band]]&nbsp;(NATO) |[[Super high frequency|SHF]]&nbsp;(ITU)}} | | bands2 = {{ublist |[[D band]]&nbsp;(NATO) |[[Super high frequency|SHF]]&nbsp;(ITU)}} | ||
}} | }} | ||
Revision as of 02:20, 24 December 2014
| This is a documentation subpage for Template:MWband. It contains usage information, categories and other content that is not part of the original template page. |
- 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 range | 75 to 110 GHz |
|---|---|
Related bands |
Template:Radio bands sidebar For example:
{{MWband
| name = Frequency band
| freq = {{nowrap|75 to 110 [[Hertz|GHz]]}}
| bands = {{hlist |[[V band]] |[[M band]]}}
}}
If a list (e.g. of bands) consists of more than a couple of items, {{ublist}} is likely to produce a more reader-friendly result than {{hlist}}.
With name2 parameter
| NATO frequency band | |
|---|---|
Frequency range | 40 – 60 GHz |
Related bands | |
| IEEE frequency band | |
Frequency range | 1 – 2 GHz |
Related bands | Template:Ublist |
Template:Radio bands sidebar If the name2 parameter is passed, the second set of parameters is used. Also, the infobox title is now specified by title rather than by name. For example:
{{MWband
| title = Frequency band
| name = NATO frequency band
| freq = {{nowrap|40 – 60 [[Hertz|GHz]]}}
| bands = {{hlist |[[V band]] (IEEE) |[[Extremely high frequency|EHF]] (ITU)}}
| name2 = IEEE frequency band
| freq2 = 1 – 2 GHz
| bands2 = {{ublist |[[D band]] (NATO) |[[Super high frequency|SHF]] (ITU)}}
}}