ข้ามไปเนื้อหา

แม่แบบ:MWband

จากวิกิพีเดีย สารานุกรมเสรี
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]
name
(or title)
name
ช่วงความถี่
(or freq_title)
freq
ช่วงความยาวคลื่น
(or wl_title)
wave
ย่านความถี่ที่เกี่ยวข้อง
(or rb_title)
bands
(name2)
ช่วงความถี่
(or freq2_title)
(freq2)
ช่วงความยาวคลื่น
(or wl2_title)
(wave2)
ย่านความถี่ที่เกี่ยวข้อง
(or rb2_title)
(bands2)

การใช้งาน[แก้]

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
ช่วงความถี่
75 to 110 GHz
ย่านความถี่ที่เกี่ยวข้อง

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
ช่วงความถี่
40 – 60 GHz
ย่านความถี่ที่เกี่ยวข้อง
IEEE frequency band
ช่วงความถี่
1 – 2 GHz
ย่านความถี่ที่เกี่ยวข้อง

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)}}
}}