User:Pandamonia/Template:ptype2: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>==Code:==</noinclude>
{{#switch: {{{1|}}}  
{{#switch: {{{1|}}}  
  | 347
  | 347
Line 237: Line 236:
  | 400 = water
  | 400 = water


  | default = none
  | default = none}}<noinclude>
 
==Usage:==
| <strong style<nowiki>=</nowiki>'color:red;'>ERROR - [[User:Pandamonia/Template:ptype2|This template]] requires a proper parameter</strong>
}}
<noinclude>==Usage:==
<pre>{{ptype2|XXX}}</pre>
<pre>{{ptype2|XXX}}</pre>
Use this template to get the second type of every Pokémon. Wormadam is considered as its grass form, {{typecolor2|Bug}}/{{typecolor2|Grass}}.</noinclude>
Use this template to get the second type of every Pokémon. {{p|Arceus}} is considered {{typecolor2|Normal}} and {{p|Wormadam}} is displayed as its grass form, {{typecolor2|Bug}}/{{typecolor2|Grass}}.</noinclude>

Revision as of 23:41, 20 April 2009

Usage:

{{ptype2|XXX}}

Use this template to get the second type of every Pokémon. Arceus is considered  Normal-type  and Wormadam is displayed as its grass form,  Bug-type / Grass-type .