Difference between revisions of "Template:InlineItemImage"

From TFC:TNG
Jump to navigation Jump to search
(Fixed an oops on the background.)
(Added the background border and cleaned it all up good.)
Line 1: Line 1:
<includeonly><div {{#if: {{{background|}}} | style="background: #8b8b8b; margin: -2px 0 0 -2px;
+
<includeonly><div {{#if: {{{background|}}} | style="background: #8b8b8b; margin: -2px 0 0 -2px; border-style: solid solid solid solid; border-top-color: #5f5f5f;border-left-color: #5f5f5f;width: 32px;"}} > {{#ifexist: File:{{{1|}}}.png|[[
border-style: solid none none solid; border-width:2px; border-color:#373737;"}} > {{#ifexist: File:{{{1|}}}.png|[[File:{{{1}}}.png|32px{{#if:{{{2|}}}|{{!}}link={{{2}}} }}]]|[[File:No_block_image.png|32px|link=File:{{{1}}}.png]]}} {{#if: {{{background|}}} | </div> }}</includeonly>
+
File:{{{1}}}.png|32px{{#if:{{{2|}}}|{{!}}link={{{2}}} }}]]|[[File:No_block_image.png|32px|link=File:{{{1}}}.png]]}} {{#if: {{{background|}}} | </div> }}</includeonly>

Revision as of 04:21, 27 January 2020