Template:AnimalTabs/doc/en: Difference between revisions

From Vintage Story Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
''psst! if you want to translate the documentation, view this subpage THEN try to translate it!''
{{AnimalTabs
|Name=Chicken
 
|Title= Rooster
|Title2= Hen
|Title3= Chick
 
|image= File:Chicken(Male).png
|image2 = File:Chicken(Female).png
|image3 = File:Chicken(Baby).png
 
|HealthMF= 3
|HealthB= 1.5
 
|BaseAttackMF=0.25
|BaseAttackB=0.25
 
|SeekRangeMF=20
|SeekRangeB=6
|RunSpeed=200
|SwimSpeed=100


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


== Usage ==
|DropCode1={{ll|Poultry|Poultry}}
{| class="wikitable" style="width: 50%;"
|DropAvg1=1.25
|DropVar1=0.25
|DropCode2={{ll|Feathers|Feathers}}
|DropAvg2=12
|DropVar2=4
|DropCode3={{ll|Bone|Bone}}
|DropAvg3=0.5
|FloatRight=yes
|NoBreak=yes
}}
 
Template for displaying an '''animal''''s male, female, and baby attributes in one chart.
 
:{| class="wikitable" style="width: 70%;"
|-
|-
! width="1%" | Section
! width="10%" | Section
! width="3%" | Parameter
! width="20%" | Parameter
! width="10%" | Description
! width="70%" | Description
|-
|-
! Image
! Image
| style="text-align:center;"| <nowiki>File:Chicken(Male).png</nowiki>
| style="text-align:center;"| <nowiki>File:chicken-male.png</nowiki>
| Image filename with "File:" prefix and ".png" suffix
| Image filename with "File:" prefix and ".png" suffix
|-
|-
! rowspan="4" | Health
! rowspan="4" | Health
| style="text-align:center;"| Health Male
| style="text-align:center;"| Health Male
| rowspan="2" | When the health of the male and female entity are different values, they must be presented in separate rows.
| 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;"| Health Female
| style="text-align:center;"| Health Female
Line 34: Line 67:
|-
|-
| style="text-align:center;"| Attack Male/Female
| style="text-align:center;"| Attack Male/Female
| When the damage of both the male and female entity are the same, they must be presenten in one single row.
| When the damage of both the male and female entity are the same, they must be presented in one single row.
|-
|-
| style="text-align:center;"| Attack Female/Baby
| style="text-align:center;"| Attack Female/Baby
| When the damage of both the female and baby entity are the same, they must be presenten in one single row.
| When the damage of both the female and baby entity are the same, they must be presented in one single row.
|-
|-
| style="text-align:center;"| Attack Baby
| style="text-align:center;"| Attack Baby
| Damage produced by the base attack of the baby entity.
| Damage produced by the base attack of the baby entity.
|-
|-
! rowspan="7" | Characteristics
! rowspan="4" | Behavior
| style="text-align:center;"| Alert range
| style="text-align:center;"| Alert range
| Their range of vigilance for seeking a prey or for fleeing a predator.
| Their range of vigilance for fleeing a predator.  It might also apply to waking from sleep, interrupting eating, or seeking prey.
|-
| style="text-align:center;"| Jump height
| The number of blocks they can ascend.
|-
|-
| style="text-align:center;"| Run speed
| style="text-align:center;"| Run speed
Line 52: Line 88:
| Their swimming speed.
| Their swimming speed.
|-
|-
! rowspan="4" | Reproduction
| style="text-align:center;"| Satiety to Mate
| style="text-align:center;"| Satiety to Mate
| Portions needed to be eaten from a trough before the entity is ready to mate.
| Portions needed to be eaten from a trough before a ready-to-mate entity can become pregnant.
|-
|-
| style="text-align:center;"| Gestation Time
| style="text-align:center;"| Gestation Time
| Time before the pregnant entity gives birth.
| Time before a pregnant entity gives birth.
|-
|-
| style="text-align:center;"| Incubation Time
| style="text-align:center;"| Incubation Time
| Time before the eggs hatch.
| Time before fertile eggs hatch, if sat on by a broody hen.
|-
|-
| style="text-align:center;"| Growth Time
| style="text-align:center;"| Growth Time
| Time before the baby entity becomes a full adult.
| Time before a baby entity becomes a full adult.
|-
|-
! Drops
! Drops
| style="text-align:center;"| Drops
| style="text-align:center;"| Drops
| Items the entity drops when looted.
| Items the entity drops when looted, ± bonus loot.  Template configured for up to 15 different items.
|}
|}
<!-- === Parameters ===
{| class="wikitable"
|-
! Parameters !! Description !! Type !! Required
|-
| parameter1 || Description of what parameter1 is || string/boolean/file/number/any || yes/no/suggested
|} -->
=== Examples ===
{| class="wikitable
|-
| <pre>{{AnimalTabs
|Name=Chicken
|Title= Rooster
|Title2= Hen
|Title3= Chick
|image= File:Chicken(Male).png
|image2 = File:Chicken(Female).png
|image3 = File:Chicken(Baby).png
|HealthMF= 3
|HealthB= 1.5
|BaseAttackB=0.25
|BaseAttackMF=0.25
|SeekRangeMF=20
|SeekRangeB=6
|SwimSpeed=100
|RunSpeed=200
|GrowthTime= 168
|DropCode1=[[Poultry]]
|DropAvg1=1.25
|DropVar1=0.25
|DropCode2=[[Feathers]]
|DropAvg2=12
|DropVar2=4
|DropCode3=[[Bone]]
|DropAvg3=0.5
|FloatRight=yes
|NoBreak=yes
}}</pre> || {{AnimalTabs
|Name=Chicken
|Title= Rooster
|Title2= Hen
|Title3= Chick
|image= File:Chicken(Male).png
|image2 = File:Chicken(Female).png
|image3 = File:Chicken(Baby).png
|HealthMF= 3
|HealthB= 1.5
|BaseAttackB=0.25
|BaseAttackMF=0.25
|SeekRangeMF=20
|SeekRangeB=6
|SwimSpeed=100
|RunSpeed=200
|GrowthTime= 168
|DropCode1=[[Poultry]]
|DropAvg1=1.25
|DropVar1=0.25
|DropCode2=[[Feathers]]
|DropAvg2=12
|DropVar2=4
|DropCode3=[[Bone]]
|DropAvg3=0.5
|FloatRight=yes
|NoBreak=yes
}} |}


<!-- Template categories/interwikis here -->
<!-- Template categories/interwikis here -->

Revision as of 11:31, 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) 7
Drops
Poultry 1 - 1.5*
Feathers 8 - 16*
Bone 0.5*
Animals


Template for displaying an animal's male, female, and baby attributes 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 presented in one single row.
Attack Female/Baby When the damage of both the female and baby entity are the same, they must be presented in one single row.
Attack Baby Damage produced by the base attack of the baby entity.
Behavior Alert range Their range of vigilance for fleeing a predator. It might also apply to waking from sleep, interrupting eating, or seeking prey.
Jump height The number of blocks they can ascend.
Run speed Their running speed.
Swim speed Their swimming speed.
Reproduction Satiety to Mate Portions needed to be eaten from a trough before a ready-to-mate entity can become pregnant.
Gestation Time Time before a pregnant entity gives birth.
Incubation Time Time before fertile eggs hatch, if sat on by a broody hen.
Growth Time Time before a baby entity becomes a full adult.
Drops Drops Items the entity drops when looted, ± bonus loot. Template configured for up to 15 different items.