Template:Creature: Difference between revisions

From Vintage Story Wiki
m (info about Template:Drops)
m (fix the image naming scheme)
Line 4: Line 4:
|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}}}
|bgcolor="#d3ab92" colspan=2 style="text-align: center"| [[{{{Image}}}|100px]]
|-  
|-  
{{#if: {{{Health|}}} | {{#!:
{{#if: {{{Health|}}} | {{#!:
Line 10: Line 10:
|{{{Health}}}
|{{{Health}}}
}} }}
}} }}
|-
{{#if: {{{BaseAttack|}}} | {{#!:
{{#if: {{{BaseAttack|}}} | {{#!:
|-
|'''Base Attack'''
|'''Base Attack'''
|{{{BaseAttack|}}}
|{{{BaseAttack|}}}
}} }}
}} }}
|-
{{#if: {{{Abilities|}}} | {{#!:
{{#if: {{{Abilities|}}} | {{#!:
|-
|'''Abilities'''
|'''Abilities'''
|{{{Abilities}}}
|{{{Abilities}}}
}} }}
}} }}
|-
{{#if: {{{SeekRange|}}} | {{#!:
{{#if: {{{SeekRange|}}} | {{#!:
|-
|'''Seek Range'''
|'''Seek Range'''
|{{{SeekRange}}}
|{{{SeekRange}}}
}} }}
}} }}
|-
{{#if: {{{DropCode1|}}} | {{#!:
{{#if: {{{DropCode1|}}} | {{#!:
|-
{{Drops
{{Drops
|Code1={{{DropCode1|}}}
|Code1={{{DropCode1|}}}
Line 63: Line 63:
| ''Name'' || Required || Drifter
| ''Name'' || Required || Drifter
|-
|-
| ''Image'' || Required || <nowiki>[[File:Surface drifter.png]]</nowiki>
| ''Image'' || Required || File:Surface drifter.png
|-
|-
| ''Health'' || Optional || 10
| ''Health'' || Optional || 10

Revision as of 15:24, 11 April 2020


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
Abilities Optional Climbing
SeekRange Optional 10
Drops Optional See Template:Drops