Template:AnimalTabs: Difference between revisions

From Vintage Story Wiki
(Marked this version for translation)
mNo edit summary
 
(15 intermediate revisions by 5 users not shown)
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><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;"
|-
|-
|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="#5E462A" colspan="2" style="border-top-right-radius:7px; border-top-left-radius:7px; text-align:center; font-size:13.5px;"|<font color="#EAD3B3">'''{{{Name}}}'''</font>
|-
|-
|bgcolor="#d3ab92" colspan=2 style="text-align: center"|{{#tag:tabber|  
|bgcolor="#D1B296" colspan=2 style="text-align: center"|{{#tag:tabber|  
{{!}}-{{!}} {{{Title}}}  = [[{{{image}}}|130px|center]]
{{!}}-{{!}} {{{Title}}}  = [[{{{image}}}|130px|center]]
{{!}}-{{!}} {{{Title2}}} = [[{{{image2}}}|130px|center]]
{{!}}-{{!}} {{{Title2}}} = [[{{{image2}}}|130px|center]]
Line 9: Line 11:
}}
}}
|-
|-
|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="#5E462A" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="#EAD3B3">'''<translate><!--T:1--> Health</translate>'''</font>
|-
|-
{{#if: {{{HealthM|}}} | {{#!:
{{#if: {{{HealthM|}}} | {{#!:
Line 28: Line 30:
| '''<translate><!--T:5--> Health</translate> ({{{Title3}}})''' || {{{HealthB}}}
| '''<translate><!--T:5--> Health</translate> ({{{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="#5E462A" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="#EAD3B3">'''<translate><!--T:6--> Attack</translate>'''</font>
|-
|-
{{#if: {{{BaseAttackM|}}} | {{#!:
{{#if: {{{BaseAttackM|}}} | {{#!:
Line 38: Line 40:
|'''<translate><!--T:8--> Base Attack</translate> ({{{Title2}}})'''
|'''<translate><!--T:8--> Base Attack</translate> ({{{Title2}}})'''
|{{{BaseAttackF}}}
|{{{BaseAttackF}}}
}}
}} }}
}}
|-
|-
{{#if: {{{BaseAttackMF|}}} | {{#!:
{{#if: {{{BaseAttackMF|}}} | {{#!:
Line 56: Line 57:
}} }}
}} }}
|-
|-
|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--> Characteristics</translate>'''</font>
|bgcolor="#5E462A" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="#EAD3B3">'''<translate><!--T:12--> Behavior</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: {{{SeekRangeM|}}} | {{#!:
{{#if: {{{SeekRangeM|}}} | {{#!:
Line 91: Line 77:
|'''<translate><!--T:19--> Alert Range (m)</translate> ({{{Title3}}})'''
|'''<translate><!--T:19--> Alert Range (m)</translate> ({{{Title3}}})'''
|{{{SeekRangeB}}}
|{{{SeekRangeB}}}
}} }}
|-
|-
{{#if: {{{RunSpeed|}}} | {{#!:
{{#if: {{{JumpHeight|}}} | {{#!:
|'''<translate><!--T:61--> Run Speed</translate>'''
|'''<translate><!--T:74--> Step Height</translate>'''
|{{{JumpHeight}}}
}} }}
|-
{{#if: {{{RunSpeedM|}}} | {{#!:
|'''<translate> <!--T:77--> Run Speed</translate>'''
|{{{RunSpeed}}}
}} }}
|-
{{#if: {{{RunSpeedF|}}} | {{#!:
|'''<translate> <!--T:78--> Run Speed</translate>'''
|{{{RunSpeed}}}
}} }}
|-
{{#if: {{{RunSpeedMF|}}} | {{#!:
|'''<translate> <!--T:79--> Run Speed</translate>'''
|{{{RunSpeed}}}  
|{{{RunSpeed}}}  
}} }}
}} }}
|-
|-
{{#if: {{{SwimSpeed|}}} | {{#!:
{{#if: {{{RunSpeedB|}}} | {{#!:
|'''<translate> <!--T:80--> Run Speed</translate>'''
|{{{RunSpeed}}}
}} }}
|-
{{#if: {{{SwimSpeedM|}}} | {{#!:
|'''<translate><!--T:62--> Swim Speed</translate>'''
|'''<translate><!--T:62--> Swim Speed</translate>'''
|{{{SwimSpeed}}}  
|{{{SwimSpeed}}}  
}} }}
|-
{{#if: {{{SwimSpeedF|}}} | {{#!:
|'''<translate> <!--T:81--> Swim Speed</translate>'''
|{{{SwimSpeed}}}
}} }}
|-
{{#if: {{{SwimSpeedMF|}}} | {{#!:
|'''<translate> <!--T:82--> Swim Speed</translate>'''
|{{{SwimSpeed}}}
}} }}
|-
{{#if: {{{SwimSpeedB|}}} | {{#!:
|'''<translate> <!--T:83--> Swim Speed</translate>'''
|{{{SwimSpeed}}}
}} }}
|-
|bgcolor="#5E462A" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="#EAD3B3">'''<translate> <!--T:84--> 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}}}
}} }}
}} }}
|-
|-
Line 105: Line 144:
|'''<translate><!--T:20--> Growth Time (days)</translate>'''
|'''<translate><!--T:20--> Growth Time (days)</translate>'''
|{{{GrowthTime}}}
|{{{GrowthTime}}}
}} }}
}} }}
}} }}
|-
|-
Line 121: Line 159:
|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="#5E462A" 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>]]
|}{{#if:{{{NoBreak|}}}||{{-}} }}
|}
[[Category:Creatures{{#translation:}}]]</includeonly>
{{#if:{{{NoBreak|}}}||{{-}} }}
[[Category:Creatures{{#translation:}}]]
</includeonly>
<noinclude>
<noinclude>
{{AnimalTabs
{{Documentation}}
|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
}}
 
<translate><!--T:22--> Template for displaying an '''animal''''s male, female, and baby form in one chart.</translate>
 
:{| class="wikitable" style="width: 50%;"
|-
! width="1%" | <translate><!--T:23--> Section</translate>
! width="3%" | <translate><!--T:24--> Parameter</translate>
! width="10%" | <translate><!--T:25--> Description</translate>
|-
! <translate><!--T:26--> Image</translate>
| style="text-align:center;"| <nowiki>File:Chicken(Male).png</nowiki>
| <translate><!--T:27--> Image filename with "File:" prefix and ".png" suffix</translate>
|-
! rowspan="4" | <translate><!--T:28--> Health</translate>
| style="text-align:center;"| <translate><!--T:29--> Health Male</translate>
| 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>
|-
| style="text-align:center;"| <translate><!--T:31--> Health Female</translate>
|-
| style="text-align:center;"| <translate><!--T:32--> Health Male/Female</translate>
| <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>
|-
| style="text-align:center;"| <translate><!--T:34--> Health Baby</translate>
| <translate><!--T:35--> The health of the baby entity.</translate>
|-
! rowspan="5" | <translate><!--T:36--> Attack</translate>
| style="text-align:center;"| <translate><!--T:37--> Attack Male</translate>
| <translate><!--T:38--> Damage produced by the base attack of the male entity.</translate>
|-
| style="text-align:center;"| <translate><!--T:39--> Attack Female</translate>
| <translate><!--T:40--> Damage produced by the base attack of the female entity.</translate>
|-
| style="text-align:center;"| <translate><!--T:41--> Attack Male/Female</translate>
| <translate><!--T:42--> 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><!--T:43--> Attack Female/Baby</translate>
| <translate><!--T:44--> 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><!--T:45--> Attack Baby</translate>
| <translate><!--T:46--> Damage produced by the base attack of the baby entity.</translate>
|-
! rowspan="7" | <translate><!--T:47--> Characteristics</translate>
| style="text-align:center;"| <translate><!--T:59--> Alert range</translate>
| <translate><!--T:60--> Their range of vigilance for seeking a prey or for fleeing a predator.</translate>
|-
| style="text-align:center;"| <translate><!--T:63--> Run speed</translate>
| <translate><!--T:64--> Their running speed.</translate>
|-
| style="text-align:center;"| <translate><!--T:65--> Swim speed</translate>
| <translate><!--T:66--> Their swimming speed.</translate>
|-
| style="text-align:center;"| <translate><!--T:48--> Satiety to Mate</translate>
| <translate><!--T:49--> Portions needed to be eaten from a trough before the entity is ready to mate.</translate>
|-
| style="text-align:center;"| <translate><!--T:50--> Gestation Time</translate>
| <translate><!--T:51--> Time before the pregnant entity gives birth.</translate>
|-
| style="text-align:center;"| <translate><!--T:52--> Incubation Time</translate>
| <translate><!--T:53--> Time before the eggs hatch.</translate>
|-
| style="text-align:center;"| <translate><!--T:54--> Growth Time</translate>
| <translate><!--T:55--> Time before the baby entity becomes a full adult.</translate>
|-
! <translate><!--T:56--> Drops</translate>
| style="text-align:center;"| <translate><!--T:57--> Drops</translate>
| <translate><!--T:58--> Items the entity drops when looted.</translate>
|}
[[Category:Infoboxes]]
</noinclude>
</noinclude>

Latest revision as of 04:58, 9 October 2024


[view | edit | history | purge this page]Documentation
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.
[view | edit | history | purge this page]The above documentation is transcluded from Template:AnimalTabs/doc.