Template:Creature: Difference between revisions

From Vintage Story Wiki
m (fix the image naming scheme)
No edit summary
 
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>
<noinclude><languages /></noinclude>
{|border="1" cellpadding="2" cellspacing="0" style="border-radius:7px; font-size:90%; width:250px; float:right; position:relative; margin-left:5px; margin-bottom: 5px;"
<includeonly>{|border="1" cellpadding="2" cellspacing="0" style="position:relative; border-radius:7px; font-size:90%; width:250px; float:right; margin-left:5px; margin-bottom: 5px;"
|-
|-
|bgcolor="#000000" colspan="2" class="TC" 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" class="TC" style="border-top-right-radius:7px; border-top-left-radius:7px; text-align:center; font-size:13.5px;"|<font color="white">'''{{{Name}}}'''</font>
|-
|-
|bgcolor="#d3ab92" colspan=2 style="text-align: center"| [[{{{Image}}}|100px]]
|bgcolor="#d3ab92" colspan=2 style="text-align: center"| [[{{{Image}}}|130px]]
|-  
|-  
{{#if: {{{Health|}}} | {{#!:
{{#if: {{{Health|}}} | {{#!:
|'''Health'''
|'''<translate><!--T:1--> Health</translate>'''
|{{{Health}}}
|{{{Health}}}
}} }}
}} }}
|-
|-
{{#if: {{{BaseAttack|}}} | {{#!:
{{#if: {{{BaseAttack|}}} | {{#!:
|'''Base Attack'''
|'''<translate><!--T:2--> Base Attack</translate>'''
|{{{BaseAttack|}}}
|{{{BaseAttack|}}}
}} }}
|-
{{#if: {{{DamageTier|}}} | {{#!:
|'''<translate><!--T:3--> Damage Tier</translate>'''
|{{{DamageTier|}}}
}} }}
}} }}
|-
|-
{{#if: {{{Abilities|}}} | {{#!:
{{#if: {{{Abilities|}}} | {{#!:
|'''Abilities'''
|'''<translate><!--T:4--> Abilities</translate>'''
|{{{Abilities}}}
|{{{Abilities}}}
}} }}
}} }}
|-
|-
{{#if: {{{SeekRange|}}} | {{#!:
{{#if: {{{SeekRange|}}} | {{#!:
|'''Seek Range'''
|'''<translate><!--T:5--> Seek Range (m)</translate>'''
|{{{SeekRange}}}
|{{{SeekRange}}}
}} }}
}} }}
Line 40: Line 45:
|Avg4={{{DropAvg4|}}}
|Avg4={{{DropAvg4|}}}
|Var4={{{DropVar4|}}}
|Var4={{{DropVar4|}}}
|Code5={{{DropCode5|}}}
|Avg5={{{DropAvg5|}}}
|Var5={{{DropVar5|}}}
|Code6={{{DropCode6|}}}
|Avg6={{{DropAvg6|}}}
|Var6={{{DropVar6|}}}
|Code7={{{DropCode7|}}}
|Avg7={{{DropAvg7|}}}
|Var7={{{DropVar7|}}}
|Code8={{{DropCode8|}}}
|Avg8={{{DropAvg8|}}}
|Var8={{{DropVar8|}}}
|Code9={{{DropCode9|}}}
|Avg9={{{DropAvg9|}}}
|Var9={{{DropVar9|}}}
|Code10={{{DropCode10|}}}
|Avg10={{{DropAvg10|}}}
|Var10={{{DropVar10|}}}
|Code11={{{DropCode11|}}}
|Avg11={{{DropAvg11|}}}
|Var11={{{DropVar11|}}}
|Code12={{{DropCode12|}}}
|Avg12={{{DropAvg12|}}}
|Var12={{{DropVar12|}}}
|Code13={{{DropCode13|}}}
|Avg13={{{DropAvg13|}}}
|Var13={{{DropVar13|}}}
|Code14={{{DropCode14|}}}
|Avg14={{{DropAvg14|}}}
|Var14={{{DropVar14|}}}
|Code15={{{DropCode15|}}}
|Avg15={{{DropAvg15|}}}
|Var15={{{DropVar15|}}}
}}
}}
}} }}
}} }}
|-
|-
|bgcolor="#000000" colspan="2" class="Bloba" style="text-align:center; font-size:13.5px; border-bottom-right-radius:7px; border-bottom-left-radius:7px;"|[[Mobs|<font color="white">'''Mobs'''</font>]]
|bgcolor="#000000" colspan="2" class="Bloba" style="text-align:center; font-size:13.5px; border-bottom-right-radius:7px; border-bottom-left-radius:7px;"|[[Mobs|<font color="white">'''<translate><!--T:6--> Mobs</translate>'''</font>]]
|}
|}{{#if:{{{NoBreak|}}}||{{-}} }}
</includeonly>
[[Category:Creatures{{#translation:}}]]</includeonly>
<noinclude>
<noinclude>
{{Creature
{{Creature
|Name=Drifter
|Name=<translate><!--T:7--> Drifter</translate>
|Image=<nowiki>[[File:Surface drifter.png]]</nowiki>
|Image=File:Normal_Drifter.png
|Health=10
|Health=10
|BaseAttack=5
|BaseAttack=5
|Abilities=Climbing
|DamageTier=1
|Abilities=<translate><!--T:8--> Climbing</translate>
|SeekRange=10
|SeekRange=10
|DropCode1=Flax
|DropCode1=Flax
|DropAvg1=1
|DropAvg1=1
|FloatRight=yes
|NoBreak=yes
}}
}}
<translate><!--T:23--> Template for describing '''creatures'''.</translate>
{| class="wikitable"
{| class="wikitable"
|-
|-
! Parameter !! Required or Optional, default if applicable !! Example
! <translate><!--T:9--> Parameter</translate> !! <translate><!--T:10--> Required or Optional, default if applicable</translate> !! <translate><!--T:11--> Example</translate>
|-
| ''Name'' || <translate><!--T:12--> Required</translate> || <translate><!--T:13--> Drifter</translate>
|-
|-
| ''Name'' || Required || Drifter
| ''Image'' || <translate><!--T:14--> Required</translate> || File:Normal_Drifter.png
|-
|-
| ''Image'' || Required || File:Surface drifter.png
| ''Health'' || <translate><!--T:15--> Optional</translate> || 10
|-
|-
| ''Health'' || Optional || 10
| ''BaseAttack'' || <translate><!--T:16--> Optional</translate> || 5
|-
|-
| ''BaseAttack'' || Optional || 5
| ''DamageTier'' || <translate><!--T:17--> Optional</translate> || 1
|-
|-
| ''Abilities'' || Optional || Climbing
| ''Abilities'' || <translate><!--T:18--> Optional</translate> || <translate><!--T:19--> Climbing</translate>
|-
|-
| ''SeekRange'' || Optional || 10
| ''SeekRange'' || <translate><!--T:20--> Optional</translate> || 10
|-
|-
| Drops || Optional || See [[Template:Drops]]
| ''Drops'' || <translate><!--T:21--> Optional</translate> || <translate><!--T:22--> See</translate> [[Template:Drops]]
|}
|}
[[Category:Infoboxes]]
[[Category:Infoboxes]]
</noinclude>
</noinclude>

Latest revision as of 19:17, 19 January 2024

Other languages:


Drifter
Normal Drifter.png
Health 10
Base Attack 5
Damage Tier 1
Abilities Climbing
Seek Range (m) 10
Drops
Flax 1*
Mobs


Template for describing creatures.

Parameter Required or Optional, default if applicable Example
Name Required Drifter
Image Required File:Normal_Drifter.png
Health Optional 10
BaseAttack Optional 5
DamageTier Optional 1
Abilities Optional Climbing
SeekRange Optional 10
Drops Optional See Template:Drops