Template:AnimalTabs/doc: Difference between revisions
From Vintage Story Wiki
(adding template doc cat) |
(Removed page from translation) |
||
Line 1: | Line 1: | ||
''psst! if you want to translate the documentation, view this subpage THEN try to translate it!'' | ''psst! if you want to translate the documentation, view this subpage THEN try to translate it!'' | ||
Template for displaying an '''animal''''s male, female, and baby form in one chart. | Template for displaying an '''animal''''s male, female, and baby form in one chart. | ||
== Usage == | == Usage == | ||
{| class="wikitable" style="width: 50%;" | {| class="wikitable" style="width: 50%;" | ||
|- | |- | ||
! width="1%" | | ! width="1%" | Section | ||
! width="3%" | | ! width="3%" | Parameter | ||
! width="10%" | | ! width="10%" | Description | ||
|- | |- | ||
! | ! 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 | ||
|- | |- | ||
! 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="7" | | ! 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;"| Run speed | ||
| | | Their running speed. | ||
|- | |- | ||
| style="text-align:center;"| | | style="text-align:center;"| Swim speed | ||
| | | Their swimming speed. | ||
|- | |- | ||
| style="text-align:center;"| | | 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;"| | | 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. | ||
|} | |} | ||
Line 81: | Line 77: | ||
| parameter1 || Description of what parameter1 is || string/boolean/file/number/any || yes/no/suggested | | parameter1 || Description of what parameter1 is || string/boolean/file/number/any || yes/no/suggested | ||
|} --> | |} --> | ||
=== Examples === | |||
=== Examples === | |||
{| class="wikitable | {| class="wikitable | ||
|- | |- | ||
Line 90: | Line 84: | ||
|Name=Chicken | |Name=Chicken | ||
|Title= Rooster | |Title= Rooster | ||
|Title2= Hen | |Title2= Hen | ||
|Title3= Chick | |Title3= Chick | ||
|image= File:Chicken(Male).png | |image= File:Chicken(Male).png | ||
|image2 = File:Chicken(Female).png | |image2 = File:Chicken(Female).png | ||
|image3 = File:Chicken(Baby).png | |image3 = File:Chicken(Baby).png | ||
|HealthMF= 3 | |HealthMF= 3 | ||
|HealthB= 1.5 | |HealthB= 1.5 | ||
|BaseAttackB=0.25 | |BaseAttackB=0.25 | ||
|BaseAttackMF=0.25 | |BaseAttackMF=0.25 | ||
|SeekRangeMF=20 | |SeekRangeMF=20 | ||
|SeekRangeB=6 | |SeekRangeB=6 | ||
Line 115: | Line 104: | ||
|GrowthTime= 168 | |GrowthTime= 168 | ||
|DropCode1=[[Poultry]] | |DropCode1=[[Poultry]] | ||
|DropAvg1=1.25 | |DropAvg1=1.25 | ||
Line 129: | Line 117: | ||
|Name=Chicken | |Name=Chicken | ||
|Title= Rooster | |Title= Rooster | ||
|Title2= Hen | |Title2= Hen | ||
|Title3= Chick | |Title3= Chick | ||
|image= File:Chicken(Male).png | |image= File:Chicken(Male).png | ||
|image2 = File:Chicken(Female).png | |image2 = File:Chicken(Female).png | ||
|image3 = File:Chicken(Baby).png | |image3 = File:Chicken(Baby).png | ||
|HealthMF= 3 | |HealthMF= 3 | ||
|HealthB= 1.5 | |HealthB= 1.5 | ||
|BaseAttackB=0.25 | |BaseAttackB=0.25 | ||
|BaseAttackMF=0.25 | |BaseAttackMF=0.25 | ||
|SeekRangeMF=20 | |SeekRangeMF=20 | ||
|SeekRangeB=6 | |SeekRangeB=6 | ||
Line 154: | Line 137: | ||
|GrowthTime= 168 | |GrowthTime= 168 | ||
|DropCode1=[[Poultry]] | |DropCode1=[[Poultry]] | ||
|DropAvg1=1.25 | |DropAvg1=1.25 | ||
Line 165: | Line 147: | ||
|FloatRight=yes | |FloatRight=yes | ||
|NoBreak=yes | |NoBreak=yes | ||
}} |} | }} |} | ||
Revision as of 11:26, 29 January 2024
psst! if you want to translate the documentation, view this subpage THEN try to translate it!
Template for displaying an animal's male, female, and baby form in one chart.
Usage
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. |
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. |
Examples
{{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 }} |
|