Difference between revisions of "Template:TypesOffense"

From Pokemon World Online Wiki
Jump to: navigation, search
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: 10px; 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>]]</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: 10px; 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-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: 10px;">[[{{{s5}}}_(type)|<span style="color: #FFFFFF;">{{{s5}}}</span>]]</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: 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; font-weight: text-align: left; bold; background: #{{{{{w1}}}_color}}; border-radius: 15px; border: #{{{{{w1}}}_color_dark}} 2px solid; margin-right: 5px; margin-bottom: 2px;">&nbsp;&nbsp;[[{{{w1}}}_(type)|<span style="color: #FFFFFF;">{{{w1}}}</span>]]&nbsp;&nbsp;</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: 9px; margin-bottom: 5px;">[[{{{w1}}}_(type)|<span style="color: #FFFFFF;">{{{w1}}}</span>]]</div>}}
{{#if: {{{w2|}}} | <div style="color: #FFFFFF; font-weight: bold; line-height: 3; background: #{{{{{w2}}}_color}}; border-radius: 15px; border: #{{{{{w2}}}_color_dark}} 2px solid;">&nbsp;&nbsp;[[{{{w2}}}_(type)|<span style="color: #FFFFFF;">{{{w2}}}</span>]]&nbsp;&nbsp;</div>}}
+
{{#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}} 2px solid;">&nbsp;&nbsp;[[{{{w3}}}_(type)|<span style="color: #FFFFFF;">{{{w3}}}</span>]]&nbsp;&nbsp;</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-top: 5px; margin-right: 5px; margin-left: 9px; margin-bottom: 5px;">[[{{{w3}}}_(type)|<span style="color: #FFFFFF;">{{{w3}}}</span>]]</div>}}
{{#if: {{{w4|}}} | <span style="color: #FFFFFF; font-weight: bold; line-height: 3; background: #{{{{{w4}}}_color}}; border-radius: 15px; border: #{{{{{w4}}}_color_dark}} 2px solid;">&nbsp;&nbsp;[[{{{w4}}}_(type)|<span style="color: #FFFFFF;">{{{w4}}}</span>]]&nbsp;&nbsp;</span>}}
+
{{#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|}}} | <span style="color: #FFFFFF; font-weight: bold; background: #{{{{{w5}}}_color}}; border-radius: 15px; border: #{{{{{w5}}}_color_dark}} 2px solid;">&nbsp;&nbsp;[[{{{w5}}}_(type)|<span style="color: #FFFFFF;">{{{w5}}}</span>]]&nbsp;&nbsp;</span>}}
+
{{#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|}}} | <span style="color: #FFFFFF; font-weight: bold; background: #{{{{{w6}}}_color}}; border-radius: 15px; border: #{{{{{w6}}}_color_dark}} 2px solid;">&nbsp;&nbsp;[[{{{w6}}}_(type)|<span style="color: #FFFFFF;">{{{w6}}}</span>]]&nbsp;&nbsp;</span>}}
+
{{#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|}}} | <span style="color: #FFFFFF; font-weight: text-align: left; bold; background: #{{{{{i}}}_color}}; border-radius: 15px; border: #{{{{{i}}}_color_dark}} 2px solid; margin-right: 5px; margin-bottom: 2px;">&nbsp;&nbsp;[[{{{i}}}_(type)|<span style="color: #FFFFFF;">{{{i}}}</span>]]&nbsp;&nbsp;</span>}}</td>
+
{{#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>

Revision as of 08:09, 5 June 2014