Misplaced Pages

Template:Body roundness index: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 03:48, 27 September 2024 editDoc James (talk | contribs)Administrators312,280 editsNo edit summary← Previous edit Revision as of 02:35, 29 September 2024 edit undoDoc James (talk | contribs)Administrators312,280 editsNo edit summaryNext edit →
Line 5: Line 5:
| Units || {{calculator|id=metric|name=units|type=radio|default=1}} Metric {{calculator|id=imperial|name=units|type=radio|default=0}} Imperial<!-- replace with css :has selector once templatestyles supports--> | Units || {{calculator|id=metric|name=units|type=radio|default=1}} Metric {{calculator|id=imperial|name=units|type=radio|default=0}} Imperial<!-- replace with css :has selector once templatestyles supports-->
|- |-
| Waist || {{calculator|id=metric1|type=checkbox|formula=metric|style=display:none|default=1}}<span class="ifmetric">{{calculator|id=waistcm|size=3|formula=waistinch*2.54}} cm</span><span class="ifimperial">{{calculator|id=waistinch|size=3|formula=waistcm/2.54}} in</span> | Waist || {{calculator|id=metric1|type=checkbox|formula=metric|style=display:none|default=1}}<span class="ifmetric">{{calculator|id=waistcm|default=80|size=3|formula=waistinch*2.54}} cm</span><span class="ifimperial">{{calculator|id=waistinch|size=3|formula=waistcm/2.54}} in</span>
|- |-
| Height || {{calculator|id=metric2|type=checkbox|formula=metric|style=display:none|default=1}}<span class="ifmetric">{{calculator|id=heightcm|size=3|formula=(heightfeet*12*2.54+heightinches*2.54)}} cm</span><span class="ifimperial">{{calculator|id=heightfeet|size=2|formula=floor(heightcm/(12*2.54))}} feet {{calculator|id=heightinches|size=3|min=0|max=11|default=0|formula=(heightcm/(2.54)-12*floor(heightcm/(12*2.54)))}} in</span> | Height || {{calculator|id=metric2|type=checkbox|formula=metric|style=display:none|default=1}}<span class="ifmetric">{{calculator|id=heightcm|default=178|size=3|formula=(heightfeet*12*2.54+heightinches*2.54)}} cm</span><span class="ifimperial">{{calculator|id=heightfeet|size=2|formula=floor(heightcm/(12*2.54))}} feet {{calculator|id=heightinches|size=3|min=0|max=11|default=0|formula=(heightcm/(2.54)-12*floor(heightcm/(12*2.54)))}} in</span>
|- |-
| BRI||'''{{calculator|id=brimetric|type=plain|decimals=2|formula=ifzero(imperial,(364.2-365.5×pow(1-(pow(waistcm/6.28318,2)/pow(0.5×heightcm,2)),0.5)),(364.2-365.5×pow(1-(pow(waistinch/2.4737,2)/pow(0.5×(heightfeet*30.48+heightinches*2.54),2)),0.5)))|NaN-text=&#32;|style=min-width:3ch;display:inline-block}}''' | BRI||'''{{calculator|id=brimetric|type=plain|decimals=2|formula=ifzero(imperial,(364.2-365.5×pow(1-(pow(waistcm/6.28318,2)/pow(0.5×heightcm,2)),0.5)),(364.2-365.5×pow(1-(pow(waistinch/2.4737,2)/pow(0.5×(heightfeet*30.48+heightinches*2.54),2)),0.5)))|NaN-text=&#32;|style=min-width:3ch;display:inline-block}}'''

Revision as of 02:35, 29 September 2024

Page Template:BMI calculator2/bmi.css has no content.

Calculator
Units 1 Metric 0 Imperial
Waist 180 cm in
Height 1178 cm feet 0 in
BRI
Template documentation[view] [edit] [history] [purge]

Usage

This template uses template:Calculator body roundness based on

  • height
  • waist circumference.

Input can be in metric or imperial units.

  • The calculator converts cm to feet and inches
  • The calculator converts feet and inches to cm.

The template shows body roundness in two units:

  1. Waist to height ratio
  2. Body roundness index.

Used templates

The Body Roundness Calculator uses

The above documentation is transcluded from Template:Body roundness index/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: