Template:Creature: Difference between revisions

From Vintage Story Wiki
mNo edit summary
m (rev)
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{|border="1" cellpadding="2" cellspacing="0" style="border-radius:7px; font-size:90%; width:250px; float:right; position:relative;"
<includeonly>
{|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;"
|-
|-
|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="#ffffff" colspan=2 style="text-align: center"| {{{Image}}}
|bgcolor="#d3ab92" colspan=2 style="text-align: center"| [[{{{Image}}}|100px]]
|-  
|-  
{{#if: {{{Health|}}} | {{#!:|- class{{{Health}}}
{{#if: {{{Health|}}} | {{#!:
|class="TC"|'''Health'''
|'''Health'''
|class="TC"|{{{Health}}}}}}}
|{{{Health}}}
{{#if: {{{BaseAttack|}}} | {{#!:|- class{{{BaseAttack}}}
}} }}
|class="TC"|'''Base Attack'''
|class="TC"|{{{BaseAttack|}}}}}}}
{{#if: {{{Abilities|}}} | {{#!:|- class{{{Abilities}}}
|class="TC"|'''Abilities'''
|class="TC"|{{{Abilities}}}}}}}
{{#if: {{{SeekRange|}}} | {{#!:|- class{{{SeekRange}}}
|class="TC"|'''Seek Range'''
|class="TC"|{{{SeekRange}}}}}}}
{{#if: {{{Drops|}}} | {{#!:|- class{{{Drops}}}
|class="TC"|<abbr title="Randomly varies between given range">'''Drops'''</abbr>
|class="TC"|{{{Drops}}}}}}}
|-
|-
{{#if: {{{Name2|}}} | {{#!:|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">'''{{{Name2}}}'''</font>}}}}
{{#if: {{{BaseAttack|}}} | {{#!:
|'''Base Attack'''
|{{{BaseAttack|}}}
}} }}
|-
|-
{{#if: {{{Image2|}}} | {{#!:|bgcolor="#ffffff" colspan=2 style="text-align: center"| {{{Image2}}}}}}}
{{#if: {{{DamageTier|}}} | {{#!:
|'''Damage Tier'''
|{{{DamageTier|}}}
}} }}
|-
|-
{{#if: {{{Health2|}}} | {{#!:|- class{{{Health2}}}
{{#if: {{{Abilities|}}} | {{#!:
|class="TC"|'''Health'''
|'''Abilities'''
|class="TC"|{{{Health}}}}}}}
|{{{Abilities}}}
{{#if: {{{BaseAttack2|}}} | {{#!:|- class{{{BaseAttack2}}}
}} }}
|class="TC"|'''Base Attack'''
|class="TC"|{{{BaseAttack2|}}}}}}}
{{#if: {{{Abilities2|}}} | {{#!:|- class{{{Abilities2}}}
|class="TC"|'''Abilities'''
|class="TC"|{{{Abilities}}}}}}}
{{#if: {{{SeekRange2|}}} | {{#!:|- class{{{SeekRange2}}}
|class="TC"|'''Seek Range'''
|class="TC"|{{{SeekRange2}}}}}}}
{{#if: {{{Drops2|}}} | {{#!:|- class{{{Drops2}}}
|class="TC"|<abbr title="Randomly varies between given range">'''Drops'''</abbr>
|class="TC"|{{{Drops2}}}}}}}
|-
|-
{{#if: {{{Name3|}}} | {{#!:|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">'''{{{Name3}}}'''</font>}}}}
{{#if: {{{SeekRange|}}} | {{#!:
|'''Seek Range'''
|{{{SeekRange}}}
}} }}
|-
|-
{{#if: {{{Image3|}}} | {{#!:|bgcolor="#ffffff" colspan=2 style="text-align: center"| {{{Image3}}}}}}}
{{#if: {{{DropCode1|}}} | {{#!:
{{Drops
|Code1={{{DropCode1|}}}
|Avg1={{{DropAvg1|}}}
|Var1={{{DropVar1|}}}
|Code2={{{DropCode2|}}}
|Avg2={{{DropAvg2|}}}
|Var2={{{DropVar2|}}}
|Code3={{{DropCode3|}}}
|Avg3={{{DropAvg3|}}}
|Var3={{{DropVar3|}}}
|Code4={{{DropCode4|}}}
|Avg4={{{DropAvg4|}}}
|Var4={{{DropVar4|}}}
}}
}} }}
|-
|-
{{#if: {{{Health3|}}} | {{#!:|- class{{{Health3}}}
|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>]]
|class="TC"|'''Health'''
|}
|class="TC"|{{{Health3}}}}}}}
</includeonly>
{{#if: {{{BaseAttack3|}}} | {{#!:|- class{{{BaseAttack3}}}
<noinclude>
|class="TC"|'''Base Attack'''
{{Creature
|class="TC"|{{{BaseAttack3|}}}}}}}
|Name=Drifter
{{#if: {{{Abilities3|}}} | {{#!:|- class{{{Abilities3}}}
|Image=<nowiki>[[File:Surface drifter.png]]</nowiki>
|class="TC"|'''Abilities'''
|Health=10
|class="TC"|{{{Abilities}}}}}}}
|BaseAttack=5
{{#if: {{{SeekRange3|}}} | {{#!:|- class{{{SeekRange3}}}
|Abilities=Climbing
|class="TC"|'''Seek Range'''
|SeekRange=10
|class="TC"|{{{SeekRange3}}}}}}}
|DropCode1=Flax
{{#if: {{{Drops3|}}} | {{#!:|- class{{{Drops3}}}
|DropAvg1=1
|class="TC"|<abbr title="Randomly varies between given range">'''Drops'''</abbr>
}}
|class="TC"|{{{Drops3}}}}}}}
{| class="wikitable"
|-
! Parameter !! Required or Optional, default if applicable !! Example
|-
| ''Name'' || Required || Drifter
|-
|-
|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>]]
| ''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]]
|}
|}
[[Category:Infoboxes]]
</noinclude>

Revision as of 00:25, 5 April 2022


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