Difference between revisions of "Template:Item"
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{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. | + | | [[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: {{{ | + | {{infobox row|label=Damage|field={{{damage}}}|style={{#if: {{{damage|}}} | |style="display:none;" }} }} |
− | + | {{infobox row|label=Protection|field={{{protection}}} x [[File:ArmorFull.png|16px]]|style={{#if: {{{protection|}}} | |style="display:none;" }} }} | |
− | + | {{infobox row|label=Durability|field={{{durability}}}|style={{#if: {{{durability|}}} | |style="display:none;" }} }} | |
− | + | {{infobox row|label=[[Version history|First Appearance]]|field={{{firstver}}}|style={{#if: {{{firstver|}}} | |style="display:none;" }} }} | |
− | + | {{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;" }} }} | |
− | }} | + | {{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;" }} }} | ||
}} | }} | ||
− | + | [[Category:Items]] | |
− | |||
− | |||
− | |||
− | |||
− |