Difference between revisions of "Template:Infobox pet"

From Cube World Wiki
Jump to: navigation, search
Line 3: Line 3:
 
! colspan="2" class="infoboxname" | {{{name|{{PAGENAME}}}}}
 
! colspan="2" class="infoboxname" | {{{name|{{PAGENAME}}}}}
 
|-
 
|-
! colspan="2" {{!}} [[File:{{#if: {{{image|}}} | {{{image|{{PAGENAME}}.png}}}}}|290x290px]] | {{#ifeq: {{NAMESPACE}} | Template | | [[Category:Infoboxes lacking images]]}} }}
+
! colspan="2" {{!}} [[File:{{#if: {{{image|}}} |{{{image|{{PAGENAME}}.png}}}}}{{!}}|290x290px]] | {{#ifeq: {{NAMESPACE}} | Template | | [[Category:Infoboxes lacking images]]}} }}
 
|-
 
|-
 
! colspan="2" class="infoboxdetails" | Details
 
! colspan="2" class="infoboxdetails" | Details

Revision as of 15:27, 1 October 2019

Template-info.png Documentation

Usage

{{infobox pet
| image = //Optional field, {{PAGENAME}}.png will be used if no image is specified
| type = //Attack type
| mount = //Yes/No
| food = //Pet Food name required for taming
| biome = //See notes below
}}

Notes

For biome, see Landscapes