Difference between revisions of "Template:TypesOffense"
From Pokemon World Online Wiki
(Rehauling this... Should soon work perfectly as intended. :)) |
m |
||
| Line 10: | Line 10: | ||
<tr style="background: #{{{{{1}}}_color_light}}; line-height: 45px;"> | <tr style="background: #{{{{{1}}}_color_light}}; line-height: 45px;"> | ||
<td width="25%" rowspan="6" style="border: #{{{{{1}}}_color_dark}} 2px solid; border-radius: 1px 1px 1px 15px; text-align: left;"> | <td width="25%" rowspan="6" style="border: #{{{{{1}}}_color_dark}} 2px solid; border-radius: 1px 1px 1px 15px; text-align: left;"> | ||
| − | {{#if: {{{s1|}}} | <div style="color: #FFFFFF; width: 55px; float: left; font-weight: bold; background: #{{{{{s1}}}_color}}; border-radius: 15px; border: 3px #{{{{{s1}}}_color_dark}} solid; margin-top: 5px; margin-right: 5px; margin-left: 10px; margin-bottom: 5px;">{{{s1}}}_(type)|<span style="color: #FFFFFF;">{{{s1}}}</span>]]</div>}} | + | {{#if: {{{s1|}}} | <div style="color: #FFFFFF; width: 55px; float: left; font-weight: bold; background: #{{{{{s1}}}_color}}; border-radius: 15px; border: 3px #{{{{{s1}}}_color_dark}} solid; margin-top: 5px; margin-right: 5px; margin-left: 10px; margin-bottom: 5px;">[[{{{s1}}}_(type)|<span style="color: #FFFFFF;">{{{s1}}}</span>]]</div>}} |
{{#if: {{{s2|}}} | <div style="color: #FFFFFF; width: 55px; float: left; background: #{{{{{s2}}}_color}}; border-radius: 15px; border: 3px ##{{{{{s2}}}_color_dark}} solid; margin-top: 5px; margin-bottom: 5px;">[[{{{s2}}}_(type)|<span style="color: #FFFFFF;">{{{s2}}}</span>]]</div>]]</div>}} | {{#if: {{{s2|}}} | <div style="color: #FFFFFF; width: 55px; float: left; background: #{{{{{s2}}}_color}}; border-radius: 15px; border: 3px ##{{{{{s2}}}_color_dark}} solid; margin-top: 5px; margin-bottom: 5px;">[[{{{s2}}}_(type)|<span style="color: #FFFFFF;">{{{s2}}}</span>]]</div>]]</div>}} | ||
| − | {{#if: {{{s3|}}} | <div style="color: #FFFFFF; width: 55px; float: left; font-weight: bold; background: #{{{{{s3}}}_color}}; border-radius: 15px; border: 3px #{{{{{s3}}}_color_dark}} solid; margin-top: 5px; margin-right: 5px; margin-left: 10px; margin-bottom: 5px;">{{{s3}}}_(type)|<span style="color: #FFFFFF;">{{{s3}}}</span>]]</div>}} | + | {{#if: {{{s3|}}} | <div style="color: #FFFFFF; width: 55px; float: left; font-weight: bold; background: #{{{{{s3}}}_color}}; border-radius: 15px; border: 3px #{{{{{s3}}}_color_dark}} solid; margin-top: 5px; margin-right: 5px; margin-left: 10px; margin-bottom: 5px;">[[{{{s3}}}_(type)|<span style="color: #FFFFFF;">{{{s3}}}</span>]]</div>}} |
{{#if: {{{s4|}}} | <div style="color: #FFFFFF; width: 55px; float: left; background: #{{{{{s4}}}_color}}; border-radius: 15px; border: 3px ##{{{{{s4}}}_color_dark}} solid; margin-top: 5px; margin-bottom: 5px;">[[{{{s4}}}_(type)|<span style="color: #FFFFFF;">{{{s4}}}</span>]]</div>]]</div>}} | {{#if: {{{s4|}}} | <div style="color: #FFFFFF; width: 55px; float: left; background: #{{{{{s4}}}_color}}; border-radius: 15px; border: 3px ##{{{{{s4}}}_color_dark}} solid; margin-top: 5px; margin-bottom: 5px;">[[{{{s4}}}_(type)|<span style="color: #FFFFFF;">{{{s4}}}</span>]]</div>]]</div>}} | ||
| − | {{#if: {{{s5|}}} | <div style="color: #FFFFFF; width: 55px; float: left; font-weight: bold; background: #{{{{{s5}}}_color}}; border-radius: 15px; border: 3px #{{{{{s5}}}_color_dark}} solid; margin-top: 5px; margin-right: 5px; margin-left: 10px;">{{{s5}}}_(type)|<span style="color: #FFFFFF;">{{{s5}}}</span>]]</div>}} | + | {{#if: {{{s5|}}} | <div style="color: #FFFFFF; width: 55px; float: left; font-weight: bold; background: #{{{{{s5}}}_color}}; border-radius: 15px; border: 3px #{{{{{s5}}}_color_dark}} solid; margin-top: 5px; margin-right: 5px; margin-left: 10px;">[[{{{s5}}}_(type)|<span style="color: #FFFFFF;">{{{s5}}}</span>]]</div>}} |
</td> | </td> | ||
<td width="25%" rowspan="6" style="border: #{{{{{1}}}_color}} 2px solid; border-radius:1px; text-align: left;"></td> | <td width="25%" rowspan="6" style="border: #{{{{{1}}}_color}} 2px solid; border-radius:1px; text-align: left;"></td> | ||