Difference between revisions of "Template:Show badge"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<includeonly><table class="badge" cellspacing="0" style="width:238px;background:#{{{background|fff}}};border:solid #{{{border|000}}} 3px;margin:1px;"> | <includeonly><table class="badge" cellspacing="0" style="width:238px;background:#{{{background|fff}}};border:solid #{{{border|000}}} 3px;margin:1px;"> | ||
<tr><td style="width:{{#ifeq:{{{graphic position|left}}}|top|238px|45px}};height:{{{height|157px}}};background:#{{{background|fff}}};text-align:center;font-size:14pt;"> | <tr><td style="width:{{#ifeq:{{{graphic position|left}}}|top|238px|45px}};height:{{{height|157px}}};background:#{{{background|fff}}};text-align:center;font-size:14pt;"> | ||
− | [[File:{{#titleparts:{{{image|Tobaccospin.jpg}}}||-1}}|{{#replace:{{{width|84px}}}|px|}}x{{{height|157px}}}|{{#ifeq:{{{graphic position|left}}}|top|center|left}}|link={{{title|Portal:Tobacco}}}]] | + | [[File:{{#titleparts:{{{image|Tobaccospin.jpg}}}||-1}}|{{#replace:{{#sub:{{{width|84px}}}|-2}}|px|}}x{{{height|157px}}}|{{#ifeq:{{{graphic position|left}}}|top|center|left}}|link={{{title|Portal:Tobacco}}}]] |
</td> | </td> | ||
{{#ifeq:{{{graphic position|left}}}|top|</tr><tr>}} | {{#ifeq:{{{graphic position|left}}}|top|</tr><tr>}} |