Template:Gender ratio/doc

Creates a bar divided into a blue (male) and pink (female) segment, with sizes based on the ratio. This is used in Template:Temtem Infobox for representing the chance a Temtem will spawn with which gender.

Usage
where maleRatio is an unnamed parameter which is the integer percentage of spawns that are male, from which female can then be easily calculated.

Example
produces: