Templat:Infobox burung
Pengukuran |
---|
Infobox dapat digunakan untuk Pengukuran burung. An infobox is placed below the taxobox. Here is a sample:
Pengukuran | ||
---|---|---|
Northern population[1] | ||
Nominate | ||
|
{{Infobox bird| |pop1=Populasi utara |data1={{Infobox bird/populasi |unit=mm |lengthm=100-200 |lengthf=110-200 |culmen=100 |wing=100-200 |tail=100-200 |tarsus=100-200 }} |pop2=Nominate |data2={{Infobox bird/populasi |unit=mm |lengthm=100-200 |lengthf=120-200 |culmenm=130-200 |culmenf=100-200 |wingm=140-200 |wingf=100-200 |tailm=150-200 |tailf=100-200 |tarsusm=150-200 |tarsusf=100-200 }} }}
- References
- ^ Birds of ...
Parameter
[sunting sumber]Infobox ini mendukung hingga 4 populasi, each having its own pop and data parameter. The data parameter should be filled in with {{Infobox bird/populasi}} and its respective data.
Each {{Infobox bird/populasi}} should have the |unit=
parameter filled in. Examples:
|unit=in
(displays inches and millimetres)|unit=mm
(displays millimetres and inches)|unit=cm
(displays centimetres and inches)
The {{Infobox bird/populasi}} has several optional parameters, including all of the following:
|length=
|culmen=
|head=
(bill-tip to back of skull)|wing=
|wingspan=
|tail=
|tarsus=
|foot=
(tarsus + longest toe used mainly for cranes and bustards}|weight=
(requires|massunit=
to be used, which accepts "lb", "kg", "g", or "oz")
All of these parameters are designed to accept either a number or two numbers with a hyphen in the middle.
Examples:
|length=30
|length=100-200
|weight=40
|massunit=oz
If a measurement is gender-specific, you can specify the gender by adding "m" or "f" to the parameter name, as in |lengthm=
.
Known issues
[sunting sumber]The infobox should NEVER be nested within a transcluded template. The expansion depth is large, due to the nesting of {{convert}} and some string manipulators. If such a nested transclusion must be made, be sure not to include hyphenated ranges, as they will assuredly break.
You can make this template better!
[sunting sumber]That's right-- if you feel like improving the infobox, one place to start is by reducing the nested function calls in {{convert}}, or by creating a lightweight version for use with the infobox.