Difference between revisions of "Template:TypesOffense"
From Pokemon World Online Wiki
m (Making some finalizing tweaks...) |
m |
||
| Line 11: | Line 11: | ||
<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: 9px; margin-bottom: 5px;">[[{{{s1}}}_(type)|<span style="color: #FFFFFF;">{{{s1}}}</span>]]</div>}} | {{#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>]] | + | {{#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>}} |
{{#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-right: 5px; margin-left: 9px; margin-bottom: 5px;">[[{{{s3}}}_(type)|<span style="color: #FFFFFF;">{{{s3}}}</span>]]</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-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-bottom: 5px;">[[{{{s4}}}_(type)|<span style="color: #FFFFFF;">{{{s4}}}</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-bottom: 5px;">[[{{{s4}}}_(type)|<span style="color: #FFFFFF;">{{{s4}}}</span>]]</div>}} | ||
| Line 40: | Line 40: | ||
</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;"> | ||
| − | {{# | + | {{#ifeq: {{{i|}}} | {{{i|-}}} | <div style="color: #FFFFFF; width: 55px; text-align: center; font-weight: bold; background: #{{{{{i}}}_color}}; border-radius: 15px; border: 3px #{{{{{i}}}_color_dark}} solid; margin-top: 2px; margin-right: 5px; margin-left: 40px; margin-bottom: 5px;">[[{{{i}}}_(type)|<span style="color: #FFFFFF;">{{{i}}}</span>]]</div> | <div style="color: #FFFFFF; width: 55px; text-align: center; font-weight: bold; background: #000000; border-radius: 15px; border: 3px #000000; margin-top: 2px; margin-right: 5px; margin-left: 40px; margin-bottom: 5px;">None</div>}} |
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
</includeonly> | </includeonly> | ||