Difference between revisions of "Template:TypesDefense"
From Pokemon World Online Wiki
m |
m |
||
| Line 46: | Line 46: | ||
</td> | </td> | ||
<td valign="top" width="25%" rowspan="6" style="border: #{{{{{1}}}_color}} 2px solid; border-radius:1px 1px 15px 1px; text-align: left;"> | <td valign="top" width="25%" rowspan="6" style="border: #{{{{{1}}}_color}} 2px solid; border-radius:1px 1px 15px 1px; text-align: left;"> | ||
| − | {{#ifeq: {{{i1|}}} | {{{i1|-}}} | <div style="color: #FFFFFF; width: 55px; text-align: center; float: left; font-weight: bold; background: #{{{{{i1}}}_color}}; border-radius: 15px; border: 3px #{{{{{i1}}}_color_dark}} solid; margin-top: 5px; margin-right: 5px; margin-left: 40px; margin-bottom: 5px;">[[{{{i1}}}_(type)|<span style="color: #FFFFFF;">{{{i1}}}</span>]]</div> | <div style="color: #FFFFFF; width: 55px; text-align: center; font-weight: bold; background: #000000; border-radius: 15px; border: 3px #000000; margin-top: 5px; margin-right: 5px; margin-left: 40px; margin-bottom: 5px;">None</div>}} | + | {{#ifeq: {{{i1|}}} | {{{i1|-}}} | <div style="color: #FFFFFF; width: 55px; text-align: center; float: left; font-weight: bold; background: #{{{{{i1}}}_color}}; border-radius: 15px; border: 3px #{{{{{i1}}}_color_dark}} solid; margin-top: 5px; margin-right: 5px; {{#if: {{{i2|}}} | margin-left: 9px | margin-left: 40px}}; margin-bottom: 5px;">[[{{{i1}}}_(type)|<span style="color: #FFFFFF;">{{{i1}}}</span>]]</div> | <div style="color: #FFFFFF; width: 55px; text-align: center; font-weight: bold; background: #000000; border-radius: 15px; border: 3px #000000; margin-top: 5px; margin-right: 5px; margin-left: 40px; margin-bottom: 5px;">None</div>}} |
| − | {{#if: {{{i2|}}} | <div style="color: #FFFFFF; width: 55px; text-align: center; float: left; font-weight: bold; background: #{{{{{i2}}}_color}}; border-radius: 15px; border: 3px #{{{{{i2}}}_color_dark}} solid; margin-top: 5px; margin-right: 5px | + | {{#if: {{{i2|}}} | <div style="color: #FFFFFF; width: 55px; text-align: center; float: left; font-weight: bold; background: #{{{{{i2}}}_color}}; border-radius: 15px; border: 3px #{{{{{i2}}}_color_dark}} solid; margin-top: 5px; margin-right: 5px; margin-bottom: 5px;">[[{{{i2}}}_(type)|<span style="color: #FFFFFF;">{{{i2}}}</span>]]</div>}} |
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
</includeonly> | </includeonly> | ||