Difference between revisions of "Template:InlineItemImage"

From TFC:TNG
Jump to navigation Jump to search
(top padding was too low.)
(yes .5 px is a big change....)
Line 1: Line 1:
<includeonly><span {{#if: {{{background|}}} | style="background: #8b8b8b; margin: -2px 0 0 -4px; border-style: solid solid solid solid; border-top-color: #5f5f5f; border-left-color: #5f5f5f; width: 32px; padding-top: 9px;
+
<includeonly><span {{#if: {{{background|}}} | style="background: #8b8b8b; margin: -2px 0 0 -4px; border-style: solid solid solid solid; border-top-color: #5f5f5f; border-left-color: #5f5f5f; width: 32px; padding-top: 6.5px;
padding-bottom: 10px;"}} > {{#ifexist: File:{{{1|}}}.png|[[File:{{{1}}}.png|32px{{#if:{{{2|}}}|{{!}}link={{{2}}} }}]]|[[File:No_block_image.png|32px|link=File:{{{1}}}.png]]}} {{#if: {{{background|}}} | </span> }}</includeonly>
+
padding-bottom: 9.5px;"}} > {{#ifexist: File:{{{1|}}}.png|[[File:{{{1}}}.png|32px{{#if:{{{2|}}}|{{!}}link={{{2}}} }}]]|[[File:No_block_image.png|32px|link=File:{{{1}}}.png]]}} {{#if: {{{background|}}} | </span> }}</includeonly>

Revision as of 07:51, 27 January 2020