Difference between revisions of "Template:TypesOffense"
From Pokemon World Online Wiki
m |
(Nearly done... testing out this modularly expansive change.) |
||
| Line 10: | Line 10: | ||
<tr style="background: #{{{{{1}}}_color_light}};"> | <tr style="background: #{{{{{1}}}_color_light}};"> | ||
<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; text-align: center; font-weight: bold; background: #{{{{{s1}}}_color}}; border-radius: 15px; border: 3px #{{{{{s1}}}_color_dark}} solid; margin-top: 5px; margin-right: 5px; margin-left: | + | {{#if: {{{s1|}}} | <div style="color: #FFFFFF; width: 55px; float: left; text-align: center; font-weight: bold; background: #{{{{{s1}}}_color}}; border-radius: 15px; border: 3px #{{{{{s1}}}_color_dark}} solid; margin-top: 5px; margin-right: 5px; margin-left: 9px; margin-bottom: 5px;">[[{{{s1}}}_(type)|<span style="color: #FFFFFF;">{{{s1}}}</span>]]</div>}} |
{{#if: {{{s2|}}} | <div style="color: #FFFFFF; width: 55px; float: left; text-align: center; 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; text-align: center; 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; text-align: center; font-weight: bold; background: #{{{{{s3}}}_color}}; border-radius: 15px; border: 3px #{{{{{s3}}}_color_dark}} solid; margin-top: 5px; margin-right: 5px; margin-left: | + | {{#if: {{{s3|}}} | <div style="color: #FFFFFF; width: 55px; float: left; text-align: center; font-weight: bold; background: #{{{{{s3}}}_color}}; border-radius: 15px; border: 3px #{{{{{s3}}}_color_dark}} solid; margin-top: 5px; margin-right: 5px; margin-left: 9px; margin-bottom: 5px;">[[{{{s3}}}_(type)|<span style="color: #FFFFFF;">{{{s3}}}</span>]]</div>}} |
{{#if: {{{s4|}}} | <div style="color: #FFFFFF; width: 55px; float: left; text-align: center; 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; text-align: center; 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; text-align: center; font-weight: bold; background: #{{{{{s5}}}_color}}; border-radius: 15px; border: 3px #{{{{{s5}}}_color_dark}} solid; margin-top: 5px; margin-right: 5px; margin-left: | + | {{#if: {{{s5|}}} | <div style="color: #FFFFFF; width: 55px; float: left; text-align: center; font-weight: bold; background: #{{{{{s5}}}_color}}; border-radius: 15px; border: 3px #{{{{{s5}}}_color_dark}} solid; margin-top: 5px; margin-right: 5px; margin-left: 9px;">[[{{{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> | ||
<td width="25%" rowspan="6" style="border: #{{{{{1}}}_color}} 2px solid; border-radius:1px; text-align: left;"> | <td width="25%" rowspan="6" style="border: #{{{{{1}}}_color}} 2px solid; border-radius:1px; text-align: left;"> | ||
| − | {{#if: {{{w1|}}} | <div style="color: #FFFFFF; | + | {{#if: {{{w1|}}} | <div style="color: #FFFFFF; width: 55px; float: left; text-align: center; font-weight: bold; background: #{{{{{w1}}}_color}}; border-radius: 15px; border: 3px #{{{{{w1}}}_color_dark}} solid; margin-top: 5px; margin-right: 5px; margin-left: 9px; margin-bottom: 5px;">[[{{{w1}}}_(type)|<span style="color: #FFFFFF;">{{{w1}}}</span>]]</div>}} |
| − | {{#if: {{{w2|}}} | <div style="color: #FFFFFF; | + | {{#if: {{{w2|}}} | <div style="color: #FFFFFF; width: 55px; float: left; text-align: center; background: #{{{{{w2}}}_color}}; border-radius: 15px; border: 3px #{{{{{w2}}}_color_dark}} solid; margin-top: 5px; margin-bottom: 5px;">[[{{{w2}}}_(type)|<span style="color: #FFFFFF;">{{{w2}}}</span>]]</div></div>}} |
| − | {{#if: {{{w3|}}} | <div style="color: #FFFFFF; font-weight: bold; background: #{{{{{w3}}}_color}}; border-radius: 15px; border: #{{{{{w3}}}_color_dark}} | + | {{#if: {{{w3|}}} | <div style="color: #FFFFFF; width: 55px; float: left; text-align: center; font-weight: bold; background: #{{{{{w3}}}_color}}; border-radius: 15px; border: 3px #{{{{{w3}}}_color_dark}} solid; margin-top: 5px; margin-right: 5px; margin-left: 9px; margin-bottom: 5px;">[[{{{w3}}}_(type)|<span style="color: #FFFFFF;">{{{w3}}}</span>]]</div>}} |
| − | {{#if: {{{w4|}}} | < | + | {{#if: {{{w4|}}} | <div style="color: #FFFFFF; width: 55px; float: left; text-align: center; background: #{{{{{w4}}}_color}}; border-radius: 15px; border: 3px #{{{{{w4}}}_color_dark}} solid; margin-top: 5px; margin-bottom: 5px;">[[{{{w4}}}_(type)|<span style="color: #FFFFFF;">{{{w4}}}</span>]]</div></div>}} |
| − | {{#if: {{{w5|}}} | < | + | {{#if: {{{w5|}}} | <div style="color: #FFFFFF; width: 55px; float: left; text-align: center; font-weight: bold; background: #{{{{{w5}}}_color}}; border-radius: 15px; border: 3px #{{{{{w5}}}_color_dark}} solid; margin-top: 5px; margin-right: 5px; margin-left: 9px;">[[{{{w5}}}_(type)|<span style="color: #FFFFFF;">{{{w5}}}</span>]]</div>}} |
| − | {{#if: {{{w6|}}} | < | + | {{#if: {{{w6|}}} | <div style="color: #FFFFFF; width: 55px; float: left; text-align: center; background: #{{{{{w6}}}_color}}; border-radius: 15px; border: 3px #{{{{{w6}}}_color_dark}} solid; margin-top: 5px; margin-bottom: 5px;">[[{{{w6}}}_(type)|<span style="color: #FFFFFF;">{{{w6}}}</span>]]</div></div>}} |
</td> | </td> | ||
<td width="25%" rowspan="6" style="border: #{{{{{1}}}_color}} 2px solid; border-radius:1px 1px 15px 1px; text-align: left;"> | <td width="25%" rowspan="6" style="border: #{{{{{1}}}_color}} 2px solid; border-radius:1px 1px 15px 1px; text-align: left;"> | ||
| − | {{#if: {{{i|}}} | < | + | {{#if: {{{i|}}} | <div style="color: #FFFFFF; width: 55px; float: center; text-align: center; font-weight: bold; background: #{{{{{i}}}_color}}; border-radius: 15px; border: 3px #{{{{{i}}}_color_dark}} solid; margin-top: 5px; margin-right: 5px; margin-left: 9px; margin-bottom: 5px;">[[{{{i}}}_(type)|<span style="color: #FFFFFF;">{{{i}}}</span>]]</div>}} |
| + | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
</includeonly> | </includeonly> | ||