Template:AnimalTabs/doc: Difference between revisions

From Vintage Story Wiki
No edit summary
mNo edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<translate>Template for displaying an '''animal''''s male, female, and baby form in one chart.
<noinclude><languages /></noinclude>
{{AnimalTabs
|Name=<translate><!--T:60--> Chicken</translate>


== Usage ==
|Title= <translate><!--T:61--> Rooster</translate>
</translate>
|Title2= <translate><!--T:62--> Hen</translate>
{| class="wikitable" style="width: 50%;"
|Title3= <translate><!--T:63--> Chick</translate>
|-
! width="1%" | <translate> Section</translate>
! width="3%" | <translate> Parameter</translate>
! width="10%" | <translate> Description</translate>
|-
! <translate> Image</translate>
| style="text-align:center;"| <nowiki>File:Chicken(Male).png</nowiki>
| <translate> Image filename with "File:" prefix and ".png" suffix</translate>
|-
! rowspan="4" | <translate> Health</translate>
| style="text-align:center;"| <translate> Health Male</translate>
| rowspan="2" | <translate> When the health of the male and female entity are different values, they must be presented in separate rows.</translate>
|-
| style="text-align:center;"| <translate>Health Female</translate>
|-
| style="text-align:center;"| <translate>Health Male/Female</translate>
| <translate>When the health of both the male and female entity are the same, they must be presented in one single row.</translate>
|-
| style="text-align:center;"| <translate>Health Baby</translate>
| <translate>The health of the baby entity.</translate>
|-
! rowspan="5" | <translate>Attack</translate>
| style="text-align:center;"| <translate>Attack Male</translate>
| <translate>Damage produced by the base attack of the male entity.</translate>
|-
| style="text-align:center;"| <translate>Attack Female</translate>
| <translate>Damage produced by the base attack of the female entity.</translate>
|-
| style="text-align:center;"| <translate>Attack Male/Female</translate>
| <translate>When the damage of both the male and female entity are the same, they must be presenten in one single row.</translate>
|-
| style="text-align:center;"| <translate>Attack Female/Baby</translate>
| <translate> When the damage of both the female and baby entity are the same, they must be presenten in one single row.</translate>
|-
| style="text-align:center;"| <translate>Attack Baby</translate>
| <translate>Damage produced by the base attack of the baby entity.</translate>
|-
! rowspan="7" | <translate>Characteristics</translate>
| style="text-align:center;"| <translate>Alert range</translate>
| <translate>Their range of vigilance for seeking a prey or for fleeing a predator.</translate>
|-
| style="text-align:center;"| <translate>Run speed</translate>
| <translate>Their running speed.</translate>
|-
| style="text-align:center;"| <translate>Swim speed</translate>
| <translate>Their swimming speed.</translate>
|-
| style="text-align:center;"| <translate>Satiety to Mate</translate>
| <translate>Portions needed to be eaten from a trough before the entity is ready to mate.</translate>
|-
| style="text-align:center;"| <translate>Gestation Time</translate>
| <translate>Time before the pregnant entity gives birth.</translate>
|-
| style="text-align:center;"| <translate>Incubation Time</translate>
| <translate>Time before the eggs hatch.</translate>
|-
| style="text-align:center;"| <translate>Growth Time</translate>
| <translate>Time before the baby entity becomes a full adult.</translate>
|-
! <translate>Drops</translate>
| style="text-align:center;"| <translate>Drops</translate>
| <translate>Items the entity drops when looted.</translate>
|}
 
<!-- === Parameters ===
 
{| class="wikitable"
|-
! Parameters !! Description !! Type !! Required
|-
| parameter1 || Description of what parameter1 is || string/boolean/file/number/any || yes/no/suggested
|} -->
<translate>
=== Examples ===
 
{| class="wikitable
|-
| <pre>{{AnimalTabs
|Name=Chicken
 
|Title= Rooster
|Title2= Hen
|Title3= Chick


|image= File:Chicken(Male).png
|image= File:Chicken(Male).png
Line 95: Line 14:
|HealthB= 1.5
|HealthB= 1.5


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


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


|DropCode1=[[Poultry]]
|GrowthTime= 7
 
|DropCode1={{ll|Poultry|<translate><!--T:64--> Poultry</translate>}}
|DropAvg1=1.25
|DropAvg1=1.25
|DropVar1=0.25
|DropVar1=0.25
|DropCode2=[[Feathers]]
|DropCode2={{ll|Feathers|<translate><!--T:65--> Feathers</translate>}}
|DropAvg2=12
|DropAvg2=12
|DropVar2=4
|DropVar2=4
|DropCode3=[[Bone]]
|DropCode3={{ll|Bone|<translate><!--T:66--> Bone</translate>}}
|DropAvg3=0.5
|DropAvg3=0.5
|FloatRight=yes
|FloatRight=yes
|NoBreak=yes
|NoBreak=yes
}}</pre> || {{AnimalTabs
}}
|Name=Chicken


|Title= Rooster
<translate><!--T:67--> Template for displaying an '''animal''''s male, female, and baby attributes in one chart.</translate>
|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
}} |}</translate>


:{| class="wikitable" style="width: 70%;"
|-
! width="10%" | <translate><!--T:68--> Section</translate>
! width="20%" | <translate><!--T:69--> Parameter</translate>
! width="70%" | <translate><!--T:70--> Description</translate>
|-
! <translate><!--T:71--> Image</translate>
| style="text-align:center;"| <nowiki>File:chicken-male.png</nowiki>
| <translate><!--T:72--> Image filename with "File:" prefix and ".png" suffix</translate>
|-
! rowspan="4" | <translate><!--T:73--> Health</translate>
| style="text-align:center;"| <translate><!--T:74--> Health Male</translate>
| rowspan="2" | <translate><!--T:75--> When the health of the male and female entity are different values, they must be presented in separate rows.</translate>
|-
| style="text-align:center;"| <translate><!--T:76--> Health Female</translate>
|-
| style="text-align:center;"| <translate><!--T:77--> Health Male/Female</translate>
| <translate><!--T:78--> When the health of both the male and female entity are the same, they must be presented in one single row.</translate>
|-
| style="text-align:center;"| <translate><!--T:79--> Health Baby</translate>
| <translate><!--T:80--> The health of the baby entity.</translate>
|-
! rowspan="5" | <translate><!--T:81--> Attack</translate>
| style="text-align:center;"| <translate><!--T:82--> Attack Male</translate>
| <translate><!--T:83--> Damage produced by the base attack of the male entity.</translate>
|-
| style="text-align:center;"| <translate><!--T:84--> Attack Female</translate>
| <translate><!--T:85--> Damage produced by the base attack of the female entity.</translate>
|-
| style="text-align:center;"| <translate><!--T:86--> Attack Male/Female</translate>
| <translate><!--T:87--> When the damage of both the male and female entity are the same, they must be presented in one single row.</translate>
|-
| style="text-align:center;"| <translate><!--T:88--> Attack Female/Baby</translate>
| <translate><!--T:89--> When the damage of both the female and baby entity are the same, they must be presented in one single row.</translate>
|-
| style="text-align:center;"| <translate><!--T:90--> Attack Baby</translate>
| <translate><!--T:91--> Damage produced by the base attack of the baby entity.</translate>
|-
! rowspan="4" | <translate><!--T:92--> Behavior</translate>
| style="text-align:center;"| <translate><!--T:93--> Alert range</translate>
| <translate><!--T:94--> Their range of vigilance for fleeing a predator.  It might also apply to waking from sleep, interrupting eating, or seeking prey. </translate>
|-
| style="text-align:center;"| <translate><!--T:95--> Jump height</translate>
| <translate><!--T:96--> The number of blocks they can ascend.</translate>
|-
| style="text-align:center;"| <translate><!--T:97--> Run speed</translate>
| <translate><!--T:98--> Their running speed.</translate>
|-
| style="text-align:center;"| <translate><!--T:99--> Swim speed</translate>
| <translate><!--T:100--> Their swimming speed.</translate>
|-
! rowspan="4" | <translate><!--T:101--> Reproduction</translate>
| style="text-align:center;"| <translate><!--T:102--> Satiety to Mate</translate>
| <translate><!--T:103--> Portions needed to be eaten from a trough before a ready-to-mate entity can become pregnant.</translate>
|-
| style="text-align:center;"| <translate><!--T:104--> Gestation Time</translate>
| <translate><!--T:105--> Time before a pregnant entity gives birth.</translate>
|-
| style="text-align:center;"| <translate><!--T:106--> Incubation Time</translate>
| <translate><!--T:107--> Time before fertile eggs hatch, if sat on by a broody hen.</translate>
|-
| style="text-align:center;"| <translate><!--T:108--> Growth Time</translate>
| <translate><!--T:109--> Time before a baby entity becomes a full adult.</translate>
|-
! <translate><!--T:110--> Drops</translate>
| style="text-align:center;"| <translate><!--T:111--> Drops</translate>
| <translate><!--T:112--> Items the entity drops when looted, ± bonus loot.  Template configured for up to 15 different items.</translate>
|}


<!-- Template categories/interwikis here -->
<!-- Template categories/interwikis here -->
<includeonly>
<includeonly>
[[Category:Infoboxes{{#translation:}}]]
[[Category:Infoboxes{{#translation:}}]]
</includeonly><noinclude>
[[Category:Template documentation{{#translation:}}]]
[[Category:Template documentation{{#translation:}}]]
</includeonly>
</noinclude>

Latest revision as of 11:51, 29 January 2024

Other languages:
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.