Difference between revisions of "Template:Block"
(Cleaned up and added inventory image slot. 3rd image slot still broken, certain rows like tools need icons added.) |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
| 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 block image.png}} }}|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 block 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}}}| | + | | [[File:{{{image2}}}|link=File:{{{image2}}}|150px|center]] |
− | + | }}}} | |
− | + | {{#if:{{{invimage1|}}}|<div style="text-align: center; padding: 4px;">{{Grid2|{{{invimage1}}}}}</div>}} | |
− | |||
− | |||
− | {{#if:{{{ | ||
| rows = | | rows = | ||
{{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }} | {{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }} |