Difference between revisions of "Template:PkType"
From Pokemon World Online Wiki
m |
|||
| Line 2: | Line 2: | ||
<center><table style="text-align:center; border: #{{{{{1}}}_color_dark}} 3px solid; border-radius: 15px 15px 15px 15px; background: #{{{{{1}}}_color_light}};" class="sortable" width="45%" cellspacing="3" cellpadding="5"> | <center><table style="text-align:center; border: #{{{{{1}}}_color_dark}} 3px solid; border-radius: 15px 15px 15px 15px; background: #{{{{{1}}}_color_light}};" class="sortable" width="45%" cellspacing="3" cellpadding="5"> | ||
<tr><th scope="col" width="5%">#</th><th scope="col" colspan="2" width="17%">Pokémon</th><th scope="col" width="10%">Type 1</th><th scope="col" width="10%">Type 2</th></tr> | <tr><th scope="col" width="5%">#</th><th scope="col" colspan="2" width="17%">Pokémon</th><th scope="col" width="10%">Type 1</th><th scope="col" width="10%">Type 2</th></tr> | ||
| − | + | {{#ifeq: {{{type1}}} | {{ucfirst:{{{1}}}}} | {{#for_external_table: | |
| − | {{#ifeq: {{{type1}}} | {{ucfirst:{{{1}}}}} | | + | |
<tr style="background: #FFFFFF;"> | <tr style="background: #FFFFFF;"> | ||
<td width="7%">{{{pdex}}}</td> | <td width="7%">{{{pdex}}}</td> | ||
| Line 10: | Line 9: | ||
<td style="background: #{{ {{{type1}}}_color}}; color: #000000;">[[{{{type1}}}_(type)|<span style="color:#FFFFFF;">{{{type1}}}</span>]]</td> | <td style="background: #{{ {{{type1}}}_color}}; color: #000000;">[[{{{type1}}}_(type)|<span style="color:#FFFFFF;">{{{type1}}}</span>]]</td> | ||
<td {{#ifeq: {{{type2}}} | N/A |> N/A </td> | style="background: #{{ {{{type1}}}_color}}; color: #000000;">[[{{{type2}}}_(type)|<span style="color:#FFFFFF;">{{{type2}}}</span>]]</td></tr> | | <td {{#ifeq: {{{type2}}} | N/A |> N/A </td> | style="background: #{{ {{{type1}}}_color}}; color: #000000;">[[{{{type2}}}_(type)|<span style="color:#FFFFFF;">{{{type2}}}</span>]]</td></tr> | | ||
| − | }}}} | + | {{#ifeq: {{{type2}}} | {{ucfirst:{{{1}}}}} | |
| + | <tr style="background: #FFFFFF;"> | ||
| + | <td>{{{pdex}}}</td> | ||
| + | <td>[[File:{{{pdex}}}small.png]]</td> | ||
| + | <td>{{#ifeq: {{{obtainability}}} | N | '''[[{{{name}}}]]''' | [[{{{name}}}]]}}</td> | ||
| + | <td style="background: #{{ {{{type1}}}_color}}; color: #000000;">[[{{{type1}}}_(type)|<span style="color:#FFFFFF;">{{{type1}}}</span>]]</td> | ||
| + | <td style="background: #{{ {{{type2}}}_color}}; color: #000000;">[[{{{type2}}}_(type)|<span style="color:#FFFFFF;">{{{type2}}}</span>]]</td> | ||
| + | </tr>}}}}}} | ||
}} | }} | ||
<tr><td colspan="4" style="text-align: center; line-height: 16px; margin-bottom: 3px; margin-top: 3px;"><small><b>Emboldened</b> Pokémon are currently not obtainable by any means within PWO.</td></small></tr> | <tr><td colspan="4" style="text-align: center; line-height: 16px; margin-bottom: 3px; margin-top: 3px;"><small><b>Emboldened</b> Pokémon are currently not obtainable by any means within PWO.</td></small></tr> | ||
</table></center> | </table></center> | ||
</includeonly> | </includeonly> | ||