"ഫലകം:Infobox bird/doc" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

വിക്കിപീഡിയ, ഒരു സ്വതന്ത്ര വിജ്ഞാനകോശം.
Content deleted Content added
imported>Renamed user ea6416fc
tidying up the example
fx
വരി 1: വരി 1:
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->

The infobox can be used to display [[Bird measurement|avian measurements]]. An infobox is placed below the taxobox. Here is a sample:
The infobox can be used to display [[Bird measurement|avian measurements]]. An infobox is placed below the taxobox. Here is a sample:


==Usage==
{{Infobox bird
{{Infobox bird
| collapsible = yes
| collapsible = yes
വരി 110: വരി 114:
That's right-- if you feel like improving the infobox, one place to start is by reducing the nested function calls in {{tl|convert}}, or by creating a lightweight version for use with the infobox.
That's right-- if you feel like improving the infobox, one place to start is by reducing the nested function calls in {{tl|convert}}, or by creating a lightweight version for use with the infobox.


<includeonly>
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- place category and language links here -->
[[Category:Animal infobox templates]]
[[Category:Animal infobox templates|Bird]]
[[Category:taxobox templates]]
[[Category:Taxobox templates]]
</includeonly>
}}</includeonly>

18:11, 1 ജൂൺ 2015-നു നിലവിലുണ്ടായിരുന്ന രൂപം

The infobox can be used to display avian measurements. An infobox is placed below the taxobox. Here is a sample:

Usage

{{Infobox bird
| collapsible = yes
| state = collapsed
| pop1  = Northern population<ref>Birds of ...</ref>
| data1 = {{Infobox bird/population
 | unit     = mm
 | lengthm  = 100-200
 | lengthf  = 110-200
 | culmen   = 100
 | wing     = 100-200
 | tail     = 100-200
 | tarsus   = 100-200
 | wingspan = 1000-1200
 }}
| pop2  = Nominate
| data2 = {{Infobox bird/population
 | unit     = mm
 | massunit = g
 | 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
 | weightm  = 10-20
 | weightf  = 15-25
 }}
}}

Parameters

General settings

collapsible
Set =yes to make the box collapsible.
state
Determines the initial collapsed state of the infobox. Set =collapsed to put the box in collapsed state initially. Set =expanded to put the box in expanded state initially. Set =autocollapse to have the box's initial collapsed state be determined automatically based on the number of other templates in the article that also have the "collapsible" attribute. (Has no effect if collapsible is not used)

Bird specific

The infobox supports up to 4 populations or subspecies, each having its own pop and data parameter. The data parameter should be filled in with {{Infobox bird/population}} and its respective data.

Each {{Infobox bird/population}} 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/population}} 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

Supports only four sections. References cannot be added to specific measurements. 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!

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.


"https://ml.wikipedia.org/w/index.php?title=ഫലകം:Infobox_bird/doc&oldid=2276990" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്