Difference between revisions of "Template:Leather Production/doc"
Jump to navigation
Jump to search
m |
m (category) |
||
(One intermediate revision by one other user not shown) | |||
Line 5: | Line 5: | ||
*The second parameter determines whether the offspring are slaughtered upon birth or upon reaching adulthood. Baby for baby slaughter, Adult for adult slaughter. Defaults to Baby. | *The second parameter determines whether the offspring are slaughtered upon birth or upon reaching adulthood. Baby for baby slaughter, Adult for adult slaughter. Defaults to Baby. | ||
*The third parameter is the number of females in the system. Defaults to 1. | *The third parameter is the number of females in the system. Defaults to 1. | ||
− | *The fourth parameter is the number of males in the system. Defaults to 0. | + | *The fourth parameter is the number of males in the system. Defaults to 0. - this doesn't actually do anything, but it's there to be consistent with [[Template:Nutrition Consumption]]. |
==Examples== | ==Examples== | ||
Line 31: | Line 31: | ||
See also: [[Template:Nutrition Consumption]] [[Template:Meat Production]] | See also: [[Template:Nutrition Consumption]] [[Template:Meat Production]] | ||
+ | |||
+ | <includeonly>[[Category:Math templates]]</includeonly> | ||
+ | <noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 18:40, 19 November 2022
Returns the items of leather per day produced from the slaughtering of offspring. This calculation assumes that there is no time between pregnancies.
Usage[edit]
- The first parameter, if present, will specify which animal to generate the template for. If absent,
{{PAGENAME}}
will be used. - The second parameter determines whether the offspring are slaughtered upon birth or upon reaching adulthood. Baby for baby slaughter, Adult for adult slaughter. Defaults to Baby.
- The third parameter is the number of females in the system. Defaults to 1.
- The fourth parameter is the number of males in the system. Defaults to 0. - this doesn't actually do anything, but it's there to be consistent with Template:Nutrition Consumption.
Examples[edit]
Single inexplicably pregnant chinchilla[edit]
{{Leather Production| Chinchilla | Adult}}
result: 6.4917859035506
5 male chinchillas, 5 female chinchillas[edit]
{{Leather Production| chinchilla | Adult | 5 | 5 }}
result: 32.458929517753
Baby thrumbo slaughter[edit]
{{Leather Production| Thrumbo | Baby}}
result: 1.7
Adult thrumbo slaughter[edit]
{{Leather Production| Thrumbo | Adult}}
result: 8
See also: Template:Nutrition Consumption Template:Meat Production