Difference between revisions of "Template:TypesOffense"

From Pokemon World Online Wiki
Jump to: navigation, search
m
m
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
 
<tr style="background: #{{{{{1}}}_color_light}};">
 
<tr style="background: #{{{{{1}}}_color_light}};">
 
<td valign="top" width="25%" rowspan="6" style="border: #{{{{{1}}}_color}} 2px solid; border-radius: 1px 1px 1px 15px; text-align: left;">
 
<td valign="top" width="25%" rowspan="6" style="border: #{{{{{1}}}_color}} 2px solid; border-radius: 1px 1px 1px 15px; text-align: left;">
{{#ifeq: {{{s1|}}} | {{{s1|-}}} | <div style="color: #FFFFFF; width: 55px; text-align: center; 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: 9px; margin-bottom: 5px;">[[{{{s1}}}_(type)|<span style="color: #FFFFFF;">{{{s1}}}</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: {{{s1|}}} | {{{s1|-}}} | <div style="color: #FFFFFF; width: 55px; text-align: center; 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: {{#if: {{{s2|}}} | 9px | 40px}}; margin-bottom: 5px;">[[{{{s1}}}_(type)|<span style="color: #FFFFFF;">{{{s1}}}</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: 41px; margin-bottom: 5px;">None</div>}}
 
{{#if: {{{s2|}}} | <div style="color: #FFFFFF; width: 55px; float: left; text-align: center; font-weight: bold; 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: {{{s2|}}} | <div style="color: #FFFFFF; width: 55px; float: left; text-align: center; font-weight: bold; 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>}}
Line 34: Line 34:
 
</td>
 
</td>
 
<td valign="top" width="25%" rowspan="6" style="border: #{{{{{1}}}_color}} 2px solid; border-radius:1px; text-align: left;">
 
<td valign="top" width="25%" rowspan="6" style="border: #{{{{{1}}}_color}} 2px solid; border-radius:1px; text-align: left;">
{{#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: {{{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: {{#if: {{{w2|}}} | 9px | 40px}}; margin-bottom: 5px;">[[{{{w1}}}_(type)|<span style="color: #FFFFFF;">{{{w1}}}</span>]]</div>}}
 
{{#if: {{{w2|}}} | <div style="color: #FFFFFF; width: 55px; float: left; text-align: center; font-weight: bold; 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>}}
 
{{#if: {{{w2|}}} | <div style="color: #FFFFFF; width: 55px; float: left; text-align: center; font-weight: bold; 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>}}
 
{{#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-right: 5px; margin-left: 9px; margin-bottom: 5px;">[[{{{w3}}}_(type)|<span style="color: #FFFFFF;">{{{w3}}}</span>]]</div>}}
 
{{#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-right: 5px; margin-left: 9px; margin-bottom: 5px;">[[{{{w3}}}_(type)|<span style="color: #FFFFFF;">{{{w3}}}</span>]]</div>}}

Latest revision as of 02:11, 14 June 2014