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 | <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">''' | |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|}}} | {{#!: | ||
|''' | |'''Health ({{{Title}}})''' | ||
|{{{HealthM}}} | |{{{HealthM}}} | ||
}} }} | }} }} | ||
|- | |- | ||
{{#if: {{{HealthF|}}} | {{#!: | {{#if: {{{HealthF|}}} | {{#!: | ||
|''' | |'''Health ({{{Title2}}})''' | ||
|{{{HealthF}}} | |{{{HealthF}}} | ||
}} }} | }} }} | ||
|- | |- | ||
{{#if: {{{HealthMF|}}} | {{#!: | {{#if: {{{HealthMF|}}} | {{#!: | ||
|''' | |'''Health ({{{Title}}}/{{{Title2}}})''' | ||
|{{{HealthMF}}} | |{{{HealthMF}}} | ||
}} }} | }} }} | ||
|- | |- | ||
| ''' | | '''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">''' | |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|}}} | {{#!: | ||
|''' | |'''Base Attack ({{{Title}}})''' | ||
|{{{BaseAttackM}}} | |{{{BaseAttackM}}} | ||
}} }} | }} }} | ||
|- | |- | ||
{{#if: {{{BaseAttackF|}}} | {{#!: | {{#if: {{{BaseAttackF|}}} | {{#!: | ||
|''' | |'''Base Attack ({{{Title2}}})''' | ||
|{{{BaseAttackF}}} | |{{{BaseAttackF}}} | ||
}} | }} | ||
Line 42: | Line 42: | ||
|- | |- | ||
{{#if: {{{BaseAttackMF|}}} | {{#!: | {{#if: {{{BaseAttackMF|}}} | {{#!: | ||
|''' | |'''Base Attack ({{{Title}}}/{{{Title2}}})''' | ||
|{{{BaseAttackMF}}} | |{{{BaseAttackMF}}} | ||
}} }} | }} }} | ||
|- | |- | ||
{{#if: {{{BaseAttackFB|}}} | {{#!: | {{#if: {{{BaseAttackFB|}}} | {{#!: | ||
|''' | |'''Base Attack ({{{Title2}}}/{{{Title3}}})''' | ||
|{{{BaseAttackFB}}} | |{{{BaseAttackFB}}} | ||
}} }} | }} }} | ||
|- | |- | ||
{{#if: {{{BaseAttackB|}}} | {{#!: | {{#if: {{{BaseAttackB|}}} | {{#!: | ||
|''' | |'''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">'''< | |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|}}} | {{#!: | ||
|''' | |'''Alert Range (m) ({{{Title}}})''' | ||
|{{{SeekRangeM}}} | |{{{SeekRangeM}}} | ||
}} }} | }} }} | ||
|- | |- | ||
{{#if: {{{SeekRangeF|}}} | {{#!: | {{#if: {{{SeekRangeF|}}} | {{#!: | ||
|''' | |'''Alert Range (m) ({{{Title2}}})''' | ||
|{{{SeekRangeF}}} | |{{{SeekRangeF}}} | ||
}} }} | }} }} | ||
|- | |- | ||
{{#if: {{{SeekRangeMF|}}} | {{#!: | {{#if: {{{SeekRangeMF|}}} | {{#!: | ||
|''' | |'''Alert Range (m) ({{{Title}}}/{{{Title2}}})''' | ||
|{{{SeekRangeMF}}} | |{{{SeekRangeMF}}} | ||
}} }} | }} }} | ||
|- | |- | ||
{{#if: {{{SeekRangeB|}}} | {{#!: | {{#if: {{{SeekRangeB|}}} | {{#!: | ||
|''' | |'''Alert Range (m) ({{{Title3}}})''' | ||
|{{{SeekRangeB}}} | |{{{SeekRangeB}}} | ||
}} }} | }} }} | ||
|- | |- | ||
{{#if: {{{JumpHeight|}}} | {{#!: | {{#if: {{{JumpHeight|}}} | {{#!: | ||
|''' | |'''Jump Height''' | ||
|{{{JumpHeight}}} | |{{{JumpHeight}}} | ||
}} }} | }} }} | ||
|- | |- | ||
{{#if: | {{#if: {{{RunSpeed|}}} | {{#!: | ||
|'''Run Speed''' | |||
|''' | |||
|{{{RunSpeed}}} | |{{{RunSpeed}}} | ||
}} }} | }} }} | ||
|- | |- | ||
{{#if: | {{#if: {{{SwimSpeed|}}} | {{#!: | ||
|'''Swim Speed''' | |||
|''' | |||
|{{{SwimSpeed}}} | |{{{SwimSpeed}}} | ||
}} }} | }} }} | ||
|- | |- | ||
{{#if: {{{GrowthTime|}}} | {{#!: | {{#if: {{{GrowthTime|}}} | {{#!: | ||
|''' | |'''Growth Time (days)''' | ||
|{{{GrowthTime}}} | |{{{GrowthTime}}} | ||
}} }} | }} }} | ||
Line 158: | Line 126: | ||
|Avg4={{{DropAvg4|}}} | |Avg4={{{DropAvg4|}}} | ||
|Var4={{{DropVar4|}}} | |Var4={{{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">''' | |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= | |Name=Chicken | ||
|Title= | |Title= Rooster | ||
|Title2= | |Title2= Hen | ||
|Title3= | |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 | ||
|SeekRangeMF=20 | |SeekRangeMF=20 | ||
|SeekRangeB=6 | |SeekRangeB=6 | ||
|SwimSpeed=100 | |||
|RunSpeed=200 | |RunSpeed=200 | ||
|GrowthTime= 168 | |||
|GrowthTime= | |||
|DropCode1={{ll|Poultry| | |DropCode1={{ll|Poultry|Poultry}} | ||
|DropAvg1=1.25 | |DropAvg1=1.25 | ||
|DropVar1=0.25 | |DropVar1=0.25 | ||
|DropCode2={{ll|Feathers| | |DropCode2={{ll|Feathers|Feathers}} | ||
|DropAvg2=12 | |DropAvg2=12 | ||
|DropVar2=4 | |DropVar2=4 | ||
|DropCode3={{ll|Bone| | |DropCode3={{ll|Bone|Bone}} | ||
|DropAvg3=0.5 | |DropAvg3=0.5 | ||
|FloatRight=yes | |FloatRight=yes | ||
Line 206: | Line 167: | ||
}} | }} | ||
Template for displaying an '''animal''''s male, female, and baby form in one chart. | |||
:{| class="wikitable" style="width: | :{| class="wikitable" style="width: 50%;" | ||
|- | |- | ||
! width=" | ! width="1%" | Section | ||
! width=" | ! width="3%" | Parameter | ||
! width=" | ! width="10%" | Description | ||
|- | |- | ||
! | ! Image | ||
| style="text-align:center;"| <nowiki>File: | | style="text-align:center;"| <nowiki>File:Chicken(Male).png</nowiki> | ||
| | | Image filename with "File:" prefix and ".png" suffix | ||
|- | |- | ||
! rowspan="4" | | ! rowspan="4" | Health | ||
| style="text-align:center;"| | | style="text-align:center;"| Health Male | ||
| rowspan="2" | | | 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;"| | | style="text-align:center;"| Health Female | ||
|- | |- | ||
| style="text-align:center;"| | | style="text-align:center;"| Health Male/Female | ||
| | | 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;"| | | style="text-align:center;"| Health Baby | ||
| | | The health of the baby entity. | ||
|- | |- | ||
! rowspan="5" | | ! rowspan="5" | Attack | ||
| style="text-align:center;"| | | style="text-align:center;"| Attack Male | ||
| | | Damage produced by the base attack of the male entity. | ||
|- | |- | ||
| style="text-align:center;"| | | style="text-align:center;"| Attack Female | ||
| | | Damage produced by the base attack of the female entity. | ||
|- | |- | ||
| style="text-align:center;"| | | 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;"| | | 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;"| | | style="text-align:center;"| Attack Baby | ||
| | | Damage produced by the base attack of the baby entity. | ||
|- | |- | ||
! rowspan=" | ! rowspan="7" | Characteristics | ||
| style="text-align:center;"| | | style="text-align:center;"| Alert range | ||
| | | Their range of vigilance for seeking a prey or for fleeing a predator. | ||
|- | |- | ||
| style="text-align:center;"| | | style="text-align:center;"| Jump height | ||
| | | The number of blocks they can jump. | ||
|- | |- | ||
| style="text-align:center;"| | | style="text-align:center;"| Run speed | ||
| | | Their running speed. | ||
|- | |- | ||
| style="text-align:center;"| | | style="text-align:center;"| Swim speed | ||
| | | Their swimming speed. | ||
|- | |- | ||
| style="text-align:center;"| Satiety to Mate | |||
| style="text-align:center;"| | | Portions needed to be eaten from a trough before the entity is ready to mate. | ||
| | |||
|- | |- | ||
| style="text-align:center;"| | | style="text-align:center;"| Gestation Time | ||
| | | Time before the pregnant entity gives birth. | ||
|- | |- | ||
| style="text-align:center;"| | | style="text-align:center;"| Incubation Time | ||
| | | Time before the eggs hatch. | ||
|- | |- | ||
| style="text-align:center;"| | | style="text-align:center;"| Growth Time | ||
| | | Time before the baby entity becomes a full adult. | ||
|- | |- | ||
! | ! Drops | ||
| style="text-align:center;"| | | style="text-align:center;"| Drops | ||
| | | Items the entity drops when looted. | ||
|} | |} | ||
[[Category:Infoboxes]] | [[Category:Infoboxes]] | ||
</noinclude> | </noinclude> |
Revision as of 11:25, 29 January 2024
Chicken | |
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.