Difference between revisions of "Template:Item"

From Better Than Wolves Wiki
Jump to: navigation, search
(Fixed Category Link)
m
Line 1: Line 1:
 
<includeonly>{{infobox common
 
<includeonly>{{infobox common
 
| title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
 
| title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
| imagearea = [[File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | No image.svg}} }}|link=File:{{#if: {{{image|}}} | {{{image}}} | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png }}|100px|center]]
+
| imagearea = [[File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | No image.svg}} }}|link=File:{{#if: {{{image|}}} | {{{image}}} | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png }}|center]]
 
| rows = {{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }}
 
| rows = {{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }}
 
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | ? }} }}
 
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | ? }} }}

Revision as of 11:33, 13 November 2012


Item


Type

?

Stackable

?

Damage

{{{damage}}}

Protection

{{{protection}}} x ArmorFull.png

Durability

{{{durability}}}

First Appearance

{{{firstver}}}

Filtering

{{{filters}}}

Buoyancy

{{{buoy}}}

Gravity

{{{gravity}}}

Flammable

{{{flammable}}}

Data Value

{{{data}}}

This template provides a uniform design for usable item pages.

{{Item
|title=
|image=
|type=
|stackable=
|firstver=
|data=
}}

Please note that if the item has multiple data values, use |multipledata= instead. See below:

Parameter Function Default/Example value
title Optional value to use a different title instead of the page name {{BASEPAGENAME}}
image Image of the block (should be approx. 100x100px) {{{title}}}.png
type Type (Weapon, Ranged Weapon, Craftable Item, Tool, etc. )  ?
stackable Stackable  ?
firstver First version that it was seen in (e.g. 2.99, 3.40). None
data multipledata= instead for multiple data values.