Template:AnimalTabs: Difference between revisions

From Vintage Story Wiki
No edit summary
mNo edit summary
 
(46 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude><languages /></noinclude>
<includeonly>
<includeonly>
{|border="1" cellpadding="2" cellspacing="0" class="screwTemplatesMan" style="border-radius:7px; font-size:90%; width:250px; float:right; position:relative; margin-left:15px; margin-bottom: 5px;"
{| 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}}}  = File:{{{image}}}  
{{!}}-{{!}} {{{Title}}}  = [[{{{image}}}|130px|center]]
{{!}}-{{!}} {{{Title2}}} = File:{{{image2}}}
{{!}}-{{!}} {{{Title2}}} = [[{{{image2}}}|130px|center]]
{{!}}-{{!}} {{{Title3}}} = File:{{{image3}}}
{{!}}-{{!}} {{{Title3}}} = [[{{{image3}}}|130px|center]]
}}
}}
|-
|-
|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>
|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|}}} | {{#!:
|'''Health ({{{Title}}})'''
|'''<translate><!--T:2--> Health</translate> ({{{Title}}})'''
|{{{HealthM}}}
|{{{HealthM}}}
}} }}
}} }}
|-
|-
{{#if: {{{HealthF|}}} | {{#!:
{{#if: {{{HealthF|}}} | {{#!:
|'''Health ({{{Title2}}})'''
|'''<translate><!--T:3--> Health</translate> ({{{Title2}}})'''
|{{{HealthF}}}
|{{{HealthF}}}
}} }}
}} }}
|-
|-
{{#if: {{{HealthMF|}}} | {{#!:
{{#if: {{{HealthMF|}}} | {{#!:
|'''Health ({{{Title}}}/{{{Title2}}})'''
|'''<translate><!--T:4--> Health</translate> ({{{Title}}}/{{{Title2}}})'''
|{{{HealthMF}}}
|{{{HealthMF}}}
}} }}
}} }}
|-
|-
| '''Health ({{{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">'''Attack'''</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|}}} | {{#!:
|'''Base Attack ({{{Title}}})'''
|'''<translate><!--T:7--> Base Attack</translate> ({{{Title}}})'''
|{{{BaseAttackM}}}
|{{{BaseAttackM}}}
}} }}
}} }}
|-
|-
{{#if: {{{BaseAttackF|}}} | {{#!:
{{#if: {{{BaseAttackF|}}} | {{#!:
|'''Base Attack ({{{Title2}}})'''
|'''<translate><!--T:8--> Base Attack</translate> ({{{Title2}}})'''
|{{{BaseAttackF}}}
|{{{BaseAttackF}}}
}} }}
}} }}
|-
|-
{{#if: {{{BaseAttackMF|}}} | {{#!:
{{#if: {{{BaseAttackMF|}}} | {{#!:
|'''Base Attack ({{{Title}}}/{{{Title2}}})'''
|'''<translate><!--T:9--> Base Attack</translate> ({{{Title}}}/{{{Title2}}})'''
|{{{BaseAttackMF}}}
|{{{BaseAttackMF}}}
}} }}
}} }}
|-
|-
{{#if: {{{BaseAttackFB|}}} | {{#!:
{{#if: {{{BaseAttackFB|}}} | {{#!:
|'''Base Attack ({{{Title2}}}/{{{Title3}}})'''
|'''<translate><!--T:10--> Base Attack</translate> ({{{Title2}}}/{{{Title3}}})'''
|{{{BaseAttackFB}}}
|{{{BaseAttackFB}}}
}} }}
}} }}
|-
|-
{{#if: {{{BaseAttackB|}}} | {{#!:
{{#if: {{{BaseAttackB|}}} | {{#!:
|'''Base Attack ({{{Title3}}})'''
|'''<translate><!--T:11--> Base Attack</translate> ({{{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">'''Characteristics'''</font>
|bgcolor="#5E462A" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="#EAD3B3">'''<translate><!--T:12--> Behavior</translate>'''</font>
|-
{{#if: {{{SeekRangeM|}}} | {{#!:
|'''<translate><!--T:16--> Alert Range (m)</translate> ({{{Title}}})'''
|{{{SeekRangeM}}}
}} }}
|-
{{#if: {{{SeekRangeF|}}} | {{#!:
|'''<translate><!--T:17--> Alert Range (m)</translate> ({{{Title2}}})'''
|{{{SeekRangeF}}}
}} }}
|-
{{#if: {{{SeekRangeMF|}}} | {{#!:
|'''<translate><!--T:18--> Alert Range (m)</translate> ({{{Title}}}/{{{Title2}}})'''
|{{{SeekRangeMF}}}
}} }}
|-
{{#if: {{{SeekRangeB|}}} | {{#!:
|'''<translate><!--T:19--> Alert Range (m)</translate> ({{{Title3}}})'''
|{{{SeekRangeB}}}
}} }}
|-
{{#if: {{{JumpHeight|}}} | {{#!:
|'''<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}}}
}} }}
|-
{{#if: {{{RunSpeedB|}}} | {{#!:
|'''<translate> <!--T:80--> Run Speed</translate>'''
|{{{RunSpeed}}}
}} }}
|-
{{#if: {{{SwimSpeedM|}}} | {{#!:
|'''<translate><!--T:62--> Swim Speed</translate>'''
|{{{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|}}} | {{#!:
{{#if: {{{PortionsEaten|}}} | {{#!:
|'''Satiety to Mate'''
|'''<translate><!--T:13--> Satiety to Mate (portions)</translate>'''
|{{{PortionsEaten}}}
|{{{PortionsEaten}}}
}} }}
}} }}
|-
|-
{{#if: {{{GestationTime|}}} | {{#!:
{{#if: {{{GestationTime|}}} | {{#!:
|'''Gestation Time (days)'''
|'''<translate><!--T:14--> Gestation Time (days)</translate>'''
|{{{GestationTime}}}
|{{{GestationTime}}}
}} }}
}} }}
|-
|-
{{#if: {{{IncubationTime|}}} | {{#!:
{{#if: {{{IncubationTime|}}} | {{#!:
|'''Incubation Time (days)'''
|'''<translate><!--T:15--> Incubation Time (days)</translate>'''
|{{{IncubationTime}}}
|{{{IncubationTime}}}
}} }}
}} }}
|-
|-
{{#if: {{{GrowthTime|}}} | {{#!:
{{#if: {{{GrowthTime|}}} | {{#!:
|'''Growth Time (days)'''
|'''<translate><!--T:20--> Growth Time (days)</translate>'''
|{{{GrowthTime}}}
|{{{GrowthTime}}}
}} }}
}} }}
|-
|-
{{Drops
{{Drops
|Code1={{{DropCode1|}}}
|Code1={{{DropCode1|}}}
Line 93: 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;"|
|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>
</includeonly>
<noinclude>
<noinclude>
Template for displaying an entity's male, female, and baby form in one chart.
{{Documentation}}
{{Sandbox/Darce/Test
|Name=Chicken
 
|Title= Rooster
|Title2= Hen
|Title3= Chick
 
|image= <nowiki>[[File:Chicken(Male).png|120px|center]]</nowiki>
|image2 = <nowiki>[[File:Chicken(Female).png|120px|center]]</nowiki>
|image3 = <nowiki>[[File:Chicken(Baby).png|120px|center]]</nowiki>
 
|HealthMF= 3
|HealthB= 1.5
 
|BaseAttackB=0.25
|BaseAttackMF=0.25
 
 
|PortionsEaten=3
|IncubationTime=120
|GrowthTime= 168
 
|DropCode1=Poultry
|DropAvg1=1.25
|DropVar1=0.25
|DropCode2=Feathers
|DropAvg2=12
|DropVar2=4
|DropCode3=Bone
|DropAvg3=0.5
}}
 
:{| class="wikitable" style="width: 50%;"
|-
! width="1%" | Section
! width="3%" | Parameter
! width="10%" | Description
|-
! rowspan="4" | Health
| 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.
|-
| style="text-align:center;"| Health Female
|-
| style="text-align:center;"| Health Male/Female
| When the health of both the male and female entity are the same, they must be presenten in one single row.
|-
| style="text-align:center;"| Health Baby
| The health of the baby entity
|-
! rowspan="5" | Attack
| style="text-align:center;"| Attack Male
| Damage produced by the base attack of the male entity
|-
| style="text-align:center;"| Attack Female
| Damage produced by the base attack of the female entity
|-
| 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.
|-
| 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.
|-
| style="text-align:center;"| Attack Baby
| Damage produced by the base attack of the baby entity
|-
! rowspan="4" | Characteristics
| style="text-align:center;"| Satiety to Mate
| Portions needed to be eaten from a trough before the entity is ready to mate.
|-
| style="text-align:center;"| Gestation Time
| Time before the pregnant entity gives birth.
|-
| style="text-align:center;"| Incubation Time
| Time before the eggs hatch.
|-
| style="text-align:center;"| Growth Time
| Time before the baby entity becomes a full adult.
|-
! Drops
| style="text-align:center;"| Drops
| Items the entity drops when looted
|}
[[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.