Template:AnimalTabs: Difference between revisions

From Vintage Story Wiki
(trying to increase the qty of drops that can shop in AnimalTabs from 4 to 6)
(Removed page from translation)
Line 1: Line 1:
<noinclude><languages /></noinclude><includeonly>{|border="1" cellpadding="2" cellspacing="0" class="screwTemplatesMan" style="position:relative; border-radius:7px; font-size:90%; width:250px; float:right; margin-left:15px; margin-bottom: 5px;"
<noinclude></noinclude><includeonly>{|border="1" cellpadding="2" cellspacing="0" class="screwTemplatesMan" style="position:relative; border-radius:7px; font-size:90%; width:250px; float:right; margin-left:15px; margin-bottom: 5px;"
|-
|-
|bgcolor="#000000" colspan="2" style="border-top-right-radius:7px; border-top-left-radius:7px; text-align:center; font-size:13.5px;"|<font color="white">'''{{{Name}}}'''</font>
|bgcolor="#000000" colspan="2" style="border-top-right-radius:7px; border-top-left-radius:7px; text-align:center; font-size:13.5px;"|<font color="white">'''{{{Name}}}'''</font>
Line 9: Line 9:
}}
}}
|-
|-
|bgcolor="#000000" colspan="2" style="border-top-right-radius:0px; border-top-left-radius:0px; text-align:center; font-size:13.5px;"|<font color="white">'''<translate><!--T:1--> Health</translate>'''</font>
|bgcolor="#000000" colspan="2" style="border-top-right-radius:0px; border-top-left-radius:0px; text-align:center; font-size:13.5px;"|<font color="white">'''Health'''</font>
|-
|-
{{#if: {{{HealthM|}}} | {{#!:
{{#if: {{{HealthM|}}} | {{#!:
|'''<translate><!--T:2--> Health</translate> ({{{Title}}})'''
|'''Health ({{{Title}}})'''
|{{{HealthM}}}
|{{{HealthM}}}
}} }}
}} }}
|-
|-
{{#if: {{{HealthF|}}} | {{#!:
{{#if: {{{HealthF|}}} | {{#!:
|'''<translate><!--T:3--> Health</translate> ({{{Title2}}})'''
|'''Health ({{{Title2}}})'''
|{{{HealthF}}}
|{{{HealthF}}}
}} }}
}} }}
|-
|-
{{#if: {{{HealthMF|}}} | {{#!:
{{#if: {{{HealthMF|}}} | {{#!:
|'''<translate><!--T:4--> Health</translate> ({{{Title}}}/{{{Title2}}})'''
|'''Health ({{{Title}}}/{{{Title2}}})'''
|{{{HealthMF}}}
|{{{HealthMF}}}
}} }}
}} }}
|-
|-
| '''<translate><!--T:5--> Health</translate> ({{{Title3}}})''' || {{{HealthB}}}
| '''Health ({{{Title3}}})''' || {{{HealthB}}}
|-
|-
|bgcolor="#000000" colspan="2" style="border-top-right-radius:0px; border-top-left-radius:0px; text-align:center; font-size:13.5px;"|<font color="white">'''<translate><!--T:6--> Attack</translate>'''</font>
|bgcolor="#000000" colspan="2" style="border-top-right-radius:0px; border-top-left-radius:0px; text-align:center; font-size:13.5px;"|<font color="white">'''Attack'''</font>
|-
|-
{{#if: {{{BaseAttackM|}}} | {{#!:
{{#if: {{{BaseAttackM|}}} | {{#!:
|'''<translate><!--T:7--> Base Attack</translate> ({{{Title}}})'''
|'''Base Attack ({{{Title}}})'''
|{{{BaseAttackM}}}
|{{{BaseAttackM}}}
}} }}
}} }}
|-
|-
{{#if: {{{BaseAttackF|}}} | {{#!:
{{#if: {{{BaseAttackF|}}} | {{#!:
|'''<translate><!--T:8--> Base Attack</translate> ({{{Title2}}})'''
|'''Base Attack ({{{Title2}}})'''
|{{{BaseAttackF}}}
|{{{BaseAttackF}}}
}}
}}
Line 42: Line 42:
|-
|-
{{#if: {{{BaseAttackMF|}}} | {{#!:
{{#if: {{{BaseAttackMF|}}} | {{#!:
|'''<translate><!--T:9--> Base Attack</translate> ({{{Title}}}/{{{Title2}}})'''
|'''Base Attack ({{{Title}}}/{{{Title2}}})'''
|{{{BaseAttackMF}}}
|{{{BaseAttackMF}}}
}} }}
}} }}
|-
|-
{{#if: {{{BaseAttackFB|}}} | {{#!:
{{#if: {{{BaseAttackFB|}}} | {{#!:
|'''<translate><!--T:10--> Base Attack</translate> ({{{Title2}}}/{{{Title3}}})'''
|'''Base Attack ({{{Title2}}}/{{{Title3}}})'''
|{{{BaseAttackFB}}}
|{{{BaseAttackFB}}}
}} }}
}} }}
|-
|-
{{#if: {{{BaseAttackB|}}} | {{#!:
{{#if: {{{BaseAttackB|}}} | {{#!:
|'''<translate><!--T:11--> Base Attack</translate> ({{{Title3}}})'''
|'''Base Attack ({{{Title3}}})'''
|{{{BaseAttackB}}}
|{{{BaseAttackB}}}
}} }}
}} }}
|-
|-
|bgcolor="#000000" colspan="2" style="border-top-right-radius:0px; border-top-left-radius:0px; text-align:center; font-size:13.5px;"|<font color="white">'''<translate><!--T:12--> Behavior</translate>'''</font>
|bgcolor="#000000" colspan="2" style="border-top-right-radius:0px; border-top-left-radius:0px; text-align:center; font-size:13.5px;"|<font color="white">'''Characteristics'''</font>
|-
{{#if: {{{PortionsEaten|}}} | {{#!:
|'''Satiety to Mate (portions)'''
|{{{PortionsEaten}}}
}} }}
|-
{{#if: {{{GestationTime|}}} | {{#!:
|'''Gestation Time (days)'''
|{{{GestationTime}}}
}} }}
|-
{{#if: {{{IncubationTime|}}} | {{#!:
|'''Incubation Time (days)'''
|{{{IncubationTime}}}
}} }}
|-
|-
{{#if: {{{SeekRangeM|}}} | {{#!:
{{#if: {{{SeekRangeM|}}} | {{#!:
|'''<translate><!--T:16--> Alert Range (m)</translate> ({{{Title}}})'''
|'''Alert Range (m) ({{{Title}}})'''
|{{{SeekRangeM}}}
|{{{SeekRangeM}}}
}} }}
}} }}
|-
|-
{{#if: {{{SeekRangeF|}}} | {{#!:
{{#if: {{{SeekRangeF|}}} | {{#!:
|'''<translate><!--T:17--> Alert Range (m)</translate> ({{{Title2}}})'''
|'''Alert Range (m) ({{{Title2}}})'''
|{{{SeekRangeF}}}
|{{{SeekRangeF}}}
}} }}
}} }}
|-
|-
{{#if: {{{SeekRangeMF|}}} | {{#!:
{{#if: {{{SeekRangeMF|}}} | {{#!:
|'''<translate><!--T:18--> Alert Range (m)</translate> ({{{Title}}}/{{{Title2}}})'''
|'''Alert Range (m) ({{{Title}}}/{{{Title2}}})'''
|{{{SeekRangeMF}}}
|{{{SeekRangeMF}}}
}} }}
}} }}
|-
|-
{{#if: {{{SeekRangeB|}}} | {{#!:
{{#if: {{{SeekRangeB|}}} | {{#!:
|'''<translate><!--T:19--> Alert Range (m)</translate> ({{{Title3}}})'''
|'''Alert Range (m) ({{{Title3}}})'''
|{{{SeekRangeB}}}
|{{{SeekRangeB}}}
}} }}
}} }}
|-
|-
{{#if: {{{JumpHeight|}}} | {{#!:
{{#if: {{{JumpHeight|}}} | {{#!:
|'''<translate><!--T:74--> Step Height</translate>'''
|'''Jump Height'''
|{{{JumpHeight}}}  
|{{{JumpHeight}}}  
}} }}
}} }}
|-
|-
{{#if: {{{RunSpeedM|}}} | {{#!:
{{#if: {{{RunSpeed|}}} | {{#!:
|'''<translate> Run Speed</translate>'''
|'''Run Speed'''
|{{{RunSpeed}}}
}} }}
|-
{{#if: {{{RunSpeedF|}}} | {{#!:
|'''<translate> Run Speed</translate>'''
|{{{RunSpeed}}}
}} }}
|-
{{#if: {{{RunSpeedMF|}}} | {{#!:
|'''<translate> Run Speed</translate>'''
|{{{RunSpeed}}}
}} }}
|-
{{#if: {{{RunSpeedB|}}} | {{#!:
|'''<translate> Run Speed</translate>'''
|{{{RunSpeed}}}  
|{{{RunSpeed}}}  
}} }}
}} }}
|-
|-
{{#if: {{{SwimSpeedM|}}} | {{#!:
{{#if: {{{SwimSpeed|}}} | {{#!:
|'''<translate><!--T:62--> Swim Speed</translate>'''
|'''Swim Speed'''
|{{{SwimSpeed}}}
}} }}
|-
{{#if: {{{SwimSpeedF|}}} | {{#!:
|'''<translate> Swim Speed</translate>'''
|{{{SwimSpeed}}}
}} }}
|-
{{#if: {{{SwimSpeedMF|}}} | {{#!:
|'''<translate> Swim Speed</translate>'''
|{{{SwimSpeed}}}
}} }}
|-
{{#if: {{{SwimSpeedB|}}} | {{#!:
|'''<translate> Swim Speed</translate>'''
|{{{SwimSpeed}}}  
|{{{SwimSpeed}}}  
}} }}
|-
|bgcolor="#000000" colspan="2" style="border-top-right-radius:0px; border-top-left-radius:0px; text-align:center; font-size:13.5px;"|<font color="white">'''<translate> Multiply</translate>'''</font>
|-
{{#if: {{{PortionsEaten|}}} | {{#!:
|'''<translate><!--T:13--> Satiety to Mate (portions)</translate>'''
|{{{PortionsEaten}}}
}} }}
|-
{{#if: {{{GestationTime|}}} | {{#!:
|'''<translate><!--T:14--> Gestation Time (days)</translate>'''
|{{{GestationTime}}}
}} }}
|-
{{#if: {{{IncubationTime|}}} | {{#!:
|'''<translate><!--T:15--> Incubation Time (days)</translate>'''
|{{{IncubationTime}}}
}} }}
}} }}
|-
|-
{{#if: {{{GrowthTime|}}} | {{#!:
{{#if: {{{GrowthTime|}}} | {{#!:
|'''<translate><!--T:20--> Growth Time (days)</translate>'''
|'''Growth Time (days)'''
|{{{GrowthTime}}}
|{{{GrowthTime}}}
}} }}
}} }}
Line 158: Line 126:
|Avg4={{{DropAvg4|}}}
|Avg4={{{DropAvg4|}}}
|Var4={{{DropVar4|}}}
|Var4={{{DropVar4|}}}
|Code5={{{DropCode4|}}}
|Avg5={{{DropAvg4|}}}
|Var5={{{DropVar4|}}}
|Code6={{{DropCode4|}}}
|Avg6={{{DropAvg4|}}}
|Var6={{{DropVar4|}}}
}}
}}
|-
|-
|bgcolor="#000000" colspan="2" class="Bloba" style="text-align:center; font-size:13.5px; border-bottom-right-radius:7px; border-bottom-left-radius:7px;"|[[Animals|<font color="white">'''<translate><!--T:21--> Animals</translate>'''</font>]]
|bgcolor="#000000" colspan="2" class="Bloba" style="text-align:center; font-size:13.5px; border-bottom-right-radius:7px; border-bottom-left-radius:7px;"|[[Animals|<font color="white">'''Animals'''</font>]]
|}{{#if:{{{NoBreak|}}}||{{-}} }}
|}{{#if:{{{NoBreak|}}}||{{-}} }}
[[Category:Creatures{{#translation:}}]]</includeonly>
[[Category:Creatures{{#translation:}}]]</includeonly>
<noinclude>
<noinclude>
{{AnimalTabs
{{AnimalTabs
|Name=<translate><!--T:67--> Chicken</translate>
|Name=Chicken


|Title= <translate><!--T:68--> Rooster</translate>
|Title= Rooster
|Title2= <translate><!--T:69--> Hen</translate>
|Title2= Hen
|Title3= <translate><!--T:70--> Chick</translate>
|Title3= Chick


|image= File:Chicken(Male).png
|image= File:Chicken(Male).png
Line 184: Line 146:
|HealthB= 1.5
|HealthB= 1.5


|BaseAttackB=0.25
|BaseAttackMF=0.25
|BaseAttackMF=0.25
|BaseAttackB=0.25


|SeekRangeMF=20
|SeekRangeMF=20
|SeekRangeB=6
|SeekRangeB=6
|SwimSpeed=100
|RunSpeed=200
|RunSpeed=200
|SwimSpeed=100
|GrowthTime= 168
 
|GrowthTime= 7


|DropCode1={{ll|Poultry|<translate><!--T:71--> Poultry</translate>}}
|DropCode1={{ll|Poultry|Poultry}}
|DropAvg1=1.25
|DropAvg1=1.25
|DropVar1=0.25
|DropVar1=0.25
|DropCode2={{ll|Feathers|<translate><!--T:72--> Feathers</translate>}}
|DropCode2={{ll|Feathers|Feathers}}
|DropAvg2=12
|DropAvg2=12
|DropVar2=4
|DropVar2=4
|DropCode3={{ll|Bone|<translate><!--T:73--> Bone</translate>}}
|DropCode3={{ll|Bone|Bone}}
|DropAvg3=0.5
|DropAvg3=0.5
|FloatRight=yes
|FloatRight=yes
Line 206: Line 167:
}}
}}


<translate><!--T:22--> Template for displaying an '''animal''''s male, female, and baby attributes in one chart.</translate>
Template for displaying an '''animal''''s male, female, and baby form in one chart.


:{| class="wikitable" style="width: 70%;"
:{| class="wikitable" style="width: 50%;"
|-
|-
! width="10%" | <translate><!--T:23--> Section</translate>
! width="1%" | Section
! width="20%" | <translate><!--T:24--> Parameter</translate>
! width="3%" | Parameter
! width="70%" | <translate><!--T:25--> Description</translate>
! width="10%" | Description
|-
|-
! <translate><!--T:26--> Image</translate>
! Image
| style="text-align:center;"| <nowiki>File:chicken-male.png</nowiki>
| style="text-align:center;"| <nowiki>File:Chicken(Male).png</nowiki>
| <translate><!--T:27--> Image filename with "File:" prefix and ".png" suffix</translate>
| Image filename with "File:" prefix and ".png" suffix
|-
|-
! rowspan="4" | <translate><!--T:28--> Health</translate>
! rowspan="4" | Health
| style="text-align:center;"| <translate><!--T:29--> Health Male</translate>
| style="text-align:center;"| Health Male
| rowspan="2" | <translate><!--T:30--> When the health of the male and female entity are different values, they must be presented in separate rows.</translate>
| rowspan="2" | When the health of the male and female entity are different values, they must be presented in separate rows.
|-
|-
| style="text-align:center;"| <translate><!--T:31--> Health Female</translate>
| style="text-align:center;"| Health Female
|-
|-
| style="text-align:center;"| <translate><!--T:32--> Health Male/Female</translate>
| style="text-align:center;"| Health Male/Female
| <translate><!--T:33--> When the health of both the male and female entity are the same, they must be presented in one single row.</translate>
| When the health of both the male and female entity are the same, they must be presented in one single row.
|-
|-
| style="text-align:center;"| <translate><!--T:34--> Health Baby</translate>
| style="text-align:center;"| Health Baby
| <translate><!--T:35--> The health of the baby entity.</translate>
| The health of the baby entity.
|-
|-
! rowspan="5" | <translate><!--T:36--> Attack</translate>
! rowspan="5" | Attack
| style="text-align:center;"| <translate><!--T:37--> Attack Male</translate>
| style="text-align:center;"| Attack Male
| <translate><!--T:38--> Damage produced by the base attack of the male entity.</translate>
| Damage produced by the base attack of the male entity.
|-
|-
| style="text-align:center;"| <translate><!--T:39--> Attack Female</translate>
| style="text-align:center;"| Attack Female
| <translate><!--T:40--> Damage produced by the base attack of the female entity.</translate>
| Damage produced by the base attack of the female entity.
|-
|-
| style="text-align:center;"| <translate><!--T:41--> Attack Male/Female</translate>
| style="text-align:center;"| Attack Male/Female
| <translate><!--T:42--> When the damage of both the male and female entity are the same, they must be presented in one single row.</translate>
| When the damage of both the male and female entity are the same, they must be presenten in one single row.
|-
|-
| style="text-align:center;"| <translate><!--T:43--> Attack Female/Baby</translate>
| style="text-align:center;"| Attack Female/Baby
| <translate><!--T:44--> When the damage of both the female and baby entity are the same, they must be presented in one single row.</translate>
| When the damage of both the female and baby entity are the same, they must be presenten in one single row.
|-
|-
| style="text-align:center;"| <translate><!--T:45--> Attack Baby</translate>
| style="text-align:center;"| Attack Baby
| <translate><!--T:46--> Damage produced by the base attack of the baby entity.</translate>
| Damage produced by the base attack of the baby entity.
|-
|-
! rowspan="4" | <translate><!--T:47--> Behavior</translate>
! rowspan="7" | Characteristics
| style="text-align:center;"| <translate><!--T:59--> Alert range</translate>
| style="text-align:center;"| Alert range
| <translate><!--T:60--> Their range of vigilance for fleeing a predator. It might also apply to waking from sleep, interrupting eating, or seeking prey. </translate>
| Their range of vigilance for seeking a prey or for fleeing a predator.
|-
|-
| style="text-align:center;"| <translate><!--T:75--> Jump height</translate>
| style="text-align:center;"| Jump height
| <translate><!--T:76--> The number of blocks they can ascend.</translate>
| The number of blocks they can jump.
|-
|-
| style="text-align:center;"| <translate><!--T:63--> Run speed</translate>
| style="text-align:center;"| Run speed
| <translate><!--T:64--> Their running speed.</translate>
| Their running speed.
|-
|-
| style="text-align:center;"| <translate><!--T:65--> Swim speed</translate>
| style="text-align:center;"| Swim speed
| <translate><!--T:66--> Their swimming speed.</translate>
| Their swimming speed.
|-
|-
! rowspan="4" | <translate>Reproduction</translate>
| style="text-align:center;"| Satiety to Mate
| style="text-align:center;"| <translate><!--T:48--> Satiety to Mate</translate>
| Portions needed to be eaten from a trough before the entity is ready to mate.
| <translate><!--T:49--> Portions needed to be eaten from a trough before a ready-to-mate entity can become pregnant.</translate>
|-
|-
| style="text-align:center;"| <translate><!--T:50--> Gestation Time</translate>
| style="text-align:center;"| Gestation Time
| <translate><!--T:51--> Time before a pregnant entity gives birth.</translate>
| Time before the pregnant entity gives birth.
|-
|-
| style="text-align:center;"| <translate><!--T:52--> Incubation Time</translate>
| style="text-align:center;"| Incubation Time
| <translate><!--T:53--> Time before fertile eggs hatch, if sat on by a broody hen.</translate>
| Time before the eggs hatch.
|-
|-
| style="text-align:center;"| <translate><!--T:54--> Growth Time</translate>
| style="text-align:center;"| Growth Time
| <translate><!--T:55--> Time before a baby entity becomes a full adult.</translate>
| Time before the baby entity becomes a full adult.
|-
|-
! <translate><!--T:56--> Drops</translate>
! Drops
| style="text-align:center;"| <translate><!--T:57--> Drops</translate>
| style="text-align:center;"| Drops
| <translate><!--T:58--> Items the entity drops when looted, ± bonus loot.  Template configured for up to 15 different items.</translate>
| Items the entity drops when looted.
|}
|}
[[Category:Infoboxes]]
[[Category:Infoboxes]]
</noinclude>
</noinclude>

Revision as of 11:25, 29 January 2024


Chicken
Chicken(Male).png
Chicken(Female).png
Chicken(Baby).png
Health
Health (Rooster/Hen) 3
Health (Chick) 1.5
Attack
Base Attack (Rooster/Hen) 0.25
Base Attack (Chick) 0.25
Behavior
Alert Range (m) (Rooster/Hen) 20
Alert Range (m) (Chick) 6
Multiply
Growth Time (days) 168
Drops
Poultry 1 - 1.5*
Feathers 8 - 16*
Bone 0.5*
Animals


Template for displaying an animal's male, female, and baby form in one chart.

Section Parameter Description
Image File:Chicken(Male).png Image filename with "File:" prefix and ".png" suffix
Health Health Male When the health of the male and female entity are different values, they must be presented in separate rows.
Health Female
Health Male/Female When the health of both the male and female entity are the same, they must be presented in one single row.
Health Baby The health of the baby entity.
Attack Attack Male Damage produced by the base attack of the male entity.
Attack Female Damage produced by the base attack of the female entity.
Attack Male/Female When the damage of both the male and female entity are the same, they must be presenten in one single row.
Attack Female/Baby When the damage of both the female and baby entity are the same, they must be presenten in one single row.
Attack Baby Damage produced by the base attack of the baby entity.
Characteristics Alert range Their range of vigilance for seeking a prey or for fleeing a predator.
Jump height The number of blocks they can jump.
Run speed Their running speed.
Swim speed Their swimming speed.
Satiety to Mate Portions needed to be eaten from a trough before the entity is ready to mate.
Gestation Time Time before the pregnant entity gives birth.
Incubation Time Time before the eggs hatch.
Growth Time Time before the baby entity becomes a full adult.
Drops Drops Items the entity drops when looted.