Difference between revisions of "Template:Item"

From Better Than Wolves Wiki
Jump to: navigation, search
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{infobox common
+
{{infobox common
 
| title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
 
| title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
| imagearea = {{#if: {{{image|}}} | {{{image}}} | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png }}
+
| imagearea = {{#if: {{#pos: {{{image}}} | ; }}
| rows = {{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }}
+
  | {{animate|{{{image}}}|return=[[File:{1}|150px|center]]}}
 +
  | [[File:{{#if: {{{image|}}} | {{{image}}}| {{#ifexist: File:{{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | No item image.png}} }}|150px|link=File:{{#if: {{{image|}}} | {{{image}}} | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png }}|center]]}}
 +
| imagearea2 = {{#if:{{{image2|}}} | {{#if: {{#pos: {{{image2}}} | ; }}
 +
  | {{animate|{{{image2}}}|return=[[File:{1}|150px|center]]}}
 +
  | [[File:{{{image2}}}|link=File:{{{image2}}}|150px|center]]
 +
}}}}
 +
{{#if:{{{invimage1|}}}|<div style="text-align: center; padding: 4px;">{{Grid2|{{{invimage1}}}}}</div>}}
 +
| 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}}} | ? }} }}
{{#if: {{{firstver|}}} | {{infobox row|label=[[Version history|First Appearance]]|field={{{firstver}}} }} }}
+
{{infobox row|label=Damage|field={{{damage}}}|style={{#if: {{{damage|}}} | |style="display:none;" }} }}
{{#if: {{{buoy|}}} | {{infobox row|label=[[Hardcore Buoy|Buoyancy]]|field={{{buoy}}} }} }}
+
{{infobox row|label=Protection|field={{{protection}}} x [[File:ArmorFull.png|16px]]|style={{#if: {{{protection|}}} | |style="display:none;" }} }}
{{#if: {{{filters|}}} | {{infobox row|label=[[Hopper#Filtering|Filtering]]|field={{{filters}}} }} }}
+
{{infobox row|label=Durability|field={{{durability}}}|style={{#if: {{{durability|}}} | |style="display:none;" }} }}
}}{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}
+
{{infobox row|label=[[Version history|First Appearance]]|field={{{firstver}}}|style={{#if: {{{firstver|}}} | |style="display:none;" }} }}
</includeonly>
+
{{infobox row|label=[[Hopper#Filtering|Filtering]]|field={{{filters}}}|style={{#if: {{{filters|}}} | |style="display:none;"  }} }}
 
+
{{infobox row|label=[[Hardcore Buoy|Buoyancy]]|field={{{buoy}}}|style={{#if: {{{buoy|}}} | |style="display:none;" }} }}
<noinclude>
+
{{infobox row|label=Gravity|field={{{gravity}}}|style={{#if: {{{gravity|}}} | |style="display:none;" }} }}
{{Item/doc}}
+
{{infobox row|label=[[Fire|Flammable]]|field={{{flammable}}}|style={{#if: {{{flammable|}}} | |style="display:none;" }} }}
</noinclude>
+
{{infobox row|label=Data Value|field={{{data}}}|style={{#if: {{{data|}}} | |style="display:none;" }} }}
 +
}}
 +
[[Category:Items]]

Latest revision as of 01:17, 3 March 2024

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}}}