Template:TypeEffectiveness: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m Text replacement - "https://wiki.pokemonrevolution.net/index.php?title=Special:GetData/" to "http://wiki.pokemonrevolution.net/index.php?title=Special:GetData/" |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{Trichrome|Color={{{Color|{{#var:primaryType}}}}}}} | ||
{{#arraydefine:weaknesses|{{{Weaknesses|}}}}} | {{#arraydefine:weaknesses|{{{Weaknesses|}}}}} | ||
{{#arraydefine:weaknessmagnitudes|{{{WeaknessMagnitudes|}}}}} | {{#arraydefine:weaknessmagnitudes|{{{WeaknessMagnitudes|}}}}} | ||
Line 6: | Line 6: | ||
{{#arraydefine:resistances|{{{Resistances|}}}}} | {{#arraydefine:resistances|{{{Resistances|}}}}} | ||
{{#arraydefine:immunities|{{{Immunities|}}}}} | {{#arraydefine:immunities|{{{Immunities|}}}}} | ||
{{#get_web_data:url=http:// | {{#get_web_data:url=http://wiki.pokemonrevolution.net/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Name={{PAGENAME}}|data=type=Type 1,type2=Type 2}} | ||
<table cellpadding="4" cellspacing="4" style="border: | <table cellpadding="4" cellspacing="4" style="border: {{#var:background}} 3px solid; width: 66%; max-width: 80%; border-radius: 25px; background: {{#var:border}}; margin-top: 5px; margin-bottom: 5px; margin-left: 3px;"> | ||
<tr style="font-size:13px;"><td colspan="4"><p style="font-size: 11px; font-weight: bold; margin-left: 10px;">Under normal battle conditions, this Pokémon is:</p></td></tr> | <tr style="font-size:13px;"><td colspan="4"><p style="font-size: 11px; font-weight: bold; margin-left: 10px;">Under normal battle conditions, this Pokémon is:</p></td></tr> | ||
<tr style="background: | <tr style="background: {{#var:cell}}; text-align: center; font-size: 14;"> | ||
<th scope="col" width="25%" style="border-radius: | <th scope="col" width="25%" style="border-top-left-radius: 25px; border: {{#var:background}} 1px solid; line-height: 1.7;"><span style="font-size: 13; border-radius: 40px; border: {{#var:border}} 1px solid; background: #FFFFFF; width: 20px; padding: 3px;"> 2× </span> Weak to</th> | ||
<th scope="col" width="25%" style="border: | <th scope="col" width="25%" style="border: {{#var:background}} 1px solid;"><span style="font-size: 13; border-radius: 40px; border: {{#var:border}} 1px solid; background: #FFFFFF; width: 20px; padding: 3px;"> 1× </span> Neutral to</th> | ||
<th width="25%" scope="col" style="border: | <th width="25%" scope="col" style="border: {{#var:background}} 1px solid;"><span style="font-size: 13; border-radius: 40px; border: {{#var:border}} 1px solid; background: #FFFFFF; width: 20px; padding: 3px;"> ½× </span> Resistant to</th> | ||
<th width="35%" style="border-radius: | <th width="35%" style="border-top-right-radius: 25px; border: {{#var:background}} 1px solid;"><span style="font-size: 13; border-radius: 40px; border: #{{#var:border}} 1px solid; background: #FFFFFF; width: 20px; padding: 3px;"> 0× </span> Immune to</th> | ||
</tr> | </tr> | ||
<tr style="background: | <tr style="background: {{#var:cell}}; color: {{#var:border}};"> | ||
<td valign="top" width="25%" style="border: | <td valign="top" width="25%" style="border: {{#var:background}} 1px solid; border-bottom-left-radius: 25px; text-align: left;"> | ||
<table style="text-align: center;"> | <table style="text-align: center;"> | ||
{{#if:{{{Weaknesses|}}}| | {{#if:{{{Weaknesses|}}}| | ||
Line 29: | Line 29: | ||
| | | | ||
<td colspan="2"> | <td colspan="2"> | ||
<div style="color: #FFFFFF; width: 60px; text-align: center; font-weight: bold; background: #000000; border-radius: | <div style="color: #FFFFFF; width: 60px; text-align: center; font-weight: bold; background: #000000; border-radius: 25px; border: 3px #000000; padding: 2px;">None</div> | ||
</td> | </td> | ||
}} | }} | ||
</table> | </table> | ||
</td> | </td> | ||
<td valign="top" width="25%" style="border: | <td valign="top" width="25%" style="border: {{#var:background}} 1px solid; border-radius:1px; text-align: left;"> | ||
<table style="text-align: center;"> | <table style="text-align: center;"> | ||
{{#if:{{{Neutralities|}}}| | {{#if:{{{Neutralities|}}}| | ||
Line 47: | Line 47: | ||
| | | | ||
<td colspan="2"> | <td colspan="2"> | ||
<div style="color: #FFFFFF; width: 60px; text-align: center; font-weight: bold; background: #000000; border-radius: | <div style="color: #FFFFFF; width: 60px; text-align: center; font-weight: bold; background: #000000; border-radius: 25px; border: 3px #000000; padding: 2px;">None</div> | ||
</td> | </td> | ||
}} | }} | ||
</table> | </table> | ||
</td> | </td> | ||
<td valign="top" width="25%" style="border: | <td valign="top" width="25%" style="border: {{#var:background}} 1px solid; text-align: left;"> | ||
<table style="text-align: center;"> | <table style="text-align: center;"> | ||
{{#if:{{{Resistances|}}}| | {{#if:{{{Resistances|}}}| | ||
Line 65: | Line 65: | ||
| | | | ||
<td colspan="2"> | <td colspan="2"> | ||
<div style="color: #FFFFFF; width: 60px; text-align: center; font-weight: bold; background: #000000; border-radius: | <div style="color: #FFFFFF; width: 60px; text-align: center; font-weight: bold; background: #000000; border-radius: 25px; border: 3px #000000; padding: 2px;">None</div> | ||
</td> | </td> | ||
}} | }} | ||
</table> | </table> | ||
</td> | </td> | ||
<td valign="top" width="25%" style="border: | <td valign="top" width="25%" style="border: {{#var:background}} 1px solid; border-bottom-right-radius: 25px; text-align: left;"> | ||
<table style="text-align: center;"> | <table style="text-align: center;"> | ||
{{#if:{{{Immunities|}}}| | {{#if:{{{Immunities|}}}| | ||
Line 83: | Line 83: | ||
| | | | ||
<td colspan="2"> | <td colspan="2"> | ||
<div style="color: #FFFFFF; width: 60px; text-align: center; font-weight: bold; background: #000000; border-radius: | <div style="color: #FFFFFF; width: 60px; text-align: center; font-weight: bold; background: #000000; border-radius: 25px; border: 3px #000000; padding: 2px;">None</div> | ||
</td> | </td> | ||
}} | }} |