Template:Creature: Difference between revisions

From Vintage Story Wiki
No edit summary
No edit summary
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>
Line 7: Line 7:
|-  
|-  
{{#if: {{{Health|}}} | {{#!:
{{#if: {{{Health|}}} | {{#!:
|'''Health'''
|'''<translate>Health</translate>'''
|{{{Health}}}
|{{{Health}}}
}} }}
}} }}
|-
|-
{{#if: {{{BaseAttack|}}} | {{#!:
{{#if: {{{BaseAttack|}}} | {{#!:
|'''Base Attack'''
|'''<translate>Base Attack</translate>'''
|{{{BaseAttack|}}}
|{{{BaseAttack|}}}
}} }}
}} }}
|-
|-
{{#if: {{{DamageTier|}}} | {{#!:
{{#if: {{{DamageTier|}}} | {{#!:
|'''Damage Tier'''
|'''<translate>Damage Tier</translate>'''
|{{{DamageTier|}}}
|{{{DamageTier|}}}
}} }}
}} }}
|-
|-
{{#if: {{{Abilities|}}} | {{#!:
{{#if: {{{Abilities|}}} | {{#!:
|'''Abilities'''
|'''<translate>Abilities</translate>'''
|{{{Abilities}}}
|{{{Abilities}}}
}} }}
}} }}
|-
|-
{{#if: {{{SeekRange|}}} | {{#!:
{{#if: {{{SeekRange|}}} | {{#!:
|'''Seek Range'''
|'''<translate>Seek Range</translate>'''
|{{{SeekRange}}}
|{{{SeekRange}}}
}} }}
}} }}
Line 72: Line 72:
}} }}
}} }}
|-
|-
|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>Mobs</translate>'''</font>]]
|}
|}{{#if:{{{NoBreak|}}}||{{-}} }}
</includeonly>
[[Category:Creatures{{#translation:}}]]</includeonly>
<noinclude>
<noinclude>
{{Creature
{{Creature
|Name=Drifter
|Name=<translate>Drifter</translate>
|Image=<nowiki>[[File:Surface drifter.png]]</nowiki>
|Image=<nowiki>File:Surface drifter.png</nowiki>
|Health=10
|Health=10
|BaseAttack=5
|BaseAttack=5
|Abilities=Climbing
|Abilities=<translate>Climbing</translate>
|SeekRange=10
|SeekRange=10
|DropCode1=Flax
|DropCode1=Flax
|DropAvg1=1
|DropAvg1=1
|FloatRight=yes
|NoBreak=yes
}}
}}
{| class="wikitable"
{| class="wikitable"
|-
|-
! Parameter !! Required or Optional, default if applicable !! Example
! <translate>Parameter</translate> !! <translate>Required or Optional, default if applicable</translate> !! <translate>Example</translate>
|-
|-
| ''Name'' || Required || Drifter
| ''Name'' || <translate>Required</translate> || <translate>Drifter</translate>
|-
|-
| ''Image'' || Required || File:Surface drifter.png
| ''Image'' || <translate>Required</translate> || File:Surface drifter.png
|-
|-
| ''Health'' || Optional || 10
| ''Health'' || <translate>Optional</translate> || 10
|-
|-
| ''BaseAttack'' || Optional || 5
| ''BaseAttack'' || <translate>Optional</translate> || 5
|-
|-
| ''DamageTier'' || Optional || 1
| ''DamageTier'' || <translate>Optional</translate> || 1
|-
|-
| ''Abilities'' || Optional || Climbing
| ''Abilities'' || <translate>Optional</translate> || <translate>Climbing</translate>
|-
|-
| ''SeekRange'' || Optional || 10
| ''SeekRange'' || <translate>Optional</translate> || 10
|-
|-
| Drops || Optional || See [[Template:Drops]]
| ''Drops'' || <translate>Optional</translate> || <translate>See</translate> [[Template:Drops]]
|}
|}
[[Category:Infoboxes]]
[[Category:Infoboxes]]
</noinclude>
</noinclude>

Revision as of 05:47, 31 July 2023

Other languages:


Drifter
[[File:Surface drifter.png|130px]]
Health 10
Base Attack 5
Abilities Climbing
Seek Range (m) 10
Drops
Flax 1*
Mobs
Parameter Required or Optional, default if applicable Example
Name Required Drifter
Image Required File:Surface drifter.png
Health Optional 10
BaseAttack Optional 5
DamageTier Optional 1
Abilities Optional Climbing
SeekRange Optional 10
Drops Optional See Template:Drops