Difference between revisions of "Template:Item"

From Better Than Wolves Wiki
Jump to: navigation, search
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
 
 
{{infobox common
 
{{infobox common
 
| title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
 
| title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
 
| imagearea = {{#if: {{#pos: {{{image}}} | ; }}
 
| imagearea = {{#if: {{#pos: {{{image}}} | ; }}
   | {{animate|{{{image}}}|return=[[File:{1}|center]]}}
+
   | {{animate|{{{image}}}|return=[[File:{1}|150px|center]]}}
   | [[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]]
+
   | [[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}}} | ; }}
 
| imagearea2 = {{#if:{{{image2|}}} | {{#if: {{#pos: {{{image2}}} | ; }}
   | {{animate|{{{image2}}}|return=[[File:{1}|center]]}}
+
   | {{animate|{{{image2}}}|return=[[File:{1}|150px|center]]}}
   | [[File:{{{image2}}}|link=File:{{{image2}}}|center]]
+
   | [[File:{{{image2}}}|link=File:{{{image2}}}|150px|center]]
 
}}}}
 
}}}}
| rows = {{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }}
+
{{#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}}} }} <br>}}<!--
+
{{infobox row|label=Damage|field={{{damage}}}|style={{#if: {{{damage|}}} | |style="display:none;" }} }}
-->{{#if: {{{buoy|}}} | {{infobox row|label=[[Hardcore Buoy|Buoyancy]]|field={{{buoy}}} }} <br>}}<!--
+
{{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}}} }} <br>}}<!--
+
{{infobox row|label=Durability|field={{{durability}}}|style={{#if: {{{durability|}}} | |style="display:none;" }} }}
-->{{#if: {{{multipledata|}}}
+
{{infobox row|label=[[Version history|First Appearance]]|field={{{firstver}}}|style={{#if: {{{firstver|}}} | |style="display:none;" }} }}
  | {{infobox row|label=[[Data values]]|field={{{multipledata}}} }}
+
{{infobox row|label=[[Hopper#Filtering|Filtering]]|field={{{filters}}}|style={{#if: {{{filters|}}} | |style="display:none;"  }} }}
  | {{#if: {{{data|}}} | {{infobox row|label=[[Data values|Data value]]|field={{data value|{{{data}}} }} }} }}
+
{{infobox row|label=[[Hardcore Buoy|Buoyancy]]|field={{{buoy}}}|style={{#if: {{{buoy|}}} | |style="display:none;" }} }}
}}
+
{{infobox row|label=Gravity|field={{{gravity}}}|style={{#if: {{{gravity|}}} | |style="display:none;" }} }}
 +
{{infobox row|label=[[Fire|Flammable]]|field={{{flammable}}}|style={{#if: {{{flammable|}}} | |style="display:none;" }} }}
 +
{{infobox row|label=Data Value|field={{{data}}}|style={{#if: {{{data|}}} | |style="display:none;" }} }}
 
}}
 
}}
{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}
+
[[Category:Items]]
</includeonly>
 
 
 
<noinclude>
 
{{Item/doc}}
 
</noinclude>
 

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